通达信分时主图公式

源码

DRAWTEXT_FIX(ISLASTBAR,0.00,0.06,0,STRCAT('涨家数: ',CON2STR(DYNAINFO(60),0))),COLORLIRED;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.14,0,STRCAT('跌家数: ',CON2STR(DYNAINFO(61),0))),COLORGREEN;
总涨跌比:=DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100,COLORCYAN,NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0.0,0.22,0,STRCAT('总涨跌比: ',CON2STR(总涨跌比,2))),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.08,0,CODE),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.45,0.08,0,STKNAME)COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.08,0,HYBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,DYBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.3,0.79,0,GNBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.3,0.87,0,FGBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.3,0.95,0,ZSBLOCK),COLORWHITE;
今日开盘线:DYNAINFO(4),COLORMAGENTA;
{www.guhai.com.cn}
AAA:=MAX(DYNAINFO(3),DYNAINFO(5));
BBB:=MIN(DYNAINFO(3),DYNAINFO(6));
CCC:=AAA-BBB;
中轨:=(AAA+BBB)/2,COLOR999900;
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);
DEAA:=EMA(DIFF,9);MACD:=(DIFF-DEAA)/4;
阻力:BBB+CCC*7/8,COLOR00DD00,LINETHICK2;
支撑:BBB+CCC*1/8,COLOR00DD00,LINETHICK2;
上顶:BBB+CCC*2/3,COLOR999900;
下底:BBB+CCC/3,COLOR999900;
价:C,COLOR00FFFF; 
最新:C,LINETHICK9,COLORFFFF00;
IF(C>=REF(C,1),C,DRAWNULL),LINETHICK9,COLOR0909FF;
DRAWICON(LONGCROSS(支撑,C,2),C,1);
DRAWICON(LONGCROSS(C,阻力,2),C,2);

 

 




未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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