以下是通达信换手率彩柱源码附图

通达信公式换手率彩柱

N:=10;
J10:=O>REF(C,1) AND C<O;
J15:=V/REF(MA(V,13),1);
J20:=J15>5;
DRAWNUMBER(J10 AND J20,HSL*1.1,J15);
HSL:=100*DYNAINFO(37),VOLSTICK;
MA(HSL,20),COLORYELLOW;
P1:=HSL<=1;
P2:=HSL>1 AND HSL<=3;
P3:=HSL>3 AND HSL<=5;
P4:=HSL>5 AND HSL<=10;
P5:=HSL>10;
STICKLINE(P1,0,HSL,3,0),COLOR808080;
STICKLINE(P2,0,1,3,0),COLOR808080;
STICKLINE(P2,1,HSL,3,0),COLOR008000;
STICKLINE(P3,0,1,3,0),COLOR808080;
STICKLINE(P3,1,3,3,0),COLOR008000;
STICKLINE(P3,3,HSL,3,0),COLOR0080FF;
STICKLINE(P4,0,1,3,0),COLOR808080;
STICKLINE(P4,1,3,3,0),COLOR008000;
STICKLINE(P4,3,5,3,0),COLOR0080FF;
STICKLINE(P4,5,HSL,3,0),COLOR0000FF;
STICKLINE(P5,0,1,3,0),COLOR808080;
STICKLINE(P5,1,3,3,0),COLOR008000;
STICKLINE(P5,3,5,3,0),COLOR0080FF;
STICKLINE(P5,5,10,3,0),COLOR0000FF;
STICKLINE(P5,10,HSL,3,0),COLORFF0000;
 
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。