您的位置:爱股网 > 查股公式 > 通达信涨跌标尺主图指标 自动划线主图[查股公式]
股票行情消息数据:

通达信涨跌标尺主图指标 自动划线主图[查股公式]

2022/6/16 4:53:23
通达信涨跌标尺主图指标 自动划线主图
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);

T3:=CONST(T2)+1;
NOTEXT1:IF(CU<=T3,CONST(CA),DRAWNULL),COLORRED,DOTLINE;
NOTEXT2:IF(CU<=T3,CONST(CB),DRAWNULL),COLORRED,DOTLINE;
NOTEXT3:IF(CU<=T3,CONST(CD),DRAWNULL),COLORRED,DOTLINE;
DRAWTEXT(CU=T3,CA,VAR2STR(CA,2));
DRAWTEXT(CU=T3,CB,VAR2STR(CB,2));
DRAWTEXT(CU=T3,CD,VAR2STR(CD,2));
NOTEXTA:DRAWLINE(CU=T3,L,CD,CD,-1),DOTLINE,COLORRED;
STICKLINE(CU=T3,H,CONST(CD),0,-1),COLORRED;
{}
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;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
爱股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29