源码
N:=20;
N1:=7;
N2:=69;
T1:=IF((DATE<=9990314),1,0);
M3:=EMA(CLOSE,3);
M8:=EMA(CLOSE,8),COLOR008000;
M13:=EMA(M8,13),COLOR0000FF;
M62:=EMA(M8,55),COLORF0F000;
VAR1:=EMA(M13,62);
M81:=EMA(M62,81),COLOR00FFFF;
M144:=EMA(VAR1,144),LINETHICK2,COLOR0000FF;
M250:=EMA(VAR1,250),POINTDOT,LINETHICK2,COLORF00FF0;
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,10))*(T1);
VAR4:=(REF(VAR3,1))*(T1);
AA:=DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'IN'),COLOR00FFFF;
买入:IF(AA,1,0);