通达信涨跌标尺主图指标 江哥小工具 源码 贴图

T:=100;
CU:CURRBARSCOUNT,NODRAW;
T1:=BARSLAST(H=HHV(H,T));
T2:=BARSLAST(L=LLV(L,T));
TH:=CONST(REF(H,T1));
TL:=CONST(REF(L,T2));

X1:=SQRT(TH/TL);
X2:=SQRT(X1);

CA:=TL*X2;
CB:=TL*X1;
CD:=TL*(X1+X2-1);

zbgs3:=CONST(T2)+1;
NOTEXT1:IF(CU<=zbgs3,CONST(CA),DRAWNULL),COLORRED,DOTLINE;
NOTEXT2:IF(CU<=zbgs3,CONST(CB),DRAWNULL),COLORRED,DOTLINE;
NOTEXT3:IF(CU<=zbgs3,CONST(CD),DRAWNULL),COLORRED,DOTLINE;
DRAWTEXT(CU=zbgs3,CA,VAR2STR(CA,2));
DRAWTEXT(CU=zbgs3,CB,VAR2STR(CB,2));
DRAWTEXT(CU=zbgs3,CD,VAR2STR(CD,2));
NOTEXTA:DRAWLINE(CU=zbgs3,L,CD,CD,-1),DOTLINE,COLORRED;
STICKLINE(CU=zbgs3,H,CONST(CD),0,-1),COLORRED;
{zbgs3.com}
CF:=TH/X2;
CG:=TH/X1;
CJ:=TH/(X2+X1-1);
T6:=CONST(T1)+1;
NOTEXT4:IF(CU<=T6,CONST(CF),DRAWNULL),COLORGREEN,DOTLINE;
NOTEXT5:IF(CU<=T6,CONST(CG),DRAWNULL),COLORGREEN,DOTLINE;
NOTEXT6:IF(CU<=T6,CONST(CJ),DRAWNULL),COLORGREEN,DOTLINE;

DRAWTEXT(CU=T6,CF,VAR2STR(CF,2));
DRAWTEXT(CU=T6,CG,VAR2STR(CG,2));
DRAWTEXT(CU=T6,CJ,VAR2STR(CJ,2));
NOTEXTB:DRAWLINE(CU=T6,H,CJ,CJ,-1)DOTLINE,LINETHICK1,COLORGREEN;
STICKLINE(CU=T6,H,CONST(CJ),0,-1),COLORGREEN;



来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股朋指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股朋指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股朋指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图