通达信公式恭祝发财
Var1:=SMA(AMOUNT,10,1)/10000;
Var2:=REF(Var1,1);
Var3:=SMA(AMOUNT,10,1)/10000;
资金运转: STICKLINE(Var1 Var2,Var1,Var2,8,0),COLORRED;
资金流失: STICKLINE(Var1 Var2,Var1,Var2,8,0),COLORGREEN;
起跑线: MA(Var1,5);
警戒线: MA(Var1,10),COLORYELLOW;
生死线: MA(Var1,30),COLORCYAN;
DRAWTEXT(CROSS(警戒线,Var3),警戒线*1.2, 警 ),COLORWHITE;
DRAWTEXT(CROSS(生死线,Var3),生死线*1.2, 死 ),;