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强势: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;