通达信圆弧底主图指标公式

时间:2022-03-28 11:40:28    阅读:514

 {圆弧线,只需确定起跌点N,只要后续有更低点,便可划出圆弧}
N:=177;
H1:=CONst(LLVBARS(L,N));
H2:=CONST(REF(L,N-1));
H3:=CONST(LLV(L,N));
H4:=(N-H1)/(H2-H3);
X:=H2-SQRT(POW(N-H1,2)-POW(CURRBARSCOUNT-H1,2))/H4;
NOTEXT1:X,COLORGREEN,DOTLINE;
NOTEXT2:IF(CURRBARSCOUNT>H1+1,DRAWNULL,X),COLORGREEN,LINETHICK3;

关键词: 圆弧底