【通达信免费源码】换手率彩柱幅图公式 清楚知道当天的换手多少
发个换手率彩柱,平时我们总想清楚知道当天的换手多少,看量柱总是不那么直观,有这个就方便多了
公式源码:
N:=110;
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;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!