{使用说明;当换手乖离值上穿绿色带,表明有进场资金异常情形出现(用红加号图标提示),绿色带内加多空量能对比柱体辅助参考。} STICKLINE(1,1,1.5,5,0),COLOR00FF00;
A1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
买:=IF(CLOSE>OPEN,A1*(HIGH-LOW),IF(CLOSE<OPEN,A1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖:=IF(CLOSE>OPEN,A1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,A1*(HIGH-LOW),VOL/2));
量:=(买-MA(买,20))/MA(买,20);
量能:=IF(量>0,量,0),COLORYELLOW,NODRAW;
累计量能:=SUM(量能,5)/1,COLORRED,NODRAW;
STICKLINE(量能>0,1.1,1.4,2,0),COLORFF00FF;
STICKLINE(量能=0,1.1,1.4,2,0),COLORA53412;
周期:=SUMBARS(VOL,CAPITAL);
换手率:=VOL/CAPITAL*100;
总换手率:=SUM(换手率,周期);
ZP:=总换手率/周期;
两天平均换手:=MA(换手率,3);
换手乖离:(两天平均换手-ZP)/ZP,COLOR0000FF LINETHICK2;
DRAWICON(换手乖离>1.5,0.8,23);
通达信换手乖离指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/12935.html