通达信股票公式之资金流向MFI
资金流向MFI(六天资金流、升背离、顶背离、共振)
{n 1 100 14}
TYP := (HIGH + LOW + CLOSE)/3;
V1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),N)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),N);
MFI:100-(100/(1+V1)),COLORRED;
六天资金流:EMA(MFI,6),COLORGREEN;
DD:=C=HHV(C,34);
EE:=MFI<REF(MFI,1) AND REF(MFI<REF(MFI,1),1)=1;
CC:=C>REF(C,1) AND REF(C>REF(C,1),1)=1;
升背离:(CC AND EE)*MFI,COLORBLUE,STICK,LINETHICK2;
顶背离:ABS((DD AND EE AND MFI<HHV(MFI,34))*MFI),STICK,LINETHICK3,COLORGREEN;
FF:=C=LLV(C,89);
GG:= MFI>REF(MFI,1) AND REF(MFI>REF(MFI,1),1)=1;
LL:=C<REF(C,1) AND REF(C<REF(C,1),1)=1;
降背离:(LL AND GG)*MFI,COLORMAGENTA,STICK,LINETHICK2;
底背离:ABS((FF AND GG AND MFI>LLV(MFI,89))*MFI),STICK,LINETHICK3,COLORRED;
VAR1:=C/HHV(C,20)=1;
VAR2:=MFI/HHV(MFI,20)=1;
共振:(VAR1 AND VAR2)*100,STICK,COLORWHITE;
80;
20;
(南方财富网SOUTHMONEY.COM)
延伸阅读
|
要闻导读
|
||||||||||
|