最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 换手率指标公式(5种经典的副图源码)

    正文概述    2024-05-04 04:18:39  
    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; {通达信换手率指标公式} HS:=/CAPITAL*100; TJ1:=HS TJ2:=HS TJ3:=HS TJ4:=HS TJ5:=HS TJ6:=HS TJ7:=HS TJ8:=HS 换手率:VOL/CAPITAL*100,NODRAW,COLORFFFF00; 量:VOL,VOLSTICK,COLORFFFF00; 盘=亿:FINANCE(7)/100000000,LINETHICK0,COLORWHITE; 每股收益:FINANCE(33),LINETHICK0,COLORYELLOW; 公积金:FINANCE(18),LINETHICK0,COLORWHITE; 市盈率:DYNAINFO(39),LINETHICK0,COLORWHITE; 地量0__1:0,COLORFFFFFF; 低靡1__2:0,COLORFFFF00; 温和2__3:0,COLOR208FFF; 活跃3__5:0,COLOR00FFFF; 带量5__8:0,COLORFF00FF; 放量8__15:0,COLOR00FF00; 巨量15__25:0,COLORFF5500; STICKLINE(TJ1,0,V*0.3,2.3,0),COLORFFFFFF; STICKLINE(TJ3,V,V*0.5,2.3,0),COLOR208FFF; STICKLINE(TJ4,V,V*0.5,2.3,0),COLOR00FFFF; STICKLINE(TJ5,V,V*0.5,2.3,0),COLORFF00FF; STICKLINE(TJ6,V,V*0.5,2.3,0),COLOR00FF00; STICKLINE(TJ7,V,V*0.5,2.3,0),COLORFF2900; STICKLINE(TJ8,V,V*0.5,2.3,0),COLORFF0000; 五:MA(VOL,5), COLORWHITE,LINETHICK1; 十:MA(VOL,10) ,COLOR00FFFF,LINETHICK1; {通达信柱状换手率指标公式} 成交:=vol,COLORFFFF00,LINETHICK0; BB:=CAPITAL; 换手:成交*100/BB,LINETHICK0; 今日换手:换手,LINETHICK0; HS:SUM(VOL,0)/CAPITAL,LINETHICK0; 换手次数:FLOOR(HS),LINETHICK0; BBB:=IF(换手次数 0,换手次数,0); BBB2:=IF(BBB-REF(BBB,1) 0,BBB,0); 距上次完全换手:=BArslAst(BBB2),LINETHICK0,COLORGREEN; 平均换手天:=FLOOR((BARSCOUNT(CLOSE)-距上次完全换手)/换手次数),COLORCYAN,LINETHICK0; A2:=成交/CAPITAL*100; A3:=A2 3ANDA2 A4:=A2 5ANDA2 A5:=A2 7ANDA2 A6:=A2 {STICKLINE(A2 3ANDC O,0,A2,6,0),COLOR555500; STICKLINE(A2 3ANDC O,0,A2,5,0),COLOR777700; STICKLINE(A2 3ANDC O,0,A2,4,0),COLOR999900; STICKLINE(A2 3ANDC O,0,A2,3,0),COLORBBBB00; STICKLINE(A2 3ANDC O,0,A2,2,0),COLORDDDD00; STICKLINE(A2 3ANDC O,0,A2,1,0),COLORFFFF00;} STICKLINE(A2 3ANDC O,0,A2,3,0),COLORFFFF00;{STICKLINE(A2 3ANDC O,0,A2,6,0),COLOR005500; STICKLINE(A2 3ANDC O,0,A2,5,0),COLOR007700; STICKLINE(A2 3ANDC O,0,A2,4,0),COLOR009900; STICKLINE(A2 3ANDC O,0,A2,3,0),COLOR00BB00; STICKLINE(A2 3ANDC O,0,A2,2,0),COLOR00DD00; STICKLINE(A2 3ANDC O,0,A2,1,0),COLOR00FF00;} STICKLINE(A2 3ANDC O,0,A2,3,0),COLOR00FF00;{STICKLINE(A3,0,A2,6,0),COLOR553300; STICKLINE(A3,0,A2,5,0),COLOR774400; STICKLINE(A3,0,A2,4,0),COLOR995500; STICKLINE(A3,0,A2,3,0),COLORBB6600; STICKLINE(A3,0,A2,2,0),COLORDD7700; 换手积极:STICKLINE(A3,0,A2,1,0),COLORFF8800;} 换手积极:STICKLINE(A3,0,A2,3,0),COLORFF8800;{STICKLINE(A4,0,A2,6,0),COLOR555555; STICKLINE(A4,0,A2,5,0),COLOR777777; STICKLINE(A4,0,A2,4,0),COLOR999999; STICKLINE(A4,0,A2,3,0),COLORBBBBBB; STICKLINE(A4,0,A2,2,0),COLORDDDDDD; 换手活跃:STICKLINE(A4,0,A2,1,0),COLORYELLOW;} 换手活跃:STICKLINE(A4,0,A2,3,0),COLORYELLOW;{STICKLINE(A5,0,A2,6,0),COLOR550000; STICKLINE(A5,0,A2,5,0),COLOR770000; STICKLINE(A5,0,A2,4,0),COLOR990000; STICKLINE(A5,0,A2,3,0),COLORBB0000; STICKLINE(A5,0,A2,2,0),COLORDD0000; 换手频繁:STICKLINE(A5,0,A2,1,0),COLORGREEN;} 换手频繁:STICKLINE(A5,0,A2,3,0),COLORGREEN;{STICKLINE(A6,0,A2,6,0),COLOR000055; STICKLINE(A6,0,A2,5,0),COLOR000077; STICKLINE(A6,0,A2,4,0),COLOR000099; STICKLINE(A6,0,A2,3,0),COLOR0000BB; STICKLINE(A6,0,A2,2,0),COLOR0000DD; 巨幅换手:STICKLINE(A6,0,A2,1,0),COLOR0000FF;} 巨幅换手:STICKLINE(A6,0,A2,3,0),COLOR0000FF; AA:=A2 1ANDA2 {STICKLINE(AA,0,A2,6,0),COLOR553300; STICKLINE(AA,0,A2,5,0),COLOR773300; STICKLINE(AA,0,A2,4,0),COLOR993300; STICKLINE(AA,0,A2,3,0),COLORBB6600; STICKLINE(AA,0,A2,2,0),COLORDD7700;} STICKLINE(AA,0,A2,3,0),COLORDD7700;BBB3:=CON2STR(REF(BBB,距上次完全换手),0); DRAWTEXT(BBB2,A2,'次换手'),COLORFFFFFF; DRAWTEXT(换手 REF(换手,1)*2,换手*0.8,''),COLORWHITE; ma5:MA(换手,5),COLORRED,LINETHICK2; MA10:MA(换手,10),COLORYELLOW,LINETHICK2; {通达信毛利率、营业增长、换手率指标公式} DRAWTEXT_FIX(ISLAstBAR,0.01,0,0,STRCAT(STRCAT('营业收入增长率:',CON2STR(FINVALUE(183),2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.01,0.4,0,STRCAT(STRCAT('净利润增长率:',CON2STR(FINVALUE(184),2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.415,0.0,1.0,STRCAT(STRCAT('一日换手率累计:',CON2STR(SUM(DYNAINFO(37)*100,1),2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.42,0.4,1.0,STRCAT(STRCAT('五日换手率累计:',CON2STR(SUM(DYNAINFO(37)*100,5),2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.56,0.0,1.0,STRCAT(STRCAT('十日换手率累计:',CON2STR(SUM(DYNAINFO(37)*100,10),2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.577,0.4,1.0,STRCAT(STRCAT('二十日换手率累计:',CON2STR(SUM(DYNAINFO(37)*100,20),2)),'%')),COLORYELLOW; 毛利率:=STRCAT(STRCAT('销售毛利率:',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2)),'%'); 每股收益:=STRCAT(STRCAT('每股收益:',CON2STR(FINANCE(38),2)),'元'); DRAWTEXT_FIX(ISLASTBAR,0.17,0.0,0,毛利率),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.17,0.4,0,每股收益),COLORYELLOW; 上涨家数:=STRCAT('沪深总上涨家数:',CON2STR(DYNAINFO(60),0)); 下跌家数:=STRCAT('沪深总下跌家数:',CON2STR(DYNAINFO(61),0)); DRAWTEXT_FIX(ISLASTBAR,0.62,0,0,上涨家数),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.62,0.4,0,下跌家数),COLORYELLOW;




    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 换手率指标公式(5种经典的副图源码) 加入收藏