以下是DRAWICON系统图标参数对应表(源码 副图 通达信 贴图
高手路过别喷 我感觉对于喜欢公式的朋友还是有点意思的!分享给大家
主图图案指标副图源码 喜欢自己DIY的可以用到
假如图中蝴蝶 对应30代码 可以这样写
条件:c;
DRAWICON(条件,H*0.995,30);{画蝴蝶};
还有就是你下载别人公式感觉里面图标不好看 可以自己搜索DRAWICON 找到对应图标 修改为自己喜欢的图标图案
{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');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.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,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');DRAWICON(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,' ←22');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);
///////////////////上方为副图1公式下方为副图2///////////
{26——49图标公式}
A:=CURRBARSCOUNT;A1:=0.0007;
DRAWTEXT(A=92,A1*1.008,' ←26');DRAWICON(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*0.98,31);
DRAWTEXT(A=84,A1*0.99,' ←32');DRAWICON(A=84,A1*0.98,32);
DRAWTEXT(A=76,A1*0.99,' ←33');DRAWICON(A=76,A1*0.98,33);
DRAWTEXT(A=68,A1*0.99,' ←34');DRAWICON(A=68,A1*0.98,34);
DRAWTEXT(A=60,A1*0.99,' ←35');DRAWICON(A=60,A1*0.98,35);
DRAWTEXT(A=92,A1*0.97,' ←36');DRAWICON(A=92,A1*0.96,36);
DRAWTEXT(A=84,A1*0.97,' ←37');DRAWICON(A=84,A1*0.96,37);
DRAWTEXT(A=76,A1*0.97,' ←38');DRAWICON(A=76,A1*0.96,38);
DRAWTEXT(A=68,A1*0.97,' ←39');DRAWICON(A=68,A1*0.96,39);
DRAWTEXT(A=60,A1*0.97,' ←40');DRAWICON(A=60,A1*0.96,40);
DRAWTEXT(A=92,A1*0.95,' ←41');DRAWICON(A=92,A1*0.94,41);
DRAWTEXT(A=84,A1*0.95,' ←42');DRAWICON(A=84,A1*0.94,-6);
DRAWTEXT(A=76,A1*0.95,' ←43');DRAWICON(A=76,A1*0.94,-11);
DRAWTEXT(A=68,A1*0.95,' ←44');DRAWICON(A=68,A1*0.94,-23);
DRAWTEXT(A=60,A1*0.95,' ←45');DRAWICON(A=60,A1*0.94,-24);
DRAWTEXT(A=92,A1*0.93,' ←46');DRAWICON(A=92,A1*0.92,-28);
DRAWTEXT(A=84,A1*0.93,' ←47');DRAWICON(A=84,A1*0.92,-33);
DRAWTEXT(A=76,A1*0.93,' ←48');DRAWICON(A=76,A1*0.92,-34);
DRAWTEXT(A=68,A1*0.93,' ←49');DRAWICON(A=68,A1*0.92,-41);