公式用一千个不如用一个
{四线抓涨停 条件选股预警公式 }
{不追高不被套,买在刚刚启动点 }
P:=5; N:=10;
凤:=EMA(((((2 * CLOSE) + HIGH) + LOW) / 4),8);
凰:=EMA(((((2 * CLOSE) + HIGH) + LOW) / 4),21);
A1:=EMA(((((2 * CLOSE) + HIGH) + LOW) / 4),34);
A111:=EMA(((((2 * CLOSE) + HIGH) + LOW) / 4),21);
A2:=EMA(A1,3);
A3:=EMA(A2,3);
A4:=EMA(A3,3);
A5:=EMA(A4,3);
A6:=EMA(A5,3);
A7:=EMA(A6,3);
A8:=EMA(A7,3);
A9:=EMA(A8,3);
A10:=EMA(A9,3);
A11:=EMA(A10,3);
A12:=EMA(A11,3);
A13:=EMA(A12,3);
A14:=EMA(A13,3);
A15:=EMA(A14,3);
趋势线:=IF((A15 >= REF(A15,1)),A15,A15);
起飞线:=EMA(((((2 * CLOSE) + HIGH) + LOW) / 4),120);
A:=REF(HHV(HIGH,240),1);
AQ:=REF(HHV(HIGH,60),1);
HH:=4.8;
HH11:=7.73;
H0:=18.4;
流通盘:=CAPITAL/1000000<=8.85 ;
股价:=C>=6.30 AND C<22.9;
量比:=DYNAINFO(17)<=9.8 AND DYNAINFO(17)>=1.76;
换手率:=V/CAPITAL*100;
倍量:=V/REF(V,1)>=2;
D11:=IF(CODELIKE('300'),0,1);
{创业板 }
D22:=IF(NAMELIKE('S'),0,1);
D33:=IF(NAMELIKE('*'),0,1);
{去掉停牌}
D44:=DYNAINFO(17)>0;
去掉:=D11 AND D22 AND D33 AND D44;
强势:=EMA((1+6/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,24))/MA(C,24)),2);
短趋:=EMA(MA(CLOSE,7),2);
趋势:=EMA(EMA(CLOSE,12),2);
强角:=ATAN((强势/REF(强势,1)-1)*100)*57.3;
短角:=ATAN((短趋/REF(短趋,1)-1)*100)*57.3;
趋角:=ATAN((趋势/REF(趋势,1)-1)*100)*57.3;
角度:=强角+短角+趋角;
涨停:=(C-REF(C,1))/REF(C,1)*100>9.88;
趋强:=((强角+趋角)>120 OR 角度>230 OR REF(COUNT(涨停,3)>=2,1)) AND 强角>60;
四线抓涨停:=CROSS(凤,HH11) OR CROSS(起飞线,趋势线) OR CROSS(凤,凰) OR CROSS(凤,起飞线)
OR CROSS(凤,趋势线) OR CROSS(凰,趋势线) OR CROSS(凰,起飞线);
四线抓涨停 AND 流通盘 AND 股价 AND 去掉 AND
量比 AND CLOSE>OPEN AND C>O AND V>REF(V,4)
AND 换手率>=2.5 AND 换手率<=8.0
&& C/REF(C,1)>=1.013 && 角度>=45 && V/REF(V,1)>=1.3;