通達信勢在必行選股指標公式原始碼

指标公式分享發表於2024-03-10
{ 通達信勢在必行選股指標公式原始碼 }

去除ST:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*ST'),0,1);
去除停牌:=DYNAINFO(4)>0;
去除大盤股:=CAPITAL/1000000<25;
去除次新股:=FINANCE(42)>120;
科創板:=IF(INBLOCK('科創板'),0,1);
現價:=CLOSE>3 AND CLOSE<100;
J1:=去除ST AND 去除停牌 AND 去除大盤股 AND 去除次新股 AND 科創板 AND 現價;
J8:=H/REF(L,5)<1.8;
J7:=macd.MacD>=REF(MACD.MACD,1);
REFLINE:=0;
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
J2:=IF(X2>0,X2,0)>0.1;
J10:=J2>=REF(J2,1);
HL:=WINNER(C)*100;
HLX:=HL<60;
HLX5:=EXIST(HLX,8);
ZF:=IF(CODELIKE('30'),1.19,1.09);
HLD:=WINNER(C*ZF)*100;
HLD1:=HLD>75;
J3:=HLX5 AND HLD1;
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
M60:=MA(C,60);
M80:=MA(C,80);
M100:=MA(C,100);
M120:=MA(C,120);
J9:=H>M60;
XH:=(M5-M10)+(M5-M20)+(M5-M30)+(M5-M60)+(M5-M80)+(M5-M100)+(M5-M120);
J4:=XH>-1 AND XH<=6;
SS:=SSRP.SSRP;
J5:=SS>=REF(SS,1);
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
長K:=SMA(RSV1,5,1);
J6:=長K>=REF(長K,1);
JB:=J1+J2+J3+J4+J5+J6+J7+J8+J9+J10;
JBJ:FILTER(JB>=10,20);

相關文章