同花顺动能量副图指标 源码介绍
同花顺动能量副图指标 源码
本指标是趋势性指标,以动量线主力线散户线结合一起,来判断拉升力。
换手:=V/CAPITAL*100;
M:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:=IF(CLOSE>OPEN,M*(HIGH-LOW),IF(CLOSE<OPEN,M*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖盘:=IF(CLOSE>OPEN,0-M*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-M*(HIGH-LOW),0-VOL/2));
M1:=(买盘-(-卖盘))/VOL*换手;
动量1:SUM(M1,3),coloryellow;
动量2:MA(动量1,10),COLORff00ff ,linethick1;
主力:=MA(换手,4);
大户:=MA(换手,9);
散户:=MA(换手,34);
均量:=(主力+大户+散户)/3;
散动量:(散户-均量),colorgreen,LINETHICK1;
主动量:(主力-均量),colorred,LINETHICK1;
gd48315