同花顺组合成交量指标公式

[复制链接]
查看194 | 回复0 | 2021-8-20 23:22:27 | 显示全部楼层 |阅读模式

VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
成交:=VOL,VOLSTICK;
买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));
买卖差:=(买盘 + 卖盘);
STICKLINE((买卖差 < 0),0,买卖差,10,0),ColorA25100;
STICKLINE((买卖差 < 0),0,买卖差,8,0),ColorBF6000;
STICKLINE((买卖差 < 0),0,买卖差,6,0),ColorDD6F00;
STICKLINE((买卖差 < 0),0,买卖差,4,0),ColorFB7D00;//蓝下跌
STICKLINE(C>=REF(C,1),VOL,0,10,1),Color0000A2;
STICKLINE(C>=REF(C,1),VOL,0,8,1),Color0000BF;
STICKLINE(C>=REF(C,1),VOL,0,6,1),Color0000DD;
STICKLINE(C>=REF(C,1),VOL,0,4,1),Color0000FB;//红持
STICKLINE(C<REF(C,1),VOL,0,10,1),ColorA2A200;
STICKLINE(C<REF(C,1),VOL,0,8,1),ColorBFBF00;
STICKLINE(C<REF(C,1),VOL,0,6,1),ColorDDDD00;
STICKLINE(C<REF(C,1),VOL,0,4,1),ColorFFFF02;//兰风险
启动:MA(成交,5),ColorFF17FF,LINETHICK2;
洗盘:MA(成交,35),ColorFFFFFF,LINETHICK2;
异动:MA(成交,135),ColorFF2020,LINETHICK2;
STICKLINE(C>=REF(C,1) AND 启动<异动 AND V<启动,VOL,0,10,0),Color0051A2;
STICKLINE(C>=REF(C,1) AND 启动<异动 AND V<启动,VOL,0,8,0),Color0060BF;
STICKLINE(C>=REF(C,1) AND 启动<异动 AND V<启动,VOL,0,6,0),Color006FDD;
STICKLINE(C>=REF(C,1) AND 启动<异动 AND V<启动,VOL,0,4,0),Color007DFB;//橘黄
STICKLINE(C<REF(C,1) AND 启动<异动 AND V<启动,VOL,0,10,0),Color00A200;
STICKLINE(C<REF(C,1) AND 启动<异动 AND V<启动,VOL,0,8,0),Color00BF00;
STICKLINE(C<REF(C,1) AND 启动<异动 AND V<启动,VOL,0,6,0),Color00DD00;
STICKLINE(C<REF(C,1) AND 启动<异动 AND V<启动,VOL,0,4,0),Color00FB00;//绿弱
STICKLINE(CROSS(启动,异动) OR ((洗盘 > 异动) AND CROSS(启动,洗盘)),0,VOL,10,0),ColorA200A2;
STICKLINE(CROSS(启动,异动) OR ((洗盘 > 异动) AND CROSS(启动,洗盘)),0,VOL,8,0),ColorBF00BF;
STICKLINE(CROSS(启动,异动) OR ((洗盘 > 异动) AND CROSS(启动,洗盘)),0,VOL,6,0),ColorDD00DD;
STICKLINE(CROSS(启动,异动) OR ((洗盘 > 异动) AND CROSS(启动,洗盘)),0,VOL,4,0),ColorFB00FB;//粉加仓
立桩量:=IF(VOLAMOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(立桩量>=1,O,VOL*1.1,10,0),Color00A2A2;
STICKLINE(立桩量>=1,O,VOL*1.1,8,0),Color00BFBF;
STICKLINE(立桩量>=1,O,VOL*1.1,6,0),Color00DDDD;
STICKLINE(立桩量>=1,O,VOL*1.1,4,0),Color00FBFB;//黄立桩
STICKLINE(FILTER(CROSS(V,MA(V,12)) AND C>O AND V/REF(V,1)<2,7),V*0.5,V,10,0),ColorA20051;
STICKLINE(FILTER(CROSS(V,MA(V,12)) AND C>O AND V/REF(V,1)<2,7),V*0.5,V,8,0),ColorBF0060;
STICKLINE(FILTER(CROSS(V,MA(V,12)) AND C>O AND V/REF(V,1)<2,7),V*0.5,V,6,0),ColorDD006F;
STICKLINE(FILTER(CROSS(V,MA(V,12)) AND C>O AND V/REF(V,1)<2,7),V*0.5,V,4,0),ColorFF0080;//紫色强
日金流:(AMOUNT/100000000),Color1A1AFF;
五金流:(EMA(日金流,5)/REF(EMA(日金流,5),5)),ColorFF0FFF;
日换手:VOL/CAPITAL*100,POINTDOT,coloryellow;
周换手:SUM(日换手,5),COLORA5FE4B;
流通盘(亿):CAPITAL/1000000,POINTDOT,Color0FFF0F;
DRAWICON(CROSS(启动,异动),V,8),colorred;
DRAWICON(CROSS(V,异动) AND 启动<=异动 AND C>REF(C,1),V,3),coloryellow;

202108202252.jpg

202108202252.jpg

 

回复

使用道具 举报

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

本版积分规则