资源描述:
《通达信的公式 DRAWICON 49个图标公式》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、通达信的DRAWICON49个图标公式 在图形上绘制小图标.用法:RAWICON(COND,PRICE,TYPE),当COND条件满足时,在PRICE位置画TYPE号图标。 例如:RAWICON(CLOSE>OPEN,LOW,1)表示当收阳时在最低价位置画1号图标。DRAWICON1-20都画什么图形? {1——25的图标公式}A:=CURRBARSCOUNT;A1:=0.0007;DRAWTEXT(A=92,A1*1.008,' ←1');DRAWICON(A=92,A1,1);DRAWTEXT(A=84,A1*1.008,' ←2');
2、DRAWICON(A=84,A1,2);DRAWTEXT(A=76,A1*1.008,' ←3');DRAWICON(A=76,A1,3);DRAWTEXT(A=68,A1*1.008,' ←4');DRAWICON(A=68,A1,4);DRAWTEXT(A=60,A1*1.008,' ←5');DRAWICON(A=60,A1,5);DRAWTEXT(A=92,A1*0.99,' ←6');DRAWICON(A=92,A1*0.98,6);DRAWTEXT(A=84,A1*0.99,' ←7');DRAWICON(A=84,A1*0
3、.98,7);DRAWTEXT(A=76,A1*0.99,' ←8');DRAWICON(A=76,A1*0.98,8);DRAWTEXT(A=68,A1*0.99,' ←9');DRAWICON(A=68,A1*0.98,9);DRAWTEXT(A=60,A1*0.99,' ←10');DRAWICON(A=60,A1*0.98,10);DRAWTEXT(A=92,A1*0.97,' ←11');DRAWICON(A=92,A1*0.96,11);DRAWTEXT(A=84,A1*0.97,' ←12');DRAWICON(A=84,
4、A1*0.96,12);DRAWTEXT(A=76,A1*0.97,' ←13');DRAWICON(A=76,A1*0.96,13);DRAWTEXT(A=68,A1*0.97,' ←14');DRAWICON(A=68,A1*0.96,14);DRAWTEXT(A=60,A1*0.97,' ←15');DRAWICON(A=60,A1*0.96,15);DRAWTEXT(A=92,A1*0.95,' ←16');DRAWICON(A=92,A1*0.94,16);DRAWTEXT(A=84,A1*0.95,' ←17');DRAWI
5、CON(A=84,A1*0.94,17);DRAWTEXT(A=76,A1*0.95,' ←18');DRAWICON(A=76,A1*0.94,18);DRAWTEXT(A=68,A1*0.95,' ←19');DRAWICON(A=68,A1*0.94,19);DRAWTEXT(A=60,A1*0.95,' ←20');DRAWICON(A=60,A1*0.94,20);DRAWTEXT(A=92,A1*0.93,' ←21');DRAWICON(A=92,A1*0.92,21);DRAWTEXT(A=84,A1*0.93,' ←2
6、2');DRAWICON(A=84,A1*0.92,22);DRAWTEXT(A=76,A1*0.93,' ←23');DRAWICON(A=76,A1*0.92,23);DRAWTEXT(A=68,A1*0.93,' ←24');DRAWICON(A=68,A1*0.92,24);DRAWTEXT(A=60,A1*0.93,' ←25');DRAWICON(A=60,A1*0.92,25);{26——49图标公式}A:=CURRBARSCOUNT;A1:=0.0007;DRAWTEXT(A=92,A1*1.008,' ←26');DRAW
7、ICON(A=92,A1,26);DRAWTEXT(A=84,A1*1.008,' ←27');DRAWICON(A=84,A1,27);DRAWTEXT(A=76,A1*1.008,' ←28');DRAWICON(A=76,A1,28);DRAWTEXT(A=68,A1*1.008,' ←29');DRAWICON(A=68,A1,29);DRAWTEXT(A=60,A1*1.008,' ←30');DRAWICON(A=60,A1,30);DRAWTEXT(A=92,A1*0.99,' ←31');DRAWICON(A=92,A1
8、*0.98,31);DRAWTEXT(A=84,A1*0.99,'