抄底备选
下面的源码副图或者选股通用。
BOLL := MA(CLOSE,20);
UPPER := BOLL + (2 * STD(CLOSE,20));
LOWER := BOLL - (2 * STD(CLOSE,20));
WIDTH := (UPPER - LOWER) / BOLL;
MAWIDTH := MA(WIDTH,6);
BB := (CLOSE - LOWER) / (UPPER - LOWER);
MABB := MA(BB,6);
CV := CLOSE;
BBIBOLL := (((MA(CV,3) + MA(CV,6)) + MA(CV,12)) + MA(CV,24)) / 4;
UPR := BBIBOLL + (6 * STD(BBIBOLL,11));
DWN := BBIBOLL - (6 * STD(BBIBOLL,11));
DIF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIF,9);
MACD := (DIF - DEA) * 2;
MA05 := MA(CLOSE,5);
MA10 := MA(CLOSE,10);
MA15 := MA(CLOSE,15);
MA24 := MA(CLOSE,24);
MA30 := MA(CLOSE,30);
MA60 := MA(CLOSE,60);
MA72 := MA(CLOSE,72);
MA120 := MA(CLOSE,120);
VOLUME := VOL;
MAVOL5 := MA(VOLUME,5);
MAVOL10 := MA(VOLUME,10);
MAVOL15 := MA(VOLUME,15);
MAVOL24 := MA(VOLUME,24);
MAVOL30 := MA(VOLUME,30);
MAVOL60 := MA(VOLUME,60);
MAVOL72 := MA(VOLUME,72);
MAVOL120 := MA(VOLUME,120);
LB := DYNAINFO(17);
换手率 := (100 * V) / CAPITAL;
虚拟量 := IF((CURRBARSCOUNT = 1) AND (PERIOD = 5),(VOL * 240) / FROMOPEN,DRAWNULL);
交易时间 := FROMOPEN;
虚换手 := (换手率 * 240) / 交易时间;
虚换比 := 虚换手 / REF(换手率,1);
虚拟额 := (虚拟量 * C) * 100;
ZT := CLOSE >= (REF(CLOSE,1) * 1.09);
一字涨停 := ZT AND (OPEN = CLOSE);
冲ZT := H >= (REF(CLOSE,1) * 1.09);
ZT3 := COUNT(ZT,3);
ZT5 := COUNT(ZT,5);
ZT10 := COUNT(ZT,10);
ZT20 := COUNT(ZT,20);
ZT30 := COUNT(ZT,30);
ZT40 := COUNT(ZT,40);
ZT60 := COUNT(ZT,60);
ZT72 := COUNT(ZT,72);
ZT100 := COUNT(ZT,100);
底分型 := (((REF(LOW,1) <= REF(LOW,2)) AND (REF(HIGH,1) <= REF(HIGH,2))) AND (LOW >= REF(LOW,1))) AND (HIGH >= REF(HIGH,1));
冲涨停创新高 := ((冲ZT AND (H = HHV(H,60))) AND (H >= UPR)) AND (UPR >= HHV(UPR,30));
股本财务 := ((((((((CAPITAL <= 20000000) AND (FINANCE(5) <= 0)) AND (FINANCE(6) <= 0)) AND (NOT(NAMELIKE(1) OR NAMELIKE(2)))) AND (FINANCE(34) >= 1.5)) AND (FINANCE(33) >= -0.1)) AND (NOT(CODELIKE(3) AND (FINANCE(33) <= 0)))) AND (C < 40)) AND ((CLOSE / FINANCE(34)) <= 6);
卷土备选分型 : (((((((((((((((((DATE < 1990930) AND (COUNT(冲涨停创新高,10) >= 1)) AND (MA10 >= REF(MA10,1))) AND (MA30 >= HHV(MA30,30))) AND (MA60 >= HHV(MA60,30))) AND (UPR >= HHV(UPR,30))) AND ((UPR - DWN) >= (C * 0.22))) AND ((COUNT(L <= MA05,2)) >= 1)) AND (DIF > DEA)) AND (DEA >= REF(DEA,1))) AND (L < REF(L,1))) AND (H < REF(H,1))) AND (CAPITAL <= 100000000)) AND (NOT(NAMELIKE(1) OR NAMELIKE(2)))) AND (FINANCE(34) >= 1)) AND (FINANCE(33) >= -0.8)) AND (C < 40)) AND (DYNAINFO(4) > 0);
2022519644115929.png
|