在线检测未来函数

同花顺小牛A买卖决策指标公式

来源:Internet,编辑:股旁网,2014-04-27

A1:=EMA(C,12)-EMA(C,25);
A2:=EMA(A1,6);
获利回吐:(A2>=0)*A2,colorwhite,LINETHICK0;
空头回补:(A2<0)*A2,COLORD4FF7F,LINETHICK0;
坚决做空:(A1<0)*A1,COLORB00058,LINETHICK0;
买入持股:(A1>=0)*A1,colorred,LINETHICK0;
STICKLINE(A2>=0,A2,0,5,0),colorwhite;
STICKLINE(A2<0,A2,0,5,0),COLORD4FF7F;
STICKLINE(A1<0,A1,0,5,0),COLORB00058;
STICKLINE(A1>=0,A1,0,5,0),colorred;
DRAWTEXT(买入持股>0,0,'始');
DRAWTEXT(坚决做空<0,0,'终');

同花顺小牛A买卖决策指标公式

 

相关文章