通达信【金甲量化捉妖系统V9.99】核心指标无DLL版 捉妖模型1票、2票、A级龙选、主力竞价 指标源
2024-08-16这个指标是【金甲量化捉妖系统V9.99】中的捉妖模型1票、2票核心指标组成部分(不包含原版中其它指标),原版DLL加密,现解密供大家...
年月日:=999999999999;
真实最低价:=MIN(LOW,REF(CLOSE,1));
真实最高价:=MAX(HIGH,REF(CLOSE,1));
真实波幅:=MAX(MAX(ABS(HIGH-REF(CLOSE,1)),ABS(REF(CLOSE,1)-LOW)),ABS(HIGH-LOW));
买入结构首根:=IF(DATE<=年月日,REF(CLOSE,1)>=REF(CLOSE,5) AND CLOSE<REF(CLOSE,4),0);
卖出结构首根:=IF(DATE<=年月日,REF(CLOSE,1)<=REF(CLOSE,5) AND CLOSE>REF(CLOSE,4),0);
TT:=CONST(BARSLASTCOUNT(CLOSE<REF(CLOSE,4)));
B0:=IF(DATE<=年月日,IF(CURRBARSCOUNT<=TT,CURRBARSCOUNT=TT,买入结构首根=1 AND BARSNEXT(CLOSE>=REF(CLOSE,4))>=9),0);
B1:=IF(DATE<=年月日,IF(CURRBARSCOUNT<=TT,CURRBARSCOUNT=1,BARSLASTCOUNT(CLOSE<REF(CLOSE,4))>=9 AND BARSNEXT(CLOSE>=REF(CLOSE,4))=1),0);
TTT:=CONST(BARSLASTCOUNT(CLOSE>REF(CLOSE,4)));
S0:=IF(DATE<=年月日,IF(CURRBARSCOUNT<=TTT,CURRBARSCOUNT=TTT,卖出结构首根=1 AND BARSNEXT(CLOSE<=REF(CLOSE,4))>=9),0);
S1:=IF(DATE<=年月日,IF(CURRBARSCOUNT<=TTT,CURRBARSCOUNT=1,BARSLASTCOUNT(CLOSE>REF(CLOSE,4))>=9 AND BARSNEXT(CLOSE<=REF(CLOSE,4))=1),0);
TDXSTEP118:DRAWNUMBER(CURRBARSCOUNT<=TT,LOW*0.995,TT+1-CURRBARSCOUNT),COLOR00C0C0;
TDXSTEP119:DRAWNUMBER(CURRBARSCOUNT>TT AND BARSLASTCOUNT(CLOSE<REF(CLOSE,4))=BARSLAST(B0=1)+1,LOW*0.995,BARSLAST(B0=1)+1),COLOR00C0C0;
TDXSTEP120:DRAWNUMBER(CURRBARSCOUNT<=TTT,LOW*0.995,TTT+1-CURRBARSCOUNT),COLOR00C0C0;
TDXSTEP121:DRAWNUMBER(CURRBARSCOUNT>TTT AND BARSLASTCOUNT(CLOSE>REF(CLOSE,4))=BARSLAST(S0=1)+1,LOW*0.995,BARSLAST(S0=1)+1),COLOR00C0C0;
TDST支撑2:=REF(LLV(真实最低价,BARSLAST(S0)-BARSLAST(S1)+1),BARSLAST(S1));
TDST阻力2:=REF(HHV(真实最高价,BARSLAST(B0)-BARSLAST(B1)+1),BARSLAST(B1));
TDST支撑:IF(CURRBARSCOUNT=1,IF(S1=1 AND TTT<9,REF(TDST支撑2,1),TDST支撑2),TDST支撑2),NODRAW,COLOR00C0C0;
TDST阻力:IF(CURRBARSCOUNT=1,IF(B1=1 AND TT<9,REF(TDST阻力2,1),TDST阻力2),TDST阻力2),NODRAW,COLOR00C0C0;
TD伪装:CLOSE<REF(CLOSE,1) AND CLOSE>OPEN AND LOW<REF(LOW,2),NODRAW;
TD马跳:OPEN<REF(MIN(CLOSE,OPEN),1) AND CLOSE>REF(MAX(CLOSE,OPEN),1) AND 0.01*AMOUNT/VOL>REF(MAX(CLOSE,OPEN),1),NODRAW;
TD马跳制胜:MAX(CLOSE,OPEN)<=REF(MAX(CLOSE,OPEN),1) AND MIN(CLOSE,OPEN)>=REF(MIN(CLOSE,OPEN),1) AND CLOSE>REF(CLOSE,1),NODRAW;
TD开盘指标:OPEN<REF(LOW,1) AND CLOSE>REF(LOW,1) AND 0.01*AMOUNT/VOL>REF(LOW,1),NODRAW;
TD陷阱指标:OPEN<=REF(MAX(CLOSE,OPEN),1) AND OPEN>=REF(MIN(CLOSE,OPEN),1) AND CLOSE>REF(MAX(CLOSE,OPEN),1),NODRAW;
保守策略:REF(CLOSE,1)<=REF(CLOSE,5) AND CLOSE>REF(CLOSE,4),NODRAW;
TT6:=IF(EXIST(B0=1,BARSCOUNT(CLOSE)+1),BARSLASTCOUNT(CLOSE<REF(CLOSE,4))=BARSLAST(B0=1)+1 AND BARSLAST(B0=1)=5,0);
TTT6:=IF(EXIST(S0=1,BARSCOUNT(CLOSE)+1),BARSLASTCOUNT(CLOSE>REF(CLOSE,4))=BARSLAST(S0=1)+1 AND BARSLAST(S0=1)=5,0);
B6:=IF(CURRBARSCOUNT>TT,TT6,IF(TT>=7,CONST(BARSSINCEN(买入结构首根=1,TT))+2-CURRBARSCOUNT=6,0));
S6:=IF(CURRBARSCOUNT>TTT,TTT6,IF(TTT>=7,CONST(BARSSINCEN(卖出结构首根=1,TTT))+2-CURRBARSCOUNT=6,0));
BL:=MIN(REF(LOW,BARSLAST(B6)),IF(B6,REFX(LOW,1),REF(LOW,BARSLAST(B6)-1)));
SH:=MAX(REF(HIGH,BARSLAST(S6)),IF(S6,REFX(HIGH,1),REF(HIGH,BARSLAST(S6)-1)));
B9:=IF(DATE<=年月日,BARSLASTCOUNT(CLOSE<REF(CLOSE,4))=9,0);
S9:=IF(DATE<=年月日,BARSLASTCOUNT(CLOSE>REF(CLOSE,4))=9,0);
B:=IF(EXIST(B9=1,BARSCOUNT(CLOSE)+1),IF(B9=1,COUNT(LOW<=BL,2)>=1,COUNT(LOW<=REF(BL,BARSLAST(B9)),BARSLAST(B9)+1)=1 AND REF(LOW,BARSLAST(B9)+1)>REF(BL,BARSLAST(B9)) AND LOW<=REF(BL,BARSLAST(B9))),0);
S:=IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),IF(S9=1,COUNT(HIGH>=SH,2)>=1,COUNT(HIGH>=REF(SH,BARSLAST(S9)),BARSLAST(S9)+1)=1 AND REF(HIGH,BARSLAST(S9)+1)<REF(SH,BARSLAST(S9)) AND HIGH>=REF(SH,BARSLAST(S9))),0);
NOTEXT5:IF(TT=6 AND CURRBARSCOUNT=1,DRAWNULL,IF(BARSLASTCOUNT(CLOSE<REF(CLOSE,4))>=6 AND BARSLAST(B0)+1=BARSLASTCOUNT(CLOSE<REF(CLOSE,4)),BL,DRAWNULL)),DOTLINE,COLOR00C0C0;
NOTEXT6:IF(TTT=6 AND CURRBARSCOUNT=1,DRAWNULL,IF(BARSLASTCOUNT(CLOSE>REF(CLOSE,4))>=6 AND BARSLAST(S0)+1=BARSLASTCOUNT(CLOSE>REF(CLOSE,4)),SH,DRAWNULL)),DOTLINE,COLOR00C0C0;
BN1:=BARSNEXT(B1=1);
SN1:=BARSNEXT(S1=1);
TDXSTEP122:DRAWICON(B,LOW*0.97,7);
TDXSTEP123:DRAWICON(S,HIGH*1.01,8);
H1:=REFX(HHV(真实最高价,BARSLASTCOUNT(CLOSE<REF(CLOSE,4))),BN1);
L1:=REFX(LLV(真实最低价,BARSLASTCOUNT(CLOSE<REF(CLOSE,4))),BN1);
实际最高价B:=IF(EXIST(B0=1,BARSCOUNT(CLOSE)+1),IF(EXIST(B1=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B1)>BARSLAST(B0),H1,REF(HHV(真实最高价,BARSLASTCOUNT(CLOSE<REF(CLOSE,4))),BARSLAST(B1))),H1),0);
实际最低价B:=IF(EXIST(B0=1,BARSCOUNT(CLOSE)+1),IF(EXIST(B1=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B1)>BARSLAST(B0),L1,REF(LLV(真实最低价,BARSLASTCOUNT(CLOSE<REF(CLOSE,4))),BARSLAST(B1))),L1),0);
真实波幅B:=实际最高价B-实际最低价B;
B10:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=1 AND B0=1,COUNT(B0=1,(-1))=1 AND B0=1),0),0);
B20:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=2 AND B0=1,COUNT(B0=1,(-1))=2 AND B0=1),0),0);
B30:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=3 AND B0=1,COUNT(B0=1,(-1))=3 AND B0=1),0),0);
B40:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=4 AND B0=1,COUNT(B0=1,(-1))=4 AND B0=1),0),0);
B50:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=5 AND B0=1,COUNT(B0=1,(-1))=5 AND B0=1),0),0);
B60:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=6 AND B0=1,COUNT(B0=1,(-1))=6 AND B0=1),0),0);
B70:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=7 AND B0=1,COUNT(B0=1,(-1))=7 AND B0=1),0),0);
B80:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=8 AND B0=1,COUNT(B0=1,(-1))=8 AND B0=1),0),0);
B90:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=9 AND B0=1,COUNT(B0=1,(-1))=9 AND B0=1),0),0);
B100:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=10 AND B0=1,COUNT(B0=1,(-1))=10 AND B0=1),0),0);
B110:=IF(DATE<=年月日,IF(CURRBARSCOUNT>=9,IF(EXIST(S9=1,BARSCOUNT(CLOSE)+1),COUNT(B0=1,BARSLAST(S9=1))=11 AND B0=1,COUNT(B0=1,(-1))=11 AND B0=1),0),0);
P1:=1;
CY1:=IF(EXIST(B10=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B10=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B10=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B10=1)),1),1),0),0);
QX1A:=IF(EXIST(B10=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B10=1))=0,0) AND IF(EXIST(B10=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B10=1))=0,COUNT(CY1=0,BARSLAST(B10=1)+1)=0,0),0);
QX1B:=IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B20=1))=0,IF(REF(实际最高价B,BARSLAST(B10=1))>=REF(实际最高价B,BARSLAST(B20=1)) AND REF(实际最低价B,BARSLAST(B10=1))<=REF(实际最低价B,BARSLAST(B20=1)),1,REF(真实波幅B,BARSLAST(B10=1))>REF(真实波幅B,BARSLAST(B20=1)) OR 1.618*REF(真实波幅B,BARSLAST(B10=1))<REF(真实波幅B,BARSLAST(B20=1))),1),1);
QX1:=QX1A AND QX1B;
BS18:=IF(EXIST(B10=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B10=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B10=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX1,0),0);
TBS113:=IF(EXIST(B10=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B10=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B10=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX1 AND LOW<=REF(CLOSE,BARSLAST(BS18=1)),0),0);
BS113:=IF(EXIST(B10=1,BARSCOUNT(CLOSE)+1),COUNT(TBS113=1,BARSLAST(B10=1)+1)=1 AND TBS113=1,0);
TDXSTEP124:DRAWNUMBER(IF(EXIST(B10=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B10=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B10=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX1,0),0),HIGH*(1.005+0.015*P1),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B10=1)-7)),COLORD9D919;
TDXSTEP125:DRAWNUMBER(BS113=1,HIGH*(1.005+0.015*P1),13),COLORD9D919;
P2:=IF(EXIST(B10=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B10=1))=0,IF(COUNT(QX1=0,BARSLAST(B10=1)+1)!=0 OR COUNT(REF(BS113,1)=1,BARSLAST(B10=1)+1)!=0,P1,P1+1),0),0);
CY2:=IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B20=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B20=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B20=1)),1),1),0),0);
QX2A:=IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B20=1))=0,0) AND IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B20=1))=0,COUNT(CY2=0,BARSLAST(B20=1)+1)=0,0),0) AND IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B20=1))=0,COUNT(真实最低价>REF(TDST阻力,BARSLAST(B20=1)+1),BARSLAST(B20=1)+1)=0,0),0);
QX2B:=IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B30=1))=0,IF(REF(实际最高价B,BARSLAST(B20=1))>=REF(实际最高价B,BARSLAST(B30=1)) AND REF(实际最低价B,BARSLAST(B20=1))<=REF(实际最低价B,BARSLAST(B30=1)),1,REF(真实波幅B,BARSLAST(B20=1))>REF(真实波幅B,BARSLAST(B30=1)) OR 1.618*REF(真实波幅B,BARSLAST(B20=1))<REF(真实波幅B,BARSLAST(B30=1))),1),1);
QX2C:=IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B20=1))=0,IF(REF(实际最高价B,BARSLAST(B10=1))>=REF(实际最高价B,BARSLAST(B20=1)) AND REF(实际最低价B,BARSLAST(B10=1))<=REF(实际最低价B,BARSLAST(B20=1)),0,1.618*REF(真实波幅B,BARSLAST(B10=1))>=REF(真实波幅B,BARSLAST(B20=1))),0),0);
QX2:=QX2A AND QX2B AND QX2C;
BS28:=IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B20=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B20=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX2,0),0);
TBS213:=IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B20=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B20=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX2 AND LOW<=REF(CLOSE,BARSLAST(BS28=1)),0),0);
BS213:=IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),COUNT(TBS213=1,BARSLAST(B20=1)+1)=1 AND TBS213=1,0);
TDXSTEP126:DRAWNUMBER(IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B20=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B20=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX2,0),0),HIGH*(1.005+0.015*P2),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B20=1)-7)),COLORFF7F00;
TDXSTEP127:DRAWNUMBER(BS213=1,HIGH*(1.005+0.015*P2),13),COLORFF7F00;
P3:=IF(EXIST(B20=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B20=1))=0,IF(COUNT(QX2=0,BARSLAST(B20=1)+1)!=0 OR COUNT(REF(BS213,1)=1,BARSLAST(B20=1)+1)!=0,P2,P2+1),0),0);
CY3:=IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B30=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B30=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B30=1)),1),1),0),0);
QX3A:=IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B30=1))=0,0) AND IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B30=1))=0,COUNT(CY3=0,BARSLAST(B30=1)+1)=0,0),0) AND IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B30=1))=0,COUNT(真实最低价>REF(TDST阻力,BARSLAST(B30=1)+1),BARSLAST(B30=1)+1)=0,0),0);
QX3B:=IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B40=1))=0,IF(REF(实际最高价B,BARSLAST(B30=1))>=REF(实际最高价B,BARSLAST(B40=1)) AND REF(实际最低价B,BARSLAST(B30=1))<=REF(实际最低价B,BARSLAST(B40=1)),1,REF(真实波幅B,BARSLAST(B30=1))>REF(真实波幅B,BARSLAST(B40=1)) OR 1.618*REF(真实波幅B,BARSLAST(B30=1))<REF(真实波幅B,BARSLAST(B40=1))),1),1);
QX3C:=IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B30=1))=0,IF(REF(实际最高价B,BARSLAST(B20=1))>=REF(实际最高价B,BARSLAST(B30=1)) AND REF(实际最低价B,BARSLAST(B20=1))<=REF(实际最低价B,BARSLAST(B30=1)),0,1.618*REF(真实波幅B,BARSLAST(B20=1))>=REF(真实波幅B,BARSLAST(B30=1))),0),0);
QX3:=QX3A AND QX3B AND QX3C;
BS38:=IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B30=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B30=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX3,0),0);
TBS313:=IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B30=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B30=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX3 AND LOW<=REF(CLOSE,BARSLAST(BS38=1)),0),0);
BS313:=IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),COUNT(TBS313=1,BARSLAST(B30=1)+1)=1 AND TBS313=1,0);
TDXSTEP128:DRAWNUMBER(IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B30=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B30=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX3,0),0),HIGH*(1.005+0.015*P3),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B30=1)-7)),COLOR00FF7F;
TDXSTEP129:DRAWNUMBER(BS313=1,HIGH*(1.005+0.015*P3),13),COLOR00FF7F;
P4:=IF(EXIST(B30=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B30=1))=0,IF(COUNT(QX3=0,BARSLAST(B30=1)+1)!=0 OR COUNT(REF(BS313,1)=1,BARSLAST(B30=1)+1)!=0,P3,P3+1),0),0);
CY4:=IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B40=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B40=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B40=1)),1),1),0),0);
QX4A:=IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B40=1))=0,0) AND IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B40=1))=0,COUNT(CY4=0,BARSLAST(B40=1)+1)=0,0),0) AND IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B40=1))=0,COUNT(真实最低价>REF(TDST阻力,BARSLAST(B40=1)+1),BARSLAST(B40=1)+1)=0,0),0);
QX4B:=IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B50=1))=0,IF(REF(实际最高价B,BARSLAST(B40=1))>=REF(实际最高价B,BARSLAST(B50=1)) AND REF(实际最低价B,BARSLAST(B40=1))<=REF(实际最低价B,BARSLAST(B50=1)),1,REF(真实波幅B,BARSLAST(B40=1))>REF(真实波幅B,BARSLAST(B50=1)) OR 1.618*REF(真实波幅B,BARSLAST(B40=1))<REF(真实波幅B,BARSLAST(B50=1))),1),1);
QX4C:=IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B40=1))=0,IF(REF(实际最高价B,BARSLAST(B30=1))>=REF(实际最高价B,BARSLAST(B40=1)) AND REF(实际最低价B,BARSLAST(B30=1))<=REF(实际最低价B,BARSLAST(B40=1)),0,1.618*REF(真实波幅B,BARSLAST(B30=1))>=REF(真实波幅B,BARSLAST(B40=1))),0),0);
QX4:=QX4A AND QX4B AND QX4C;
BS48:=IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B40=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B40=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX4,0),0);
TBS413:=IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B40=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B40=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX4 AND LOW<=REF(CLOSE,BARSLAST(BS48=1)),0),0);
BS413:=IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),COUNT(TBS413=1,BARSLAST(B40=1)+1)=1 AND TBS413=1,0);
TDXSTEP130:DRAWNUMBER(IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B40=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B40=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX4,0),0),HIGH*(1.005+0.015*P4),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B40=1)-7)),COLOR9932CD;
TDXSTEP131:DRAWNUMBER(BS413=1,HIGH*(1.005+0.015*P4),13),COLOR9932CD;
P5:=IF(EXIST(B40=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B40=1))=0,IF(COUNT(QX4=0,BARSLAST(B40=1)+1)!=0 OR COUNT(REF(BS413,1)=1,BARSLAST(B40=1)+1)!=0,P4,P4+1),0),0);
CY5:=IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B50=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B50=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B50=1)),1),1),0),0);
QX5A:=IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B50=1))=0,0) AND IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B50=1))=0,COUNT(CY5=0,BARSLAST(B50=1)+1)=0,0),0) AND IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B50=1))=0,COUNT(真实最低价>REF(TDST阻力,BARSLAST(B50=1)+1),BARSLAST(B50=1)+1)=0,0),0);
QX5B:=IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B60=1))=0,IF(REF(实际最高价B,BARSLAST(B50=1))>=REF(实际最高价B,BARSLAST(B60=1)) AND REF(实际最低价B,BARSLAST(B50=1))<=REF(实际最低价B,BARSLAST(B60=1)),1,REF(真实波幅B,BARSLAST(B50=1))>REF(真实波幅B,BARSLAST(B60=1)) OR 1.618*REF(真实波幅B,BARSLAST(B50=1))<REF(真实波幅B,BARSLAST(B60=1))),1),1);
QX5C:=IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B50=1))=0,IF(REF(实际最高价B,BARSLAST(B40=1))>=REF(实际最高价B,BARSLAST(B50=1)) AND REF(实际最低价B,BARSLAST(B40=1))<=REF(实际最低价B,BARSLAST(B50=1)),0,1.618*REF(真实波幅B,BARSLAST(B40=1))>=REF(真实波幅B,BARSLAST(B50=1))),0),0);
QX5:=QX5A AND QX5B AND QX5C;
BS58:=IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B50=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B50=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX5,0),0);
TBS513:=IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B50=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B50=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX5 AND LOW<=REF(CLOSE,BARSLAST(BS58=1)),0),0);
BS513:=IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),COUNT(TBS513=1,BARSLAST(B50=1)+1)=1 AND TBS513=1,0);
TDXSTEP132:DRAWNUMBER(IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B50=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B50=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX5,0),0),HIGH*(1.005+0.015*P5),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B50=1)-7)),COLORFF6EC7;
TDXSTEP133:DRAWNUMBER(BS513=1,HIGH*(1.005+0.015*P5),13),COLORFF6EC7;
P6:=IF(EXIST(B50=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B50=1))=0,IF(COUNT(QX5=0,BARSLAST(B50=1)+1)!=0 OR COUNT(REF(BS513,1)=1,BARSLAST(B50=1)+1)!=0,P5,P5+1),0),0);
CY6:=IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B60=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B60=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B60=1)),1),1),0),0);
QX6A:=IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B60=1))=0,0) AND IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B60=1))=0,COUNT(CY6=0,BARSLAST(B60=1)+1)=0,0),0) AND IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B60=1))=0,COUNT(真实最低价>REF(TDST阻力,BARSLAST(B60=1)+1),BARSLAST(B60=1)+1)=0,0),0);
QX6B:=IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B70=1))=0,IF(REF(实际最高价B,BARSLAST(B60=1))>=REF(实际最高价B,BARSLAST(B70=1)) AND REF(实际最低价B,BARSLAST(B60=1))<=REF(实际最低价B,BARSLAST(B70=1)),1,REF(真实波幅B,BARSLAST(B60=1))>REF(真实波幅B,BARSLAST(B70=1)) OR 1.618*REF(真实波幅B,BARSLAST(B60=1))<REF(真实波幅B,BARSLAST(B70=1))),1),1);
QX6C:=IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B60=1))=0,IF(REF(实际最高价B,BARSLAST(B50=1))>=REF(实际最高价B,BARSLAST(B60=1)) AND REF(实际最低价B,BARSLAST(B50=1))<=REF(实际最低价B,BARSLAST(B60=1)),0,1.618*REF(真实波幅B,BARSLAST(B50=1))>=REF(真实波幅B,BARSLAST(B60=1))),0),0);
QX6:=QX6A AND QX6B AND QX6C;
BS68:=IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B60=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B60=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX6,0),0);
TBS613:=IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B60=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B60=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX6 AND LOW<=REF(CLOSE,BARSLAST(BS68=1)),0),0);
BS613:=IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),COUNT(TBS613=1,BARSLAST(B60=1)+1)=1 AND TBS613=1,0);
TDXSTEP134:DRAWNUMBER(IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B60=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B60=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX6,0),0),HIGH*(1.005+0.015*P6),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B60=1)-7)),COLORD8BFD8;
TDXSTEP135:DRAWNUMBER(BS613=1,HIGH*(1.005+0.015*P6),13),COLORD8BFD8;
P7:=IF(EXIST(B60=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B60=1))=0,IF(COUNT(QX6=0,BARSLAST(B60=1)+1)!=0 OR COUNT(REF(BS613,1)=1,BARSLAST(B60=1)+1)!=0,P6,P6+1),0),0);
CY7:=IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B70=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B70=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B70=1)),1),1),0),0);
QX7A:=IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B70=1))=0,0) AND IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B70=1))=0,COUNT(CY7=0,BARSLAST(B70=1)+1)=0,0),0) AND IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B70=1))=0,COUNT(真实最低价>REF(TDST阻力,BARSLAST(B70=1)+1),BARSLAST(B70=1)+1)=0,0),0);
QX7B:=IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B80=1))=0,IF(REF(实际最高价B,BARSLAST(B70=1))>=REF(实际最高价B,BARSLAST(B80=1)) AND REF(实际最低价B,BARSLAST(B70=1))<=REF(实际最低价B,BARSLAST(B80=1)),1,REF(真实波幅B,BARSLAST(B70=1))>REF(真实波幅B,BARSLAST(B80=1)) OR 1.618*REF(真实波幅B,BARSLAST(B70=1))<REF(真实波幅B,BARSLAST(B80=1))),1),1);
QX7C:=IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B70=1))=0,IF(REF(实际最高价B,BARSLAST(B60=1))>=REF(实际最高价B,BARSLAST(B70=1)) AND REF(实际最低价B,BARSLAST(B60=1))<=REF(实际最低价B,BARSLAST(B70=1)),0,1.618*REF(真实波幅B,BARSLAST(B60=1))>=REF(真实波幅B,BARSLAST(B70=1))),0),0);
QX7:=QX7A AND QX7B AND QX7C;
BS78:=IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B70=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B70=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX7,0),0);
TBS713:=IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B70=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B70=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX7 AND LOW<=REF(CLOSE,BARSLAST(BS78=1)),0),0);
BS713:=IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),COUNT(TBS713=1,BARSLAST(B70=1)+1)=1 AND TBS713=1,0);
TDXSTEP136:DRAWNUMBER(IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B70=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B70=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX7,0),0),HIGH*(1.005+0.015*P7),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B70=1)-7)),COLORMAGENTA;
TDXSTEP137:DRAWNUMBER(BS713=1,HIGH*(1.005+0.015*P7),13),COLORMAGENTA;
P8:=IF(EXIST(B70=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B70=1))=0,IF(COUNT(QX7=0,BARSLAST(B70=1)+1)!=0 OR COUNT(REF(BS713,1)=1,BARSLAST(B70=1)+1)!=0,P7,P7+1),0),0);
CY8:=IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B80=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B80=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B80=1)),1),1),0),0);
QX8A:=IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B80=1))=0,0) AND IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B80=1))=0,COUNT(CY8=0,BARSLAST(B80=1)+1)=0,0),0) AND IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B80=1))=0,COUNT(真实最低价>REF(TDST阻力,BARSLAST(B80=1)+1),BARSLAST(B80=1)+1)=0,0),0);
QX8B:=IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B90=1))=0,IF(REF(实际最高价B,BARSLAST(B80=1))>=REF(实际最高价B,BARSLAST(B90=1)) AND REF(实际最低价B,BARSLAST(B80=1))<=REF(实际最低价B,BARSLAST(B90=1)),1,REF(真实波幅B,BARSLAST(B80=1))>REF(真实波幅B,BARSLAST(B90=1)) OR 1.618*REF(真实波幅B,BARSLAST(B80=1))<REF(真实波幅B,BARSLAST(B90=1))),1),1);
QX8C:=IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B80=1))=0,IF(REF(实际最高价B,BARSLAST(B70=1))>=REF(实际最高价B,BARSLAST(B80=1)) AND REF(实际最低价B,BARSLAST(B70=1))<=REF(实际最低价B,BARSLAST(B80=1)),0,1.618*REF(真实波幅B,BARSLAST(B70=1))>=REF(真实波幅B,BARSLAST(B80=1))),0),0);
QX8:=QX8A AND QX8B AND QX8C;
BS88:=IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B80=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B80=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX8,0),0);
TBS813:=IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B80=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B80=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX8 AND LOW<=REF(CLOSE,BARSLAST(BS88=1)),0),0);
BS813:=IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),COUNT(TBS813=1,BARSLAST(B80=1)+1)=1 AND TBS813=1,0);
TDXSTEP138:DRAWNUMBER(IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B80=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B80=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX8,0),0),HIGH*(1.005+0.015*P8),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B80=1)-7)),COLOR00C957;
TDXSTEP139:DRAWNUMBER(BS813=1,HIGH*(1.005+0.015*P8),13),COLOR00C957;
P9:=IF(EXIST(B80=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B80=1))=0,IF(COUNT(QX8=0,BARSLAST(B80=1)+1)!=0 OR COUNT(REF(BS813,1)=1,BARSLAST(B80=1)+1)!=0,P8,P8+1),0),0);
CY9:=IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B90=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B90=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B90=1)),1),1),0),0);
QX9A:=IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B90=1))=0,0) AND IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B90=1))=0,COUNT(CY9=0,BARSLAST(B90=1)+1)=0,0),0) AND IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B90=1))=0,COUNT(真实最低价>REF(TDST阻力,BARSLAST(B90=1)+1),BARSLAST(B90=1)+1)=0,0),0);
QX9B:=IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B100=1))=0,IF(REF(实际最高价B,BARSLAST(B90=1))>=REF(实际最高价B,BARSLAST(B100=1)) AND REF(实际最低价B,BARSLAST(B90=1))<=REF(实际最低价B,BARSLAST(B100=1)),1,REF(真实波幅B,BARSLAST(B90=1))>REF(真实波幅B,BARSLAST(B100=1)) OR 1.618*REF(真实波幅B,BARSLAST(B90=1))<REF(真实波幅B,BARSLAST(B100=1))),1),1);
QX9C:=IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B90=1))=0,IF(REF(实际最高价B,BARSLAST(B80=1))>=REF(实际最高价B,BARSLAST(B90=1)) AND REF(实际最低价B,BARSLAST(B80=1))<=REF(实际最低价B,BARSLAST(B90=1)),0,1.618*REF(真实波幅B,BARSLAST(B80=1))>=REF(真实波幅B,BARSLAST(B90=1))),0),0);
QX9:=QX9A AND QX9B AND QX9C;
BS98:=IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B90=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B90=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX9,0),0);
TBS913:=IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B90=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B90=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX9 AND LOW<=REF(CLOSE,BARSLAST(BS98=1)),0),0);
BS913:=IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),COUNT(TBS913=1,BARSLAST(B90=1)+1)=1 AND TBS913=1,0);
TDXSTEP140:DRAWNUMBER(IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B90=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B90=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX9,0),0),HIGH*(1.005+0.015*P9),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B90=1)-7)),COLOR7FFFD4;
TDXSTEP141:DRAWNUMBER(BS913=1,HIGH*(1.005+0.015*P9),13),COLOR7FFFD4;
P10:=IF(EXIST(B90=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B90=1))=0,IF(COUNT(QX9=0,BARSLAST(B90=1)+1)!=0 OR COUNT(REF(BS913,1)=1,BARSLAST(B90=1)+1)!=0,P9,P9+1),0),0);
CY10:=IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B100=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B100=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B100=1)),1),1),0),0);
QX10A:=IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B100=1))=0,0) AND IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B100=1))=0,COUNT(CY10=0,BARSLAST(B100=1)+1)=0,0),0) AND IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B100=1))=0,COUNT(真实最低价>REF(TDST阻力,BARSLAST(B100=1)+1),BARSLAST(B100=1)+1)=0,0),0);
QX10B:=IF(EXIST(B110=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B110=1))=0,IF(REF(实际最高价B,BARSLAST(B100=1))>=REF(实际最高价B,BARSLAST(B110=1)) AND REF(实际最低价B,BARSLAST(B100=1))<=REF(实际最低价B,BARSLAST(B110=1)),1,REF(真实波幅B,BARSLAST(B100=1))>REF(真实波幅B,BARSLAST(B110=1)) OR 1.618*REF(真实波幅B,BARSLAST(B100=1))<REF(真实波幅B,BARSLAST(B110=1))),1),1);
QX10C:=IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B100=1))=0,IF(REF(实际最高价B,BARSLAST(B90=1))>=REF(实际最高价B,BARSLAST(B100=1)) AND REF(实际最低价B,BARSLAST(B90=1))<=REF(实际最低价B,BARSLAST(B100=1)),0,1.618*REF(真实波幅B,BARSLAST(B90=1))>=REF(真实波幅B,BARSLAST(B100=1))),0),0);
QX10:=QX10A AND QX10B AND QX10C;
BS108:=IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B100=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B100=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX10,0),0);
TBS1013:=IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B100=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B100=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX10 AND LOW<=REF(CLOSE,BARSLAST(BS108=1)),0),0);
BS1013:=IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),COUNT(TBS1013=1,BARSLAST(B100=1)+1)=1 AND TBS1013=1,0);
TDXSTEP142:DRAWNUMBER(IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B100=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B100=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX10,0),0),HIGH*(1.005+0.015*P10),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B100=1)-7)),COLORA020F0;
TDXSTEP143:DRAWNUMBER(BS1013=1,HIGH*(1.005+0.015*P10),13),COLORA020F0;
P11:=IF(EXIST(B100=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B100=1))=0,IF(COUNT(QX10=0,BARSLAST(B100=1)+1)!=0 OR COUNT(REF(BS1013,1)=1,BARSLAST(B100=1)+1)!=0,P10,P10+1),0),0);
CY11:=IF(EXIST(B110=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B110=1))=0,IF(CLOSE>REF(实际最高价B,BARSLAST(B110=1)),IF(CURRBARSCOUNT>1,CLOSE>REFX(OPEN,1) AND HIGH>REFX(HIGH,1) OR REFX(OPEN,1)<REF(实际最高价B,BARSLAST(B110=1)),1),1),0),0);
QX11A:=IF(EXIST(B110=1,BARSCOUNT(CLOSE)+1),COUNT(S9=1,BARSLAST(B110=1))=0,0) AND IF(EXIST(B110=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B110=1))=0,COUNT(CY11=0,BARSLAST(B110=1)+1)=0,0),0) AND IF(EXIST(B110=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B110=1))=0,COUNT(真实最低价>REF(TDST阻力,BARSLAST(B110=1)+1),BARSLAST(B110=1)+1)=0,0),0);
QX11C:=IF(EXIST(B110=1,BARSCOUNT(CLOSE)+1),IF(COUNT(S9=1,BARSLAST(B110=1))=0,IF(REF(实际最高价B,BARSLAST(B100=1))>=REF(实际最高价B,BARSLAST(B110=1)) AND REF(实际最低价B,BARSLAST(B100=1))<=REF(实际最低价B,BARSLAST(B110=1)),0,1.618*REF(真实波幅B,BARSLAST(B100=1))>=REF(真实波幅B,BARSLAST(B110=1))),0),0);
QX11:=QX11A AND QX11C;
BS118:=IF(EXIST(B110=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B110=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B110=1)-7)=8 AND CLOSE<=REF(LOW,2) AND QX11,0),0);
TBS1113:=IF(EXIST(B110=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B110=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B110=1)-7)>=13 AND CLOSE<=REF(LOW,2) AND QX11 AND LOW<=REF(CLOSE,BARSLAST(BS118=1)),0),0);
BS1113:=IF(EXIST(B110=1,BARSCOUNT(CLOSE)+1),COUNT(TBS1113=1,BARSLAST(B110=1)+1)=1 AND TBS1113=1,0);
TDXSTEP144:DRAWNUMBER(IF(EXIST(B110=1,BARSCOUNT(CLOSE)+1),IF(BARSLAST(B110=1)>=8,COUNT(CLOSE<=REF(LOW,2),BARSLAST(B110=1)-7)<13 AND CLOSE<=REF(LOW,2) AND QX11,0),0),HIGH*(1.005+0.015*P11),COUNT(CLOSE<=REF(LOW,2),BARSLAST(B110=1)-7)),COLOR7093DB;
TDXSTEP145:DRAWNUMBER(BS1113=1,HIGH*(1.005+0.015*P11),13),COLOR7093DB;
这个指标是【金甲量化捉妖系统V9.99】中的捉妖模型1票、2票核心指标组成部分(不包含原版中其它指标),原版DLL加密,现解密供大家...
设计思路:以涨停的思路 新视觉 实战中验证过的新思路 以确认基因黄色柱 再次捕捉尾盘阴线 涨停因子发出信号 预测个股短周期中拉...
【九封至尊】超级盘中资金版 涨停打板《 资金打分排名 》盘中尾盘专用 星级指标功能介绍:采取盘中资金模式 根据强势信号拉伸设...
软件说明:本版本是目前5月份网上能见到的最新版本,压缩包内为整套单独系统,版面已经设置好,解压即可运行,选股前需要下载完...
经测试该指标包含:BARSNEXT、REFX、REFXV、FINANCE未来函数,可能用于画线,经沙盘推演测试并未发现信号漂移,如果介意未来函数请...
寻龙千万看风囗,高低关键是量能,量能若有筹码在,定有龙头居此间!!!本指标首板二板选股为盘后选股,二合一选股器,一键选...
本指标功能介绍:本指标是一款自动捕捉强势主力强势连续大幅度短期快速洗盘结束到位 稳健捕捉介入反转点 预报个股短期内大涨幅爆...
通达信预报涨停升级《●短线预报升级版附带加仓功能》预报周期1至5个交易日 温馨提示:已使用积分下载过的朋友可以直接下载,不...
温馨提示:已使用积分下载过的朋友可以直接下载,不会重复扣积分的。2021阴阳决老版本功能介绍 指标的原理介绍:本公...
指标含WINNER和COST函数,使用前需要下载完整数据,如认为WINNER和COST是未来函数,请谨慎充值下载。指标全源码,无任何加密。...