在线检测未来函数

通达信换手笔均量指标公式

来源:Internet,编辑:股旁网,2013-12-15

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<FJ2 AND HS>=FJ1 AND ISLASTBAR,HS,'-----低靡'),COLORMAGENTA;
DRAWTEXT(HS<FJ3 AND HS>=FJ2 AND ISLASTBAR,HS,'-----温和'),COLORYELLOW;
DRAWTEXT(HS<FJ4 AND HS>=FJ3 AND ISLASTBAR,HS,'-----活跃'),COLORRED;
DRAWTEXT(HS<FJ5 AND HS>=FJ4 AND ISLASTBAR,HS,'-----带量'),COLORGREEN;
DRAWTEXT(HS<FJ6 AND HS>=FJ5 AND ISLASTBAR,HS,'-----放量'),COLORMAGENTA;
DRAWTEXT(HS<FJ7 AND HS>=FJ6 AND ISLASTBAR,HS,'-----巨量'),COLORGREEN;
DRAWTEXT(HS<100 AND 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;
总笔:=TRADENUM,NODRAW;{用免费的,可在晚上10点后下载L2数据,盘中免费深市可用}
量:=V,NODRAW;
笔均:=V/总笔;
MA5:MA(笔均,5),COLOR0000FF;
MA21:MA(笔均,13),COLOR00FFFF;

通达信换手笔均量指标公式

 

相关文章