飞狐换手买卖盘指标公式

[复制链接]
查看111 | 回复0 | 2021-8-21 12:34:04 | 显示全部楼层 |阅读模式

input:HSX(1,1,2),HSD( 3 ,1, 5),HSCB( 3, 3, 100);
量:=v;
换手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:=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));
DLX : (买盘-(-卖盘))/量*换手, COLORSTICK;
DLX1:SUM(DLX,6),coloryellow;
DLX2:ma(DLX1,5),COLORMAGENTA;
DLX3:ma(DLX1,10),COLORGREEN;

202108211146.jpg

202108211146.jpg

 

回复

使用道具 举报

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

本版积分规则