同花顺主升黑马公式
主升黑马。扑捉疯牛股票。出现买入信号,及时追买
源码
A:=CROSS(SMA(CLOSE,2,1),SMA(LOW,5,1));
A1:=(SMA(HIGH,21,2)*1.05)*1.05;
A2:=IF(A,A1,SMA(LOW,5,1));//www.guhai.com.cn
A3:=CROSS(SMA(CLOSE,2,1),(SMA(HIGH,21,2)*1.05));
A4:=IF(A3,(SMA(HIGH,21,2)*1.05)*1.10,(SMA(LOW,21,2)*0.95));
A5:=A2>SMA(LOW,5,1) AND CROSS(C,REF(MA(C,13),13/2+1)) AND VOL>0;
A6:=REF(H/O<1.02,1) AND REF(C<O,1);
主升黑马:=A4>(SMA(LOW,21,2)*0.95) OR A5 AND A6;
DRAWTEXT(主升黑马,22,'---主升黑马'),colorred;
STICKLINE(主升黑马,40,25,1,0),coloryellow;
STICKLINE(主升黑马,25,10,2,0),COLOR00FF00;
STICKLINE(主升黑马,10,0,2,0),colorblue;
STICKLINE(主升黑马,25,15,0.5,0),colorred;
STICKLINE(主升黑马,15,6,1,0),COLOR00FF00;
STICKLINE(主升黑马,6,0,2,0),colorblue;