一个短线出击选股指标
{源码}
RSV:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=(3*K-2*D);
D2:=SMA(J,3,1)*0.82;
VAR2:=(C-MA(C,6))/MA(C,6)*100;
VAR3:=(C-MA(C,12))/MA(C,12)*100;
VAR4:=(C-MA(C,24))/MA(C,24)*100;
VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
线:=MA(VAR5,3);
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((C- LC),0),5,1) / SMA(ABS((C-LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((H- LOW),ABS((H-REF(C,1)))),ABS((L- REF(C,1)))),10);
HD:=(H-REF(H,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD>0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD>0) AND (LD > HD)),LD,0),10);
PDI:=((DMP*100)/TR1);
MDI:=((DMM*100)/TR1);
ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI)) * 100),5);
AV:=(RSI5 + ADX);
WR10:=((100 *(HHV(H,10)-C)) / (HHV(H,10) - LLV(L,10)));
NEW:=(RSI5 - WR10);
回调:=(AV + NEW);
gg:=CROSS(回调,0);
KTB:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
DTB:=SMA(KTB,3,1);
JTB:=3*KTB-2*DTB;
出击:=CROSS(CLOSE,REF(EMA(DMA((((HIGH+LOW)+(CLOSE*2))/4.15),0.9),3),1))AND JTB<55;
狙击:CROSS(J,0) AND 线<=-7 and gg and 出击,COLORYELLOW;