通达信的DRAWICON49个图标公式 
在图形上绘制小图标.
用法:RAWICON(COND,PRICE,TYPE),COND条件满足时,PRICE位置画TYPE号图标。   
例如:RAWICON(CLOSE>OPEN,LOW,1)表示当收阳时在最低价位置画1号图标。
DRAWICON1-20都画什么图形 
 
 
{1——25的图标公式}A:=CURRBARSCOUNT;A1:=;DRAWTEXT(A=92,A1*,'   1');DRAWICON(A=92,A1,1);DRAWTEXT(A=84,A1*,'   2');DRAWICON(A=84,A1,2);DRAWTEXT(A=76,A1*,'   3');DRAWICON(A=76,A1,3);DRAWTEXT(A=68,A1*,'   4');DRAWICON(A=68,A1,4);DRAWTEXT(A=60,A1*,'   5');DRAWICON(A=60,A1,5);DRAWTEXT(A=92,A1*,'   6');DRAWICON(A=92,A1*,6);DRAWTEXT(A=84,A1*,'   7');DRAWICON(A=84,A1*,7);DRAWTEXT(A=76,A1*,'   8');DRAWICON(A=76,A1*,8);DRAWTEXT(A=68,A1*,'   9');DRAWICON(A=68,A1*,9);DRAWTEXT(A=60,A1*,'   10');DRAWICON(A=60,A1*,10);DRAWTEXT(A=92,A1*,'   11');DRAWICON(A=92,A1*,11);DRAWTEXT(A=84,A1*,'   12');DRAWICON(A=84,A1*,12);DRAWTEXT(A=76,A1*,'   13');DRAWICON(A=76,A1*,13);DRAWTEXT(A=68,A1*,'   14');DRAWICON(A=68,A1
*,14);DRAWTEXT(A=60,A1*,'   15');DRAWICON(A=60,A1*,15);DRAWTEXT(A=92,A1*,'   16');DRAWICON(A=92,A1*,16);DRAWTEXT(A=84,A1*,'   17');DRAWICON(A=84,A1*,17);DRAWTEXT(A=76,A1*,'   18');DRAWICON(A=76,A1*,18);DRAWTEXT(A=68,A1*,'   19');DRAWICON(A=68,A1*,19);DRAWTEXT(A=60,A1*,'   20');DRAWICON(A=60,A1*,20);DRAWTEXT(A=92,A1*,'   21');DRAWICON(A=92,A1*,21);DRAWTEXT(A=84,A1*,'   22');DRAWICON(A=84,A1*,22);DRAWTEXT(A=76,A1*,'   23');DRAWICON(A=76,A1*,23);DRAWTEXT(A=68,A1*,'   24');DRAWICON(A=68,A1*,24);DRAWTEXT(A=60,A1*,'   25');DRAWICON(A=60,A1*,25);{26——49图标公式}A:=CURRBARSCOUNT;A1:=;DRAWTEXT(A=92,A1*,'   26');DRAWICON(A=92,A1,26);DRAWTEXT(A=84,A1*,'   icon图标库27');DRAWICON(A=84,A1,27);DRAWTEXT(A=76,A1*,'   28');DRAWICON(A=76,A1,
28);DRAWTEXT(A=68,A1*,'   29');DRAWICON(A=68,A1,29);DRAWTEXT(A=60,A1*,'   30');DRAWICON(A=60,A1,30);DRAWTEXT(A=92,A1*,'   31');DRAWICON(A=92,A1*,31);DRAWTEXT(A=84,A1*,'   32');DRAWICON(A=84,A1*,32);DRAWTEXT(A=76,A1*,'   33');DRAWICON(A=76,A1*,33);DRAWTEXT(A=68,A1*,'   34');DRAWICON(A=68,A1*,34);DRAWTEXT(A=60,A1*,'   35');DRAWICON(A=60,A1*,35);DRAWTEXT(A=92,A1*,'   36');DRAWICON(A=92,A1*,36);DRAWTEXT(A=84,A1*,'   37');DRAWICON(A=84,A1*,37);DRAWTEXT(A=76,A1*,'   38');DRAWICON(A=76,A1*,38);DRAWTEXT(A=68,A1*,'   39');DRAWICON(A=68,A1*,39);DRAWTEXT(A=60,A1*,'   40');DRAWICON(A=60,A1*,40);DRAWTEXT(A=92,A1*,'   41');DRAWICON(A=92,A1*,41);DRAWTEXT(A=84,A1*,'   42');DRAWICON(A=84,A1*,-6);DRAWTEXT(A=76,A1*,'   43');DRAWICON(A=76,A1*,-11);DRAWTEXT(A=68,A1*,'   44');DRAWICON(A=68,A1
*,-23);DRAWTEXT(A=60,A1*,'   45');DRAWICON(A=60,A1*,-24);DRAWTEXT(A=92,A1*,'   46');DRAWICON(A=92,A1*,-28);DRAWTEXT(A=84,A1*,'   47');DRAWICON(A=84,A1*,-33);DRAWTEXT(A=76,A1*,'   48');DRAWICON(A=76,A1*,-34);DRAWTEXT(A=68,A1*,'   49');DRAWICON(A=68,A1*,-41);
【通达信】指标公式图标及常用颜代码
1 白 ColorFFFFFF 或 ColorWhite      2 红 ColorFF0000 或 COLORRED
3 绿 Color00FF00 或 ColorGreen      4 蓝 Color0000FF 或 ColorBlue
5 牡丹红 ColorFF00FF      6 青 Color00FFFF
7 黄 ColorFFFF00 或 ColorYellow
8 黑 Color000000 或 ColorBlack
9 海蓝 Color70DB93        10 巧克力 Color5C3317
11 蓝紫 Color9F5F9F      12 黄铜 ColorB5A642
13 亮金 ColorD9D919      14 棕 ColorA67D3D
15 青铜 Color8C7853      16 2号青铜 ColorA67D3D
17 士官服蓝 Color5F9F9F    18 冷铜 ColorD98719
19 铜 ColorB87333        20 珊瑚红 ColorFF7F00
21 紫蓝 Color42426F      22 深棕 Color5C4033
23 深绿 Color2F4F2F        24 深铜绿 Color4A766E
25 深橄榄绿 Color4F4F2F    26 深兰花 Color9932CD
27 深紫 Color871F78      28 深石板蓝 Color6B238E
29 深铅灰 Color2F4F4F    30 深棕褐 Color97694F
32 深绿松石 Color7093DB
33 暗木 Color855E42      34 淡灰 Color545454
35 土灰玫瑰红 Color545454 36 长石 ColorD19275
37 火砖 Color8E2323      38 森林绿 Color238E23
39 金 ColorCD7F32        40 鲜黄 ColorDBDB70
41 灰 ColorC0C0C0        42 铜绿 Color527F76
43 青黄 Color93DB70        44 猎人绿 Color215E21
45 印度红 Color4E2F2F      46 土黄 Color9F9F5F
47 浅蓝 ColorC0D9D9      48 浅灰 ColorA8A8A8
49 浅钢蓝 Color8F8FBD    59 浅木 ColorE9C2A6
60 石灰绿 Color32CD32    61 桔黄 ColorE47833
62 褐红 Color8E236B      63 中海蓝 Color32CD99
64 中蓝 Color3232CD      65 中森林绿 Color6B8E23
66 中鲜黄 ColorEAEAAE    67 中兰花 Color9370DB
68 中海绿 Color426F42    69 中石板蓝 Color7F00FF
70 中春绿 Color7FFF00    71 中绿松石 Color70DBDB
72 中紫红 ColorDB7093    73 中木 ColorA68064
74 深藏青 Color2F2F4F    75 海军蓝 Color23238E
76 霓虹篮 Color4D4DFF      77 霓虹粉红 ColorFF6EC7
78 新深藏青 Color00009C  79 新棕褐 ColorEBC79E
80 暗金黄 ColorCFB53B    81 橙 ColorFF7F00
82 橙红 ColorFF2400      83 淡紫 ColorDB70DB
84 浅绿 Color8FBC8F      85 粉红 ColorBC8F8F
86 李子 ColorEAADEA      87 石英 ColorD9D9F3
88 艳蓝 Color5959AB      89 鲑鱼 Color6F4242
90 猩红 ColorBC1717      91 海绿 Color238E68
92 半甜巧克力 Color6B4226  93 赭 Color8E6B23
94 银 ColorE6E8FA        95 天蓝 Color3299CC
96 石板蓝 Color007FFF      97 艳粉红 ColorFF1CAE
98 春绿 Color00FF7F      99 钢蓝 Color236B8E
100 亮天蓝 Color38B0DE    101 棕褐 ColorDB9370
102 紫红 ColorD8BFD8      103 石板蓝 ColorADEAEA
104 浓深棕 Color5C4033    105 淡浅灰 ColorCDCDCD
106 紫罗兰 Color4F2F4F    107 紫罗兰红 ColorCC3299

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。