VAR1:=MA(CLOSE,1);
VAR2:=MA(CLOSE,3);
VAR3:(MA(VAR2,1)*1);
VAR4:(MA(VAR2,3)*1);
STICKLINE((VAR3>VAR4),VAR3,(VAR4*1),4,0),LINETHICK1,COLORRED;
STICKLINE((VAR3<VAR4),VAR3,(VAR4*1),3,0),LINETHICK1,COLORGREEN;
{ _最新股票指标公式}
crOSS(VAR3,VAR4),VAR3,COLORRED,LINETHICK2;
CROSS(VAR4,VAR3),VAR4,LINETHICK1,COLORGREEN;
DRAWTEXT(CROSS(VAR3,VAR4),(LOW-0.1),'买'),COLORRED;
DRAWTEXT(CROSS(VAR4,VAR3),(HIGH * 1.02),'卖'),COLORGREEN;