同花顺换手率主量副图指标 源码介绍
同花顺换手率主量副图指标 源码
指标说明:
换手率当日大于2%,颜色为白色柱体;
换手率当日大于3%,颜色为红色柱体;
换手率当日大于6%,颜色为紫色柱体;
副图中两条线为5日换手和30日换手;
当日换手率大于3%且5日换手上穿30日换手则会在当日换手率柱上方出现一个绿色的五星;
DRAWGBK(DATE>900101,STRIP(RGB(100,0,0),RGB(30,30,0),1));
HS:=V/CAPITAL*100,colorred;
五日换手:MA(HS,5),color00EE00;
三十日换手:MA(HS,30),colorFF4400;
STICKLINE(HS>0,0,HS,8,0),colorwhite;
STICKLINE(HS>2,0,HS,8,0),coloryellow;
STICKLINE(HS>3,0,HS,8,0),colorred;
STICKLINE(HS>6,0,HS,8,0),colormagenta;
DRAWTEXT(CROSS(五日换手,三十日换手) AND HS>3,HS*1.05,'★'),colorgreen;
gd48670