小牛A买卖决策成功率跑赢50.08%指标成功率
源码
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,'终');