通达信上升下降通道看盘主图指标公式
通达信小散之家分时主图指标公式
通达信上升下降通道看盘主图指标公式:
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;
通达信挖金矿指标公式