上升下降通道看盘主图指标 通达信公式(附图)

[复制链接]
查看167 | 回复0 | 2021-8-20 17:05:38 | 显示全部楼层 |阅读模式

LT:=LLVBARS(L,100);
HT:=HHVBARS(H,60);
LT1:=FINDLOWBARS(L,HT+1,30,1);
LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);
LTT1:=BARSLAST(CURRBARSCOUNT=CONST(LT1)+1);
HT1:=FINDHIGHBARS(H,LTT1,LTT+1,1);
HT1T:=BARSLAST(CURRBARSCOUNT=CONST(HT1)+1);
HT2T:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
TJ:=L>REF(L,LTT);
TJ1:=H>REF(H,HT1T);
下轨:DRAWLINE(LTT=0,L,LTT1=0 AND TJ,L,1),COLORYELLOW,DOTLINE;
上轨:DRAWLINE(HT1T=0,H,HT2T=0 AND TJ1,H,1),COLORYELLOW,DOTLINE;
XLT:=FINDLOWBARS(H,0,HT2T+1,1);
XLT1:=BARSLAST(CURRBARSCOUNT=CONST(XLT)+1);
XH1T:=FINDHIGHBARS(H,XLT1,10,1);
XH1TT:=BARSLAST(CURRBARSCOUNT=CONST(XH1T)+1);
DF:=(C-REF(C,HT2T+1))/REF(C,HT2T+1)*100;
XL2TT:=BARSSINCEN(DF<-15,HT2T+1);
TJ2:=H<REF(H,HT2T);
TJ3:=L<REF(L,XL2TT);
上:DRAWLINE(HT2T=0,H,XH1TT=0 AND TJ2,H,1),COLORGREEN,DOTLINE;
下:DRAWLINE(XL2TT=0,L,XLT1=0 AND TJ3,L,1),COLORGREEN,DOTLINE;

14Q1AV4S0-15949.jpg

14Q1AV4S0-15949.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则