[通达信] 通达信变色换手柱副图指标 源码 贴图

[复制链接]
查看69 | 回复0 | 2024-11-12 10:45:35 | 显示全部楼层 |阅读模式
通达信变色换手柱副图指标 源码 贴图
wp1.png

wp2.png

成交:=VOL;
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);
平均换手天:=FLOOR((BARSCOUNT(CLOSE)-距上次完全换手)/换手次数);
A2:=成交/CAPITAL*100;
A3:=A2>3 AND A2<=5;
A4:=A2>5 AND A2<=7;
A5:=A2>7 AND A2<=10;
A6:=A2>10;
STICKLINE(A2<3 AND C>O,0,A2,1,0),COLORFFFF00;
STICKLINE(A2<3 AND C<O,0,A2,1,0),COLOR00FF00;
换手积极:STICKLINE(A3,0,A2,1,0),COLORFF8800;
换手活跃:STICKLINE(A4,0,A2,1,0),COLORYELLOW;
换手频繁:STICKLINE(A5,0,A2,1,0),COLORGREEN;
巨幅换手:STICKLINE(A6,0,A2,1,0),COLOR0000FF;
AA:=A2>1 AND A2<=3;{WWW.GSZB.TOP}
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;

 

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

66

主题

0

回帖

525

积分

职业

积分
525