主升浪
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
M3:=MA(C,3);
M10:=MA(C,10);
M55:=MA(C,55);
M89:=MA(C,89);
STICKLINE(M55>REF(M55,1),10,12,0.4,0)COLORYELLOW;
STICKLINE(M89>REF(M89,1),12,14,0.4,0)COLORRED;
RSV:=(CLOSE-LLV(LOW,196))/(HHV(HIGH,196)-LLV(LOW,196))*100;
快線:SMA(RSV,30,1);
慢線:SMA(快線,15,1);
RSV1:=(CLOSE-LLV(LOW,23))/(HHV(HIGH,23)-LLV(LOW,23))*100;
參照快線:SMA(RSV1,6,1);
參照慢線:SMA(參照快線,3,1);
AA:快線,COLORBLUE,LINETHICK1;
AA升:IF(AA>REF(AA,1),AA,DRAWNULL),COLORLIMAGENTA,LINETHICK1;
AA降:IF(AA<REF(AA,1),AA,DRAWNULL),COLORGREEN,LINETHICK1;
AA強(qiáng)勢:IF(快線>慢線 AND MACD>0 AND DIF>0,AA,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(CROSS(快線,慢線),快線,15);
STICKLINE(CROSS(參照快線,參照慢線) AND 快線>=REF(快線,1) AND M55>=REF(M55,1) AND 參照快線<76 AND ABS(MA(C,5)-MA(C,10))<0.3,快線,快線+15,0.5.9,0)COLORRED;
90;
80;
50;
10;