通达信蓄势突破副图源码指标公式[查股公式]
2022/8/26 9:19:30
BOLL := MA(CLOSE,20);
UPPER := BOLL + (2 * STD(CLOSE,20));
LOWER := BOLL - (2 * STD(CLOSE,20));
WIDTH := (UPPER - LOWER) / BOLL;
MAWIDTH := MA(WIDTH,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));
WIDTH1 := (UPR - DWN) / BBIBOLL;
MAWIDTH1 := MA(WIDTH1,6);
UPPE := (1 + (6 / 100)) * MA(CLOSE,25);
LOWE := (1 - (6 / 100)) * MA(CLOSE,25);
ENE := (UPPE + LOWE) / 2;
RSV := ((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100;
K := SMA(RSV,3,1);
D := SMA(K,3,1);
J := (3 * K) - (2 * D);
DIF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIF,9);
MACD := (DIF - DEA) * 2;
MA05 := MA(CLOSE,5);
MA10 := MA(CLOSE,10);
MA30 := MA(CLOSE,30);
MA60 := MA(CLOSE,60);
VOLUME := VOL;
MAVOL5 := MA(VOLUME,5);
MAVOL10 := MA(VOLUME,10);
MAVOL30 := MA(VOLUME,30);
MAVOL60 := MA(VOLUME,60);
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);
ZT30 := COUNT(ZT,30);
ZT40 := COUNT(ZT,40);
ZT60 := COUNT(ZT,60);
MTR := EXPMEMA(MAX(MAX(HIGH - LOW,ABS(HIGH - REF(CLOSE,1))),ABS(REF(CLOSE,1) - LOW)),14);
HD := HIGH - REF(HIGH,1);
LD := REF(LOW,1) - LOW;
DMP := EXPMEMA(IF((HD > 0) AND (HD > LD),HD,0),14);
DMM := EXPMEMA(IF((LD > 0) AND (LD > HD),LD,0),14);
PDI := (DMP * 100) / MTR;
MDI := (DMM * 100) / MTR;
ADX := EXPMEMA(((ABS(MDI - PDI)) / (MDI + PDI)) * 100,6);
ADXR := EXPMEMA(ADX,6);
AA := MA((((2 * CLOSE) + HIGH) + LOW) / 4,5);
通道1 := (AA * 102) / 100;
通道2 := (AA * (200 - 102)) / 100;
CC := (ABS(((((2 * CLOSE) + HIGH) + LOW) / 4) - MA(CLOSE,20))) / MA(CLOSE,20);
DD := DMA(CLOSE,CC);
通道3 := (1 + (7 / 100)) * DD;
通道4 := (1 - (7 / 100)) * DD;
TYP := ((HIGH + LOW) + CLOSE) / 3;
CCI := (TYP - MA(TYP,14)) / (0.015 * AVEDEV(TYP,14));
剔除大盘 := ((((((((((((CAPITAL > 100000000) OR NAMELIKE(1)) OR NAMELIKE(2)) OR (FINANCE(34) < 1)) OR (FINANCE(33) < -0.8)) OR (C > 50)) OR ((C > 35) AND ((CLOSE / FINANCE(34)) > 10))) OR ((CAPITAL >= 40000000) AND ((CLOSE / FINANCE(34)) > 4))) OR ((CAPITAL >= 20000000) AND ((CLOSE / FINANCE(34)) > 5))) OR ((CAPITAL >= 10000000) AND ((CLOSE / FINANCE(34)) > 7))) OR (CODELIKE(3) AND (FINANCE(33) < -0.2))) OR (CODELIKE(3) AND (CAPITAL > 6000000))) OR (CODELIKE(4) AND (CAPITAL > 10000000));
我大盘 := NOT(剔除大盘);
蓄势突破 : ((((((((((((((((((DATE < 1991201) AND ((ZT60 >= 1) OR (COUNT(冲ZT,30) >= 1))) AND ((HHV(C,3) >= HHV(C,60)) OR (HHV(H,3) >= HHV(H,60)))) AND (C > REF(通道3,1))) AND (C > 通道1)) AND (通道1 > REF(通道1,1))) AND (MA30 >= REF(MA30,1))) AND (MA60 >= REF(MA60,1))) AND (MA10 >= REF(MA10,1))) AND (HHV(虚换手,3) >= 5)) AND 我大盘) AND (DYNAINFO(4) > 0)) AND (((ADX > REF(ADX,1)) AND (ADXR > REF(ADXR,1))) OR ((ADX > REF(ADX,1)) AND (PDI > REF(PDI,1))))) AND (MDI < REF(MDI,1))) AND (PDI > 20)) AND (ADX > 30)) AND (ADXR > 30)) AND (MDI < 20)) AND (CCI >= 100);
相关文章列表
天天查股公式列表