以下是通达信抓连板妖股副图/预警源码和截图
通达信抓连板妖股副图/选股预警源码:
重心:=((H+l)/2*0.191+(C+(0.618*O+0.382*ref(C,1)))/2*0.809);
相对高:=(0.382*重心+0.618*H);
相对低:=(0.382*重心+0.618*L);
相对中:=(相对高+相对低)/2;
折价:=(0.618*相对中+0.382*c);
fX:=ma(相对中,3)+MA((折价-相对中),3);
Cbs:=ema(((COst(99)+COST(79))/2+COST(89))/2,13);
CB:=EMA((((COST(80.9)+COST(19.1))/2+(COST(61.8)+COST(38.2))/2)/2+COST(50))/2,13);
cbx:=EMA(((COST(6)+COST(16))/2+COST(11))/2,13);
cbgj:=((cb/cbx-1)+(cb/cbS-1))*100;
cbqj:=(FX-cb)/(CBs-CBx)*(100);
穿越:cross(cbqj,cbgj);
X_1:=1;
X_2:=LLV(LOW,8);
X_3:=HHV(HIGH,8);
X_4:=(X_3-X_2)/10;
X_5:=SMA((CLOSE-X_2)/X_4,20,1);
X_6:=3*X_5-2*SMA(X_5,15,1);
X_7:=(10-X_6)*X_1*6;
X_8:=EMA(WINNER(CLOSE)*70,3);
X_9:=10*WINNER(CLOSE*0.9)*8;
X_10:=EMA(X_9,10);
X_11:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*10;
X_12:=EMA(CLOSE,6);
X_13:=(X_12-REF(X_12,1))/REF(X_12,1)*100;
X_14:=EMA(CLOSE,12);
X_15:=(X_14-REF(X_14,1))/REF(X_14,1)*100;
X_16:=CROSS(X_9,X_7);
X_17:=X_8 40ANDX_7
X_18:=X_13/X_15 1.48;
X_19:=X_9-REF(X_9,1) 10.5;
X_20:=X_16ANDX_17ANDX_18ANDX_19;
X_21:=EMA(CLOSE,3);
X_22:=MA(LLV(CLOSE,9)*1.1,14);
X_23:=MA(HHV(CLOSE,26)*0.9,14);
X_24:=(X_22+X_23)/2;
抓妖股:CROSS(X_21,X_24)ANDX_20;
M:=30;
N:=15;
A1:=((MA(C,60)-L)/MA(C,20))*200;
B1:=((MA(C,60)-L)/MA(C,60))*200;
C1:=((MA(C,30)-L)/MA(C,60))*200;
M1:=REF(CLOSE,1);
M2:=SMA(MAX(CLOSE-M1,0),7,1)/SMA(ABS(CLOSE-M1),7,1)*100;
G1:=FILTER(REF(M2,1) 20ANDM2 REF(M2,1),5);
TU:=C/MA(C,40) 0.74;
PER1:=5;
MMA:=EMA(C,PER1);
SMMA:=EMA(MMA,PER1);
IMPETMMA:=MMA-REF(MMA,1);
IMPETSMMA:=SMMA-REF(SMMA,1);
DIVMA:=ABS(MMA-SMMA);
TDJ:=(H-L)/REF(C,1) 0.05;
AVERIMPET:=(IMPETMMA+IMPETSMMA)/2;
TDF:=POW(DIVMA,1)*POW(AVERIMPET,3);
NTDF:=TDF/HHV(ABS(TDF),PER1*3);
YUL:=COUNT(TDJ,5)
启动:=TUANDTDJANDYUL;
确定:=CROSS(NTDF,-0.9);
:=FILTER((G1ANDC1 20ORC REF(C,1))ANDREF(启动,1),10);
选股:=FILTER(REF(启动,1)AND(确定ORC REF(C,1))ANDMACD.MACD -1.5,10);
{假下:=REF(((HHV(C,N)-LLV(C,N))/LLV(C,N)),2) =(M/100)ANDREF(CLOSE,1) REF(LLV(L,N),2)ANDC REF(LLV(L,N),2)ANDREF(L,2) REF(LLV(L,N),2);}
妖股:COUNT(选股,13) =1AND波段;
通达信抓连板妖股副图/选股预警截图