以下是通达信换手率指标源码副图
换手率变成副图指标,有喜欢看换手率的可以参考一下,并非原创,在原指标上稍作修改
换手:VOL/CAPITAL*1;
低换手小于2:换手<2,COLORFFFF00;
温和换手2到5:换手>2 AND 换手<5,COLORMAGENTA;
热换手5到11:换手>5 AND 换手<11,COLORYELLOW;
烫手换手11到17:换手>11 AND 换手<17,COLORRED;
高潮换手大于17:换手>17,COLORGREEN;HS:=V/CAPITAL*1;
5日换手:=SUM(HS,5),color006699;
10日换手:=SUM(HS,10),COLOR0033FF;
60日换手:=SUM(HS,60),COLORCC00CC;120日换手:=SUM(HS,120),COLORCC00CC;DRAWTEXTABS(440,0,’5日换手:’+SUM(HS,5)+’%’),COLOR0000FF;
DRAWTEXTABS(550,0,’10日换手:’+SUM(HS,10)+’%’),COLOR0000FF;
DRAWTEXTABS(680,0,’60日换手:’+SUM(HS,60)+’%’),COLOR0000FF;
DRAWTEXTABS(800,0,’120日换手:’+SUM(HS,120)+’%’),COLOR0000FF;
获利比例%:=WINNER(C)*100;DRAWTEXTABS(800,15,’筹码获利比例%:’+WINNER(C)*100+’%’),COLOR0000FF;
STICKLINE(换手<2,0,换手,6,0),COLORFF9900;
STICKLINE(换手>2 AND 换手<5,0,换手,6,0)COLORFF00FF;
STICKLINE(换手>5 AND 换手<11,0,换手,6,0)COLOR00FFFF;
STICKLINE(换手>11 AND 换手<17,0,换手,6,0),COLORRED;
STICKLINE(换手>17,0,换手,6,0),COLOR00FF00;
评论(0)