{红线飘扬 条件选股预警公式 }
{不追高不被套,刚刚买在启动点 }
五:=5;
十:=10;
上升倾角:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14159>60;
{股票昨天是涨的}
K:=REF(C,1)-REF(O,1);
{5日均线比10日均线高}
KK:=MA(C,5) >MA(C,10) AND MA(C,5)>REF(MA(C,5),1);
{委买大于委卖}
E:=DYNAINFO(23)-DYNAINFO(22);
{昨天成交量比前天多}
F:=REF(V,1)-REF(V,2);
条件:=K AND KK AND E AND F;
A1:=MA(CLOSE,5);
A2:=MA(CLOSE,10);
A3:=MA(CLOSE,20);
A4:=MA(CLOSE,30);
多头排列:=COUNT(A1>A2 AND A2>A3 AND A3>A4,3)=3 ;
SS:=12;
LL:=26;
MM:=200;
SSS:=9;
LLL:=34;
VVV:=1;
SJXZ:=IF(DATE<1981128,1,0);
流通盘:=CAPITAL/1000000<=9.85 ;
股价:=C>=6.30 AND C<24.9;
量比:=DYNAINFO(17)<=9.8 AND DYNAINFO(17)>=2.01;
换手率:=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;
DIF:=EMA(CLOSE,SS)-EMA(CLOSE,LL);
DEA:=EMA(DIF,MM);
A:=(DIF-DEA)*2*SJXZ;
AAA:=IF(A<0,0,A*8{A}),LINETHICK3,,COLORRED;
DIF1:=EMA(CLOSE,SSS)-EMA(CLOSE,LLL);
DEA1:=EMA(DIF1,200);
AA:=(DIF1-DEA1)*2*SJXZ;
BBB:=IF(A<0,0,AA*AA),LINETHICK1,COLORWHITE;
MID:=MA(CLOSE,30);
SSD:=MID+2*STD(CLOSE,30),LINETHICK2,COLOR0055FF;
CROSS(AAA,BBB) OR AAA>=BBB AND CLOSE>OPEN AND C>O AND V>REF(V,2)
AND 流通盘 AND 股价 AND 去掉 AND 条件 AND 多头排列 AND
量比 AND CLOSE>OPEN AND C>O AND 上升倾角/REF(上升倾角,1)>=1.0
AND 换手率>=2.0 AND 换手率<=10.0 AND AAA>=五 AND AAA<十
&& C/REF(C,1)>=1.013 && 趋强 && V/REF(V,1)>=1.0;
4666234.png
|