MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,21);
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,14);
VAR3:=REF(VAR2,1);
C4:=CROSS(VAR2,VAR3);
C5:=CROSS(VAR3,VAR2);
{DRAWTEXT(C4,LOW-0.1,'买'),COLORRED;
DRAWTEXT(C5,HIGH+0.1,'卖'),COLORGREEN;}
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1) DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1),'小心变盘'),COLORYELLOW; RSI:="RSI.RSI1"; DRAWTEXT(CROSS(83,RSI),H*1,' 注意'),COLORYELLOW; MA1:EMA(CLOSE,5); MA2:=EMA(CLOSE,21); PARTLINE(MA1,MA1>MA2,RGB(255,0,0),MA1 DRAWICON(CROSS(MA1,MA2),MA1,7); DRAWICON(CROSS(MA2,MA1),MA1,8); {DRAWNUMBER(ISLASTBAR AND V>0,MA2,V),COLORMAGENTA;};