分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式通达信公式 → 一键转帖:TD组合 主图

软件名称:[B]TD组合 主图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:16.0 KB
官方主页:Home Page
更新时间:2018-03-15 09:24:25
软件简介:

 TD组合

 
年月日:=10000*(2023-1900)+100*10+5;
真实最低价:=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);
TDXSTEP418:DRAWNUMBER(CURRBARSCOUNT<=TT,LOW*0.995,TT+1-CURRBARSCOUNT),COLOR00C0C0;
TDXSTEP419:DRAWNUMBER(CURRBARSCOUNT>TT AND BARSLASTCOUNT(CLOSE<REF(CLOSE,4))=BARSLAST(B0=1)+1,LOW*0.995,BARSLAST(B0=1)+1),COLOR00C0C0;
TDXSTEP420:DRAWNUMBER(CURRBARSCOUNT<=TTT,LOW*0.995,TTT+1-CURRBARSCOUNT),COLOR00C0C0;
TDXSTEP421: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;
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,COLORRED;
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,COLORRED;
BN1:=BARSNEXT(B1=1);
SN1:=BARSNEXT(S1=1);
TDXSTEP422:DRAWICON(B,LOW*0.97,7);
TDXSTEP423: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);
TDC:=CLOSE<REF(LOW,2) AND LOW<REF(LOW,1) AND CLOSE<REF(CLOSE,1);
PTDC:=IF(TDC=1,CLOSE,1000000);
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);
TDC1:=IF(EXIST(B10=1,BARSCOUNT(CLOSE)+1),IF(COUNT(TDC=1,BARSL
[url=http://www.70822.com/soft/sort013/sort05/down-122569.html]TD组合 主图[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:78.12500 毫秒