预警公式指标最好是上午10点半之前的票,之后就不要使用预警。
预警时间设置成9:25~10:30
去除停牌:=DYNAINFO(4)
去除创业板:=IF(CODELIKE('300') OR CODELIKE('301') ,0,1) ;
去除科创板:=IF(CODELIKE('688'),0,1);
去:=去ST AND 去除停牌 AND 去除创业板 AND 去除科创板;
涨停1:=C/REF(C,1) 1.093 AND C=H;
涨停2:=COUNT(REF(涨停1,1),4)=0;
均价:=(2*C+(C+H+L+O)/4+O)/4;
JJR1:=(2*L+3*均价)/5;
JJR2:=(2*H+3*均价)/5;
JJR3:=ABS(均价-MA((JJR1+JJR2)/2,20))/MA((JJR1+JJR2)/2,20);
JJR4:=DMA(均价,JJR3);{九毛八公式指标网www.9m8.cn}
JJR5:(1+7/100)*JJR4,COLORCYAN;
打首板1:= 去 AND 涨停2 AND CROSS(C,JJR5) AND CROSS(C,EMA(REF(HHV(C,10),1),3)) AND C/REF(C,1) 1.095 AND O/REF(C,1) 1.05 AND C O AND REF(C,1)/REF(C,2) 1.05,COLORCYAN;
打首板2:= 去 AND 涨停2 AND C (LLV(REF(LOW,1),2) + ((HHV(REF(HIGH,1),2) - LLV(REF(LOW,1),2)) / 2)) AND C/REF(C,1) 1.095 AND CROSS(C,EMA(REF(HHV(C,40),1),3)) AND O/REF(C,1) 1.05 AND C O AND REF(C,1)/REF(C,2) 1.05;
超级打首板:=打首板1 OR 打首板2;
STICKLINE(超级打首板,L,H,3.0,0),COLORLIMAGENTA;
STICKLINE(超级打首板,L,H,1.5,0),COLORYELLOW;