当前位置:→ 公式网 > 公式解答 > 正文 ℃
请老师给帮忙改一下这个通达信换手率公式?
希望把这个代码加到主图中,显示在主图的最下方,谢谢!
换手:V/CAPITAL*100,LINETHICK0;
换手冷:STICKLINE(换手<3,(0-5)*10,(换手-5)*10,0.3,1),COLOR666666;
换手冷清:STICKLINE(换手<1.3,(0-5)*10,(换手-5)*10,0.3,0),COLOR00FF00;
换手活跃:STICKLINE(换手>=3 AND 换手<7,(0-5)*10,(换手-5)*10,0.5,0),COLORDD00DD;
换手热:STICKLINE(换手>=7,(0-5)*10,(换手-5)*10,0.5,0),COLOR0000DD;
换手热烈:STICKLINE(换手>=10,(0-5)*10,(换手-5)*10,0.5,0),COLORFFFFFF;
{公式在线提供:www.gszx.com.cn}解答:
换手:=CONST(V/CAPITAL*100);
DRAWTEXT(CURRBARSCOUNT=20 AND 换手<3 AND 换手>=1.3,CONST(HHV(H,120))*0.97,'换手解盘:换手冷');
DRAWTEXT(CURRBARSCOUNT=20 AND 换手<1.3,CONST(HHV(H,120))*0.97,'换手解盘:换手冷清');
DRAWTEXT(CURRBARSCOUNT=20 AND 换手>=3 AND 换手<7 ,CONST(HHV(H,120))*0.97,'换手解盘:换手活跃');
DRAWTEXT(CURRBARSCOUNT=20 AND 换手>=7 AND 换手<10,CONST(HHV(H,120))*0.97,'换手解盘:换手热');
DRAWTEXT(CURRBARSCOUNT=20 AND 换手>=10,CONST(HHV(H,120))*0.97,'换手解盘:换手热烈');