当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:如何把时间嵌入主图(代码)
软件名称:[B]如何把时间嵌入主图(代码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2014-09-13 01:07:35
软件简介:
名称:时间代码
可以把时间“年月日时分星期”嵌入主图
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;
[url=http://www.70822.com/soft/sort013/sort05/down-76046.html]如何把时间嵌入主图(代码)[/url]