log in     sign up for free
 
Dramatic and emotional trading experiences tend to be negative. Pride is a great banana peel, as are hope, fear, and greed. My biggest slip-ups occurred shortly after I got emotionally involved with positions.
Ed Seykota
 
 
Home
systems (284)
 
Special offer: buy MetaStock (try for free)   |   Reuters QuoteCenter Real-Time Data (get a free month)   |   EOD Data
 

Buy

MetaStock

     (special offer)
 
 
 

Buy

EOD data for MetaStock

     (special offer)
 
 
 

Buy

Realtime data for MetaStock

     (special offer)
 
 
 
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

Money Flow Index

Formula for: MetaStock

indicator


 

 

Views:  1575

Added: July 19, 2007
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: MetaStock, indicator
 
Your Ad Here
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.

 

 



Code:

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: http://www.equis.com

 

View similar (indicator for MetaStock):

MACD Histogram - CCT
Ergodic Indicator
Divergence Between the Close and an Indicator
DeMark's Projected Range
Stochastic Example of hhv() Function
90% Up and Down Volume
Barnes' Adaptive Forecast
Moving Average - Shift'ed Bands
Base Channel
MACD of ROC
...
 
 
all formulas for MetaStock
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
 
Privacy note | (c) copyrights systems4trading.com 2006-2012