【通达信源码分享】换手率和量捕捉大黑马指标公式源码
2022-08-02未知 编 辑:掌上指标
换手率,是指在一定的时间范围内,某只股票的累计成交股数与流通股的比率。换手率的变化分析应该说远比其它的技术指标比较和形态的判断都更加可靠。换手率的高低不仅能够表示在特定时间内一只股票换手的充分程度和交投的活跃状况,更重要的是它还是判断和衡量多空双方分歧大小的一个重要参考指标。低换手率表明多空双方的意见基本一致,股价一般会由于成交低迷而出现小幅下跌或步入横盘整理。高换手率则表明多空双方的分歧较大,但只要成交活跃的状况能够维持,一般股价都会呈现出小幅上扬的走势。换手率可以精确估计成交量。通常不单纯使用成交量这个技术参数,因为股票的流通盘有大有小,同样的绝对成交量并不能说明股票是换手巨大还是基本没有换手。换手率准确反映放量与缩量,从本质上监控吸筹进货、获利抛压
公式源码:
DD11:30;
DD22:-2;
FJ1:1;FJ2:2;FJ3:3;FJ4:5;FJ5:8;FJ6:15;FJ7:25;
STICKLINE(C>0,FJ1,0,5,0 ),COLOR9F5F9F;
STICKLINE(C>0,FJ1,FJ2,5,0 ),COLOR545454;
STICKLINE(C>0,FJ2,FJ3,5,0 ),COLORD8BFD8;
STICKLINE(C>0,FJ3,FJ4,5,0 ),COLORLIRED;
STICKLINE(C>0,FJ4,FJ5,5,0 ),COLOR4F2F4F;
STICKLINE(C>0,FJ5,FJ6,5,0 ),COLORBC8F8F;
STICKLINE(C>0,FJ6,FJ7,5,0 ),COLOR4F4F2F;
HS:DYNAINFO(37)*100,LINETHICK2,COLORYELLOW;
DRAWTEXT(ISLASTBAR,1,'---1'),COLORGREEN;
DRAWTEXT(ISLASTBAR,2,'---2'),COLORGREEN;
DRAWTEXT(ISLASTBAR,3,'---3'),COLORGREEN;
DRAWTEXT(ISLASTBAR,5,'---5'),COLORGREEN;
DRAWTEXT(ISLASTBAR,8,'---8'),COLORGREEN;
DRAWTEXT(ISLASTBAR,15,'---15'),COLORGREEN;
DRAWTEXT(ISLASTBAR,25,'---25'),COLORGREEN;
DRAWTEXT(HS<FJ1 AND ISLASTBAR,0.5,'-----地量'),COLORYELLOW;
DRAWTEXT(HS=FJ1 AND ISLASTBAR,HS,'-----低靡'),COLORMAGENTA;
DRAWTEXT(HS=FJ2 AND ISLASTBAR,HS,'-----温和'),COLORYELLOW;
DRAWTEXT(HS=FJ3 AND ISLASTBAR,HS,'-----活跃'),COLORRED;
DRAWTEXT(HS=FJ4 AND ISLASTBAR,HS,'-----带量'),COLORGREEN;
DRAWTEXT(HS=FJ5 AND ISLASTBAR,HS,'-----放量'),COLORMAGENTA;
DRAWTEXT(HS=FJ6 AND ISLASTBAR,HS,'-----巨量'),COLORGREEN;
DRAWTEXT(HS=FJ7 AND ISLASTBAR,HS,'-----怪异'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=40,0.5,'绝对地量'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=40,1.5,'成交低靡'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=40,2.5,'成交温和'),COLOR5C3317;
DRAWTEXT(CURRBARSCOUNT=40,4,'成交活跃'),COLOR5C3317;
DRAWTEXT(CURRBARSCOUNT=40,6.5,'成交带量'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=40,11.5,'成交放量'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=40,20,'成交巨量'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=40,26,'成交怪异'),COLORYELLOW;