申万宏源技术指标测试大全之三十— Money Flow Index
由crisvalentine创建,最终由crisvalentine 被浏览 43 用户
指标介绍
资金流量指标(Money Flow Index):简称Mfi
所需数据和参数:Mfi(high,low,close,volume,nDay,thred1,thred2 )
指标伪码:
TP:=(HIGH+LOW+CLOSE)/3;
PMF:=IF(TP>REF(TP,1),TPV,0);
NMF:=IF(TP<REF(TP,1),TPV,0);
MIDVAL:=SUM(PMF,NDAY)/SUM(NMF,NDAY);
MFIVAL:100-100/(1+MIDVAL);
指标含义
/wiki/static/upload/5c/5ca89cee-1635-4779-a26e-f42b62ff5e62.pdf
指标介绍资金流量指标(Money Flow Index):简称Mfi所需数据和参数:Mfi(high,low,close,volume,nDay,thred1,thred2 )指标伪码:TP:=(HIGH+LOW+CLOSE)/3;PMF:=IF(TP>REF(TP,1),TPV,0);NMF:=IF(TP<REF(TP,1),TPV,0);MIDVAL:=SUM(PMF,NDAY)/SUM(NMF,NDAY);MFIVAL:100-100/(1+MIDVAL);图形示例: