{智选异动猎手主图源码如下}
操作线:MA(CLOSE,5)DOTLINE;
生命线:MA(CLOSE,10)LINETHICK1;
去除ST:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*ST'),0,1);
去除大盘股:=CAPITAL/1000000<25;
去除次新股:=FINANCE(42)>120;
科创板:=IF(INBLOCK('科创板'),0,1);
现价:=CLOSE>3 AND CLOSE<100;
J1:=去除ST 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);
XYZ_1:=EMA(DIFF,5)*5;
XYZ_2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
J2:=IF(XYZ_2>0,XYZ_2,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);
ACB:=WINNER(C*ZF)*100;
ACB1:=ACB>75;
J3:=HLX5 AND ACB1;
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;
AAC:=(M5-M10)+(M5-M20)+(M5-M30)+(M5-M60)+(M5-M80)+(M5-M100)+(M5-M120);
J4:=AAC>-1 AND AAC<=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);
XG:=J1+J2+J3+J4+J5+J6+J7+J8+J9+J10;
XGJ:=FILTER(XG>=10,20) AND C>O;
STICKLINE(XGJ,O,C,3,0),COLORRED;
DRAWICON(XGJ,L*1.002,9);
DRAWTEXT(XGJ,L*0.98,' ★异动'),COLORFF00FF;
{智选异动猎手副图源码如下}
去除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);
XYZ_1:=EMA(DIFF,5)*5;
XYZ_2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
J2:=IF(XYZ_2>0,XYZ_2,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);
ACB:=WINNER(C*ZF)*100;
ACB1:=ACB>75;
J3:=HLX5 AND ACB1;
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;
AAC:=(M5-M10)+(M5-M20)+(M5-M30)+(M5-M60)+(M5-M80)+(M5-M100)+(M5-M120);
J4:=AAC>-1 AND AAC<=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);
XG:=J1+J2+J3+J4+J5+J6+J7+J8+J9+J10;
XGJ:=FILTER(XG>=10,20) AND C>O;
STICKLINE(XGJ,0,6,2,0),COLORRED;
DRAWICON(XGJ,6,9);
DRAWICON(XGJ,5,9);
DRAWICON(XGJ,4,9);
DRAWICON(XGJ,3,9);
DRAWICON(XGJ,2,9);
DRAWTEXT(XGJ,5.6,' ★异动'),COLORFF00FF;