Volume Indicator: Money Flow Index (MFI)

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Volume Indicator: Money Flow Index (MFI)

Postby Nikolay.Gekht » Sat Aug 28, 2010 8:29 pm

MFI is a momentum indicator, similar to RSI (Relative Strength Index), but it's more rigid because it is volume-weighted, and, therefore, is a good method to measure of the strength of money flowing in and out of a security. As RSI, the MFI scale is 0 - 100 and the indicator is often calculated using a 14 day period.

Formula:
Typical Price is (High + Low + Close) / 3

Positive = Typical * Volume IF Typical > Typical[previous]
Negative = Typical * Volume IF Typical < Typical[previous]
R(N) = Sum(Positive, N) / Sum(Negative, N)
MFI(N) = 100 - (100 / (1 + R(N))

mfi.png





Download:
mfi.lua
(2.31 KiB) Downloaded 2568 times

MFI with Alert.lua
(15.56 KiB) Downloaded 708 times


USDMXN D1 (07-27-2021 0949).png

Tick MFI.lua
(3.15 KiB) Downloaded 202 times
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: Volume Indicator: Money Flow Index (MFI)

Postby bgmays » Wed Sep 14, 2011 12:08 pm

Great work! I found this to be very accurate. The only problem I have is that I need to draw a center line at 50.00. Is there any way that you could add an option to show the center line and pick a color?
bgmays
 
Posts: 4
Joined: Fri Jan 14, 2011 1:46 pm

Re: Volume Indicator: Money Flow Index (MFI)

Postby trendwatch » Thu Sep 15, 2011 4:38 am

Nice indicator! Just wondering where I can find the middle indicator as seen on the screenshot. Labeled: "Volume: 23". I've seen it on other topics too, but I just can't find it.
trendwatch
 
Posts: 33
Joined: Wed Jul 13, 2011 2:49 am

Re: Volume Indicator: Money Flow Index (MFI)

Postby Apprentice » Thu Sep 15, 2011 4:57 am

Your request is added to the developmental cue.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Volume Indicator: Money Flow Index (MFI)

Postby sunshine » Thu Sep 15, 2011 5:16 am

trendwatch wrote:Nice indicator! Just wondering where I can find the middle indicator as seen on the screenshot. Labeled: "Volume: 23". I've seen it on other topics too, but I just can't find it.

Just right-click on your chart and choose Show Tick Volume:

tick.PNG
sunshine
 

Re: Volume Indicator: Money Flow Index (MFI)

Postby trendwatch » Thu Sep 15, 2011 5:43 am

Thanks sunshine.
trendwatch
 
Posts: 33
Joined: Wed Jul 13, 2011 2:49 am

Re: Volume Indicator: Money Flow Index (MFI)

Postby Alexander.Gettinger » Wed Sep 21, 2011 10:58 am

bgmays wrote:Great work! I found this to be very accurate. The only problem I have is that I need to draw a center line at 50.00. Is there any way that you could add an option to show the center line and pick a color?


Please, see this version of indicator:
mfi.lua
(2.88 KiB) Downloaded 1756 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Volume Indicator: Money Flow Index (MFI)

Postby JPNWV7 » Wed Sep 21, 2011 6:12 pm

I tried to download this indicator & got a Error Message?
JPNWV7
 
Posts: 17
Joined: Wed Sep 21, 2011 5:56 pm

Re: Volume Indicator: Money Flow Index (MFI)

Postby Apprentice » Thu Sep 22, 2011 3:08 pm

Can you describe in more detail which Error Message you got.
In this way, I can not help you.

I need more information.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Volume Indicator: Money Flow Index (MFI)

Postby JPNWV7 » Thu Sep 22, 2011 3:16 pm

Apprentice wrote:Can you describe in more detail which Error Message you got.
In this way, I can not help you.

I need more information.



Thanks, but I figured it out.

I was downloading indicators under Manage strategy & it wouldn't download

Then I tried downloading under manage Indicator & it worked.

Sorry about all this, but I'm new.


Thanks for the help & response, I'm sure I'll have more questions
JPNWV7
 
Posts: 17
Joined: Wed Sep 21, 2011 5:56 pm

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 67 guests