飞狐买卖力量指标公式

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

AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
DIFF:(EMA(主买,5)-EMA(主买,20))/EMA(主买,20)*100;
DEA:EMA(DIFF,10);
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK3;
STICKLINE(MACD>ref(MACD,1) and MACD<0,0,MACD,3,0 )colormagenta;
polyline(1,3),colorwhite;

202108211159.jpg

202108211159.jpg

 

回复

使用道具 举报

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

本版积分规则