在线检测未来函数

通达信主力资金方向指标公式

来源:Internet,编辑:股旁网,2014-10-19

A1:30,COLORWHITE;
A2:50,COLORRED;
A3:60,POINTDOT,COLORYELLOW;
A4:70,POINTDOT,COLORGREEN;
A5:80,COLORRED;
TYP := AMOUNT/VOL/100;
V1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),14)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),14);
MFI:=100-(100/(1+V1));
资金流向:EMA(MFI,5)COLORBLUE;
IF(资金流向<50,资金流向,DRAWNULL)COLORGREEN;
IF(资金流向>80,资金流向,DRAWNULL)COLORMAGENTA;
IF(资金流向<80 AND 资金流向>60,资金流向,DRAWNULL),COLORRED;
IF(资金流向>50 AND 资金流向<=60,资金流向,DRAWNULL)COLORYELLOW

通达信主力资金方向指标公式

 

相关文章