DRAWICON的20个图标_股市拾遗_新浪博客

发布时间:2021-11-02 发表于话题:股票图标解释大全 点击:13 当前位置:财神股票资讯网 体育 DRAWICON的20个图标_股市拾遗_新浪博客 手机阅读

在图形上绘制小图标.用法:DRAWICON(COND,PRICE,TYPE),当COND条件满足时,在PRICE位置画TYPE号图标。例如:DRAWICON(CLOSE>OPEN,LOW,1)表示当收阳时在最低价位置画1号图标。DRAWICON1-20都画什么图形?



A:=CURRBARSCOUNT;
A1:=CONST(HHV(H,120));
A2:=CONST(LLV(L,120));
STICKLINE(ISLASTBAR,A1*1.01,A1*1.01,0,0);
STICKLINE(ISLASTBAR,A2*0.99,A2*0.99,0,0);
K1:=CONST(0.93*(A1-A2)+A2);K2:=CONST(0.65*(A1-A2)+A2);
K3:=CONST(0.38*(A1-A2)+A2);K4:=CONST(0.10*(A1-A2)+A2);

DRAWTEXT(A=92,K1,'←1#');DRAWICON(A=92,K1,1);
DRAWTEXT(A=80,K1,' ←2#');DRAWICON(A=80,K1,2);
DRAWTEXT(A=68,K1,' ←3#');DRAWICON(A=68,K1,3);
DRAWTEXT(A=56,K1,' ←4#');DRAWICON(A=56,K1,4);
DRAWTEXT(A=44,K1,' ←5#');DRAWICON(A=44,K1,5);

DRAWTEXT(A=92,K2,'←6#');DRAWICON(A=92,K2,6);
DRAWTEXT(A=80,K2,' ←7#');DRAWICON(A=80,K2,7);
DRAWTEXT(A=68,K2,' ←8#');DRAWICON(A=68,K2,8);
DRAWTEXT(A=56,K2,' ←9#');DRAWICON(A=56,K2,9);
DRAWTEXT(A=44,K2,' ←10#');DRAWICON(A=44,K2,10);

DRAWTEXT(A=92,K3,'←11#');DRAWICON(A=92,K3,11);
DRAWTEXT(A=80,K3,' ←12#');DRAWICON(A=80,K3,12);
DRAWTEXT(A=68,K3,' ←13#');DRAWICON(A=68,K3,13);
DRAWTEXT(A=56,K3,' ←14#');DRAWICON(A=56,K3,14);
DRAWTEXT(A=44,K3,' ←15#');DRAWICON(A=44,K3,15);

DRAWTEXT(A=92,K4,'←16#');DRAWICON(A=92,K4,16);
DRAWTEXT(A=80,K4,' ←17#');DRAWICON(A=80,K4,17);
DRAWTEXT(A=68,K4,' ←18#');DRAWICON(A=68,K4,18);
DRAWTEXT(A=56,K4,' ←19#');DRAWICON(A=56,K4,19);
DRAWTEXT(A=44,K4,' ←20#');DRAWICON(A=44,K4,20);



本文来源:https://www.thyysj.com/info/601452.html

标签组:[k4

相关APP下载

热门话题

体育推荐文章

体育热门文章