悄悄潜伏副图/选股预警 源码 通达信 贴图
M5F:=MA(C,4);
M10F:=MA(C,8),COLORRED,LINETHICK2;
M20F:=MA(C,20);
M60F:=MA(C,60),COLORBLUE,LINETHICK2;
D3:=MIN(MIN(M5F,M10F),M20F) M60F;
LLM:=LLV( MACD.MACD *100,200);
HHM:=HHV( MACD.MACD *100,200);
TJA:=C REF(C,1)*1.05;
T:=BARSLAST(C REF(C,1)*1.095 AND C=H);
T2L:=BARSLAST(C REF(C,1)*1.095 AND C REF(C,1)*1.08);
T3L:=BARSLAST(C REF(C,1)*1.08 AND C REF(C,1)*1.07);
T4L:=BARSLAST(C REF(C,1)*1.07 AND C REF(C,1)*1.06);
T5L:=BARSLAST(C REF(C,1)*1.06 AND C REF(C,1)*1.05);
AAF1:=REF(T,1) 100 AND REF(T2L,1) 100 AND REF(T3L,1) 100 AND REF(T4L,1) 100 AND REF(T5L,1) 80 AND TJA;
XGT:=BARSLAST(AAF1 AND HHM 60 AND LLM -55);
D6:=BARSSINCEN(MIN(MIN(M5F,M10F),M20F) M60F,XGT+1);
XGX:=CROSS((XGT=0 AND D3) OR D6=0,0.5);
TJJ:=COUNT(XGX,30)=2 AND XGX;
SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=REF(SR2,10+1);
HDF:=REF(SR3,10);
前高:=REF(H,BARSLAST(HDF));
倍量:=VOL/REF(VOL,1) =1.9;
突破前高:=CROSS(C,前高);
YG:= 倍量 AND 突破前高;
低2:=IF(CURRBARSCOUNT =60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL);
SJ:=BARSLAST(YG);
DIF:=MACD.DIF;
H300:=HHVBARS(DIF,300);
AL:=BOLL.UB;
TQ:=BARSLAST(CROSS(AL =REF(AL,1),0.5));
E25:=EXPMA(C,25);
ZF:=EVERY(RANGE(C/REF(C,1),0.97,1.05),TQ+1);
ZFF:=(HHV(H,TQ+1)-LLV(L,TQ+1))/LLV(L,TQ+1)*100;
TJQ:=EVERY(MAX(C,O)/AL 1.02 ,TQ+1);
XL:=(ATAN((E25/REF(E25,TQ)-1)*100)*180/3.1415926);
TJ1Q:=CROSS(DIF =REF(DIF,H300),0.5) AND ZFF 17 AND ZF AND TJQ;
躁动:=TJ1Q AND XL
选股1:=CROSS(AAF1,9.8);
A11F:=REF(V,1);
VAR81:=IF(VOL/CAPITAL 0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))))
A13F:=VAR81/A11F;
AA3F:=(A13F-REF(A13F,1));
选股2:=CROSS(AA3F,500);
潜伏2:=选股1 AND 选股2;
GX:=潜伏2 OR 躁动 OR CURRBARSCOUNT=CONST(SJ)+2 OR TJJ OR (CCI =100 AND L =低2);
潜伏:FILTER(GX=1,3);