通达信潜龙飞天主图源码
VAR1:=SMA(AMOUNT/V*100,10,1)/10000;
VAR2:=REF(VAR1,1);
资金运转: STICKLINE(VAR1>VAR2,VAR1,VAR2,3,0),COLORRED;
资金流失: STICKLINE(VAR1< VAR2,VAR1,VAR2,3,0),COLORGREEN;
起跑线: MA(VAR1,5);
警戒线: MA(VAR1,10),COLORYELLOW;
分界线: MA(VAR1,30),COLORCYAN;
DRAWTEXT(CROSS(警戒线,VAR1),警戒线*1.2,'警'),COLORWHITE;
DRAWTEXT(CROSS(分界线,VAR1),分界线*1.2,'走');
641211219.jpg
|