同花顺资金动向指标公式

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

AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
大单动向:=买量+卖量;
STICKLINE(大单动向<0,0,大单动向,10,0),colorcyan;
STICKLINE(大单动向<0,0,大单动向,8,0),colorcyan;
STICKLINE(大单动向<0,0,大单动向,6,0),colorcyan;
STICKLINE(大单动向<0,0,大单动向,4,0),colorcyan;
STICKLINE(大单动向>0,0,大单动向,10,0),colorred;
STICKLINE(大单动向>0,0,大单动向,8,0),colorred;
STICKLINE(大单动向>0,0,大单动向,6,0),colorred;
STICKLINE(大单动向>0,0,大单动向,4,0),colorred;
MA1:MA(大单动向,3),colorred;
MA2:MA(大单动向,5),colorgreen;
MA3:MA(大单动向,10),coloryellow;

202108202221.jpg

202108202221.jpg

 

回复

使用道具 举报

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

本版积分规则