MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

A B C D E F G H I J K L M N O P R S T U V W Y Z #

Money Flow Index
rev. 01/06/97

Taken from Stocks & Commodities, V. 12:8 (321-324):SIDEBAR: The Money Flow Index

"The money flow index (MFI) is a volume-weighted form of the relative strength index (RSI).

Instead of using up closes versus down closes, the MFI compares today's average price to yesterday's average price and then weighsthe average price by volume to calculate money flow (MF). The ratio of the summed positive and negative money flows are then normalized to be on a scale of zero to 100."

Here are the MetaStock formulas for the Money Flow Index:

Positive Money Flow

Sum(If(Typ(),>,Ref(Typ(),-1),V * Typ(),0),PERIODS)

Negative Money Flow

Sum(If(Typ(),<,Ref(Typ(),-1),V*Typ()*-1,0),PERIODS)

Money Flow Ratio

fml ( "Positive Money Flow" ) / fml ( "Negative Money Flow" )

Money Flow Index

100 - ( 100 / ( 1 + fml ( "Money Flow Ratio" ) ) )

***The time periods are controlled by PERIODS in the Positive and Negative Money Flow formulas.

Money Flow Index 3 in 1

Periods:=Input( "Periods", 2, 222, 14);
100 -
(100 /
(1 +
( (Sum(If(Typ(),>,Ref(Typ(),-1),V * Typ(),0),Periods)) /
(Sum(If(Typ(),<,Ref(Typ(),-1),V * Typ()*-1,0),Periods)) ) ) )

 

Source / From: TOP
http://www.equis.com

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie i rynkach walutowych (FOREX) niesie ze sob± ryzyko poważnych strat finansowych!