VAR1:=SMA(AMOUNT,10,1)/10000;
VAR2:=REF(VAR1,1);
VAR3:=SMA(AMOUNT,10,1)/10000;
资金运转: STICKLINE(VAR1>VAR2,VAR1,VAR2,3,0),COLORRED;
{ _通达信指标公式}
资金流失: STICKLINE(VAR1< VAR2,VAR1,VAR2,3,0),COLORGREEN;
起跑线: MA(VAR1,5),COLORFF00FF;
警戒线: MA(VAR1,10),COLORYELLOW;
分界线: MA(VAR1,30),;
DRAWTEXT(crOSS(警戒线,VAR3),警戒线*1.2,'警'),COLORWHITE;
DRAWTEXT(CROSS(分界线,VAR3),分界线*1.2,'走');