DreamsDefined

Money Flow Index + Alerts

This study is based on the work of TV user Beasley Savage (  MFI if you're unsure, but I use them as an early warning and that particular market/stock is added to my watchlist.

2. Added 60/40 lines as the MFI respects these incredibly well in trends. E.g. in a solid uptrend the MFI won't go below 40, and vice versa. Use the idea of support and resistance levels on the indicator and it'll be a great help. I've coloured the zones. Strong uptrends should stay above 60, strong downtrends should stay below 40. The zone in between 40-60 I've called the transition zone. MFI often stays here in consolidation periods, and in the last leg of a cycle/trend the MFI will often drop into this zone after being above 60 or below 40. This is a great sign that you should get out and start looking to reverse your position. Hopefully it helps to spot divergences as well.

3. Added alerts based on an overbought/oversold cross. Also added an alert for when either condition is triggered, so hopefully that's useful for those struggling with low alert limits. Feel free to change the overbought/oversold levels, the alerts + crossover visual are set to adapt.

Like any indicator, don't use this one alone. It works best paired with indicators/techniques that contradict it. You'll often see a OB/OS cross, and price will continue on it's way for many weeks more. But MFI is a great tool for identifying upcoming trend changes.

Any queries please comment or PM me.

Cheers,
RJR
Release Notes: V 1.1

Cleaned up the coding slightly.

Added support for multiple time frames (MTF). Script defaults to the current time frame, so if you want a different time frame uncheck the relevant box and enter your custom variable. It's been done this way to get around the fact that TradingView's default resolution input variable only supports a limited numbers of resolutions. If you want to use monthly time frames then use "XM", where X is the number of months. For daily time frames use "XD", where X is the number of days. For hourly/minute time frames use the total number of minutes - e.g. 4 hours should be entered as "240".

Always bear in mind that higher time frames will repaint until the relevant bar closes. This is logical if you think about it, so don't comment saying it repaints :)

Here's some cool things you can do with MTF (I like overlaying them on one panel):

Release Notes: V 1.1.1

Minor error fix.
Ta bort från favoritskript Lägg till som favoritskript

Kommentarer

red and green signal can consider as in/out signal?
Svara
Good Work! I love it!
Svara
Hi Man!
thanks a lot for MultiTime frame option,buuuut it doesnt work for me. I dont know why. I either can choose default TF or uncheck the box and chose other TF. But in any case i have only 1 (one) line, not 3 like on your screenshot (red, black blue)
whats wrong with me?
+3 Svara
DreamsDefined Dmitrykraken
@Dmitrykraken, Hey there. MTF should be working fine. That screenshot I posted of the different time-frames is just three copies of the indicator overlaid on one panel (add the indicator three times, then merge them into one panel and change the time-frames + line colouring to suit). I didn't make it a part of the indicator as it's not for everyone :)
Svara
Dmitrykraken DreamsDefined
@DreamsDefined,
Okay, got it. Thanks for Clarification.

Many Thanks!!
+1 Svara
cryptohal DreamsDefined
@DreamsDefined, Just came across your indicator. It's great! But would love to see you update your code to overlay timeframes natively. In the meantime, how do I overlay 3 separate panels as you did above?
Svara
good job buddy!
+1 Svara
actually this is very nice wondering why not more postings its crazy I seen way less useful scripts with more people posting great job my man!
+4 Svara
DreamsDefined WallStreetTradingRoom
@WallStreetTradingRoom, Thanks, hope it's useful for you :)
Svara
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Hur det fungerar Diagramfunktioner Priser Tipsa en vän Ordningsregler Hjälpcenter Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter
Profil Profilinställningar Konto och fakturering Tipsa en vän Mina kölappar Hjälpcenter Publicerade idéer Följare Följer Privata meddelanden Chatt Logga ut