以下是通达信十年不败真正的分型指标公式源码和截图
通达信十年不败缠论真正的分型选股指标公式源码:
{缠论分型}
MA5:=MA(CLOSE,5),LINETHICK1;
V00:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);
V01:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);
V02:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);
V03:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);
V04:=REF(HIGH,2) HIGHANDREF(LOW,2) LOW
ANDREF(HIGH,2) REF(HIGH,1)ANDREF(LOW,2) REF(LOW,1);
V1:=COUNT(V00,6) =3ANDCOUNT(V01ORV02,5)=0ANDLLVBARS(LOW,6)=1ANDHHVBARS(HIGH,6) =5ANDV03;
V2:=COUNT(V00,7) =3ANDCOUNT(V01ORV02,6)=1ANDLLVBARS(LOW,7)=2ANDHHVBARS(HIGH,7) =6ANDV04;
V3:=COUNT(V00,7) =3ANDCOUNT(V01ORV02,6)=1ANDLLVBARS(LOW,7)=1ANDHHVBARS(HIGH,7) =6ANDV03;
V4:=COUNT(V00,8) =3ANDCOUNT(V01ORV02,7) =2ANDLLVBARS(LOW,8)=2ANDHHVBARS(HIGH,8) =7ANDV04;
V5:=COUNT(V00,8) =3ANDCOUNT(V01ORV02,7) =2ANDLLVBARS(LOW,8)=1ANDHHVBARS(HIGH,8) =7ANDV03;
V6:=COUNT(V00,9) =3ANDCOUNT(V01ORV02,8) =3ANDLLVBARS(LOW,9)=2ANDHHVBARS(HIGH,9) =8ANDV04;
V7:=COUNT(V00,9) =3ANDCOUNT(V01ORV02,8) =3ANDLLVBARS(LOW,9)=1ANDHHVBARS(HIGH,9) =8ANDV03;
V8:=COUNT(V00,10) =3ANDCOUNT(V01ORV02,9) =4ANDLLVBARS(LOW,10)=2ANDHHVBARS(HIGH,10) =9ANDV04;
V9:=COUNT(V00,10) =3ANDCOUNT(V01ORV02,9) =4ANDLLVBARS(LOW,10)=1ANDHHVBARS(HIGH,10) =9ANDV03;
V10:=COUNT(V00,11) =3ANDCOUNT(V01ORV02,10) =5ANDLLVBARS(LOW,11)=2ANDHHVBARS(HIGH,11) =10ANDV04;
DFX:V1ORV2ORV3ORV4ORV5ORV6ORV7ORV8ORV9ORV10ANDCLOSE
XG:DFXANDCLOSE
VAB0:=531;VAB1:=1510000;VAB2:=VAB0+VAB1;VAB3:=IF(DATE VAB2,0,1);LC:=REF(CLOSE,1);SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 REF(X1,1))AND(CLOSE X1));X31:=IF(((SG REF(SG,1))ORX30),1,0);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;震仓线:=45,COLORMAGENTA;线:=20,COLORGREEN;PP:=操作线 震仓线ANDREF(操作线,1) PP3:=操作线 抄底线ANDREF(操作线,1) 抄底线*VAB3;NICT:=(((((COUNT((X31=1),4)=3)AND(X31=0))ANDO CAND(((C-REF(C,1))/REF(C,1)) 0.085))*89) =89)OR((C-REF(C,1))/REF(C,1) 0.085AND(REF(PP3,1)ORREF(PP,1)))ANDVAB3=1;LTP:=FINANCE(7) 300000000ANDFINANCE(1) 500000000;{流通盘股小于12亿股,总盘小于20亿}MGSY:=FINANCE(33) 0.02ANDBARSCOUNT(C) SYL:=C/FINANCE(33) 200ANDC/FINANCE(33) {市盈率低于100}JZC:=FINANCE(34) {每股净资产}{通达信去掉*、S、ST}S2:=IF(NAMELIKE('S'),0,1);S3:=IF(NAMELIKE('*'),0,1);GJFW:=DYNAINFO(7) 3ANDDYNAINFO(7) {3元-60元价格的股}XGJ:=LTPANDMGSYANDSYLANDJZCANDS2ANDS3ANDGJFW;XG:NICTANDXGJ;
{缠论分型}
MA5:=MA(CLOSE,5),LINETHICK1;
V00:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);
V01:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);
V02:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);
V03:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1);
V04:=REF(HIGH,2) HIGHANDREF(LOW,2) LOW
ANDREF(HIGH,2) REF(HIGH,1)ANDREF(LOW,2) REF(LOW,1);
V1:=COUNT(V00,6) =3ANDCOUNT(V01ORV02,5)=0ANDLLVBARS(LOW,6)=1ANDHHVBARS(HIGH,6) =5ANDV03;
V2:=COUNT(V00,7) =3ANDCOUNT(V01ORV02,6)=1ANDLLVBARS(LOW,7)=2ANDHHVBARS(HIGH,7) =6ANDV04;
V3:=COUNT(V00,7) =3ANDCOUNT(V01ORV02,6)=1ANDLLVBARS(LOW,7)=1ANDHHVBARS(HIGH,7) =6ANDV03;
V4:=COUNT(V00,8) =3ANDCOUNT(V01ORV02,7) =2ANDLLVBARS(LOW,8)=2ANDHHVBARS(HIGH,8) =7ANDV04;
V5:=COUNT(V00,8) =3ANDCOUNT(V01ORV02,7) =2ANDLLVBARS(LOW,8)=1ANDHHVBARS(HIGH,8) =7ANDV03;
V6:=COUNT(V00,9) =3ANDCOUNT(V01ORV02,8) =3ANDLLVBARS(LOW,9)=2ANDHHVBARS(HIGH,9) =8ANDV04;
V7:=COUNT(V00,9) =3ANDCOUNT(V01ORV02,8) =3ANDLLVBARS(LOW,9)=1ANDHHVBARS(HIGH,9) =8ANDV03;
V8:=COUNT(V00,10) =3ANDCOUNT(V01ORV02,9) =4ANDLLVBARS(LOW,10)=2ANDHHVBARS(HIGH,10) =9ANDV04;
V9:=COUNT(V00,10) =3ANDCOUNT(V01ORV02,9) =4ANDLLVBARS(LOW,10)=1ANDHHVBARS(HIGH,10) =9ANDV03;
V10:=COUNT(V00,11) =3ANDCOUNT(V01ORV02,10) =5ANDLLVBARS(LOW,11)=2ANDHHVBARS(HIGH,11) =10ANDV04;
DFX:V1ORV2ORV3ORV4ORV5ORV6ORV7ORV8ORV9ORV10ANDCLOSE
XG:DFXANDCLOSE
通达信十年不败缠论真正的分型选股指标公式截图