通达信如何把时间嵌入主图代码公式

源码

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.70,0.02,0,YEAR);
 DRAWTEXT_FIX(1,0.745,0.02,1,'年'),COLORRED;
 DRAWTEXT_FIX(1,0.78,0.02,1,'月'),COLORRED;
 DRAWTEXT_FIX(1,0.815,0.02,1,'日'),COLORRED;
 DRAWTEXT_FIX(1,0.845,0.02,1,'星期'),COLORRED;
 DRAWTEXT_FIX(1,0.92,0.02,1,'时'),COLORRED;
 DRAWTEXT_FIX(1,0.95,0.02,1,'分'),COLORRED;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.75,0.02,0,MONTH);
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.785,0.02,0,DAY);
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.85,0.02,0,WEEKDAY);
 DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN<121,0.88,0.02,0,INTPART((34200+FROMOPEN*60)/3600));
 DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN>120,0.88,0.02,0,INTPART((34200+FROMOPEN*60+5400)/3600));
 DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND DYNAINFO(9)>5000 AND C>4,0.9,0.8,0,DYNAINFO(9)),COLORMAGENTA;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN<121,0.92,0.02,0,60*(((34200+FROMOPEN*60)/3600)-INTPART((34200+FROMOPEN*60)/3600)));
 DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN>120,0.92,0.02,0,60*(((34200+FROMOPEN*60+5400)/3600)-INTPART((34200+FROMOPEN*60+5400)/3600)));
 M5:MA(C,5),COLORWHITE;
 M10:MA(C,10),COLORYELLOW;
 M20:MA(C,20),COLORMAGENTA;
 M40:MA(C,40),COLORLIRED;
 M60:MA(C,60),COLORGREEN;
 




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

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

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