Money Flow Index + Alerts

v10.3
Money Flow Index + Alerts

This is an adaptation for Prorealtime v 10.3 of an indicator of the Tradingview platform.

1. Added a visual symbol of an overbought/oversold threshold cross in the form of a red/green circle, respectively. Sometimes it can be hard to see when a cross actually occurs, and if your scaling isn’t set up properly you can get misleading visuals. This way removes all doubt. Bear in mind they aren’t meant as trading signals, so DO NOT use them as such. Research the Money flow Index  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 Money flow Index respects these incredibly well in trends. E.g. in a solid uptrend the Money flow Index won’t go below 40, and vice versa. Use the idea of support and resistence 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. Money Flow Index  often stays here in consolidation periods, and in the last leg of a cycle/trend the Money Flow Index 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 Money flow Index is a great tool for identifying upcoming trend changes.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Barrabas15 • 06/26/2018 #

    Yo pondría las alertas (círculos) cuando vuelve a cruzar por debajo/arriba de los niveles de sobrecompra/sobreventa una vez han sido traspasados.

  2. bolsatrilera • 06/26/2018 #

    EM MONEY FLOW INDEX + ALERTS
    //@version=3
    // on platform Tradingview by DreamsDefined
    //adapted by platform Prorealtime v10.3 by bolsatrilera

    // This study is based on the work of TV user Beasley Savage (https://www.tradingview.com/script/g58H59ub-Money-Flow-Index-Beasley-Savage/)
    // and all credit goes to them.
    //
    // Changes I’ve made:
    //
    // 1. Added a visual symbol of an overbought/oversold threshold cross in the form of a red/green circle, respectively.
    // Sometimes it can be hard to see when a cross actually occurs, and if your scaling isn’t set up properly you can get
    // misleading visuals. This way removes all doubt. Bear in mind they aren’t meant as trading signals, so DO NOT use them as such.
    // Research the 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.
    //
    // Any queries please comment or PM me.
    //
    // Cheers,
    // RJR

    //Inputs
    length = 14
    os = 20 // title = “Oversold”)
    ob = 80//title = “Overbought”)
    //MFI Calc
    hlc3 = (high+low+close)/3
    rawMoneyFlow = hlc3 * volume
    positiveMoneyFlow = 0.0

    if hlc3 > hlc3[1] then
    positiveMoneyFlow = positiveMoneyFlow + rawMoneyFlow
    else
    positiveMoneyFlow = positiveMoneyFlow
    endif

    negativeMoneyFlow = 0.0

    if hlc3 < hlc3[1] then
    negativeMoneyFlow = negativeMoneyFlow + rawMoneyFlow
    else
    negativeMoneyFlow = negativeMoneyFlow
    endif

    moneyFlowRatio = average [length](positiveMoneyFlow) /average[length](negativeMoneyFlow)

    mfi = 100 – 100 / (1 + moneyFlowRatio)

    if mfi crosses under os then
    drawtext("●",barindex,mfi,Dialog,Bold,10) coloured(0,255,0)
    endif

    if mfi crosses over os then
    drawtext("●",barindex,mfi,Dialog,Bold,10) coloured(0,0,0)
    endif

    if mfi crosses over ob then
    drawtext("●",barindex,mfi,Dialog,Bold,10) coloured(255,0,0)
    endif

    if mfi crosses under ob then
    drawtext("●",barindex,mfi,Dialog,Bold,10) coloured(0,0,0)
    endif

    h1 = 80 //"Overbought")
    h2 = 20 //"Oversold")
    h3 = 40 //"Bears")
    h4 = 60 //"Bulls")
    //(h4, h1, color=green, title="Uptrend")
    //(h3, h2, color=red, title="Downtrend")
    //(h3, h4, color=gray, title="Transition Zone")

    return mfi as "moneyflowIndex",h1 style(dottedline)as "h1",h2 style(dottedline)as "h2",h3 style(dottedline) as "h3",h4 style(dottedline)as "h4"

  3. Carlos Garcia • 06/26/2018 #

    Enorme. Gracias!

  4. Andraxx • 06/26/2018 #

    Buen indicador….
    Gracias

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+9 more likes

Related users ' posts
kal Buenos días TACBOLSA. Estoy muy interesado en ver tu blog para ver la explicación con detall...
1Randy I would be interested an invite to your blog. I am still learning about the VSA and it looks...
repropel Buenos días TACBOLSA. Yo también estoy interesado en visitar tu blog. Podrías enviarme una i...
Maxime Baudin Very useful! Thanks Mat, and Happy New Year
nicko Great work. Thank you. However I am having trouble getting it to print in the first bar. If ...
Marie-Eve Vergoz Bonsoir - Voici l'erreur qui est signalée lorsque je souhaite utiliser cet indicateur : il...
Meta Signals Pro Pleasure ! Please let us know if you make good trades with it and if you see improvements we...
francis59 Bonjour, Bonjour, comment puis-je créer un screener basé sur cet indicateur, qui affiche le...
Trader Sab I am curious to try it how, however I get an error message for line 47 and 48 - drawsegment,...
Om Hello, thanks for sharing! Getting a message that Variable P is undefined?
matin Intraday Average Volume Indicator Not working, what can i do plz
LucioleLucide Clean view, thanks for sharing
dertopen hi where i can found the window for candle configuration?
paolosab69 Ciao! . I have seen the pictures that explain this metod but i don't understand when is mome...
Ciccio
5 years ago
Vinks_o_7 Apirine also offers a very interesting update of the OBV...
TACBOLSA
5 years ago
dario ti please can you help me to understand? i know i am wrong: Long Histogram = High Volume S...
TAC Bolsa hi, I have already seen the problem and requested that it be removed until an adequate so...
sixeight Hey TAC, Did you ever find a solution to this?
Vinks_o_7 b=close > low and volume > high How can we compare volume and high of the day? (orang...
TAC Bolsa If to understand something you resort to compare Oranges and bananas. You go bad, Without e...
giumagi good morning Sir, great job your indicators! How can I reach your website or blog? please..t...
Gianluca THANK YOU!!!!!
JOSEBA que relaccion tiene la numeración de las barras del 1 al 10 que tiene cada número Tengo dos...
marcov66 Hi, it seems a very useful indicator. Unfortunately the link here for the full explanation d...
TACBOLSA Discontinued indicator. we are sorry.
Azzuerus Bonjour, je teste et j'utilise vos indicateurs depuis plusieurs années, et ils me sont dev...
bremze33 Another thing. Is it possible to make the graph lines a little thicker and not so long? Be...
giumagi Hi Sir, very good job done with this indicator, May I ask you to explain what is the line VW...
pmdr1969 Hola soy nuevo en en esto. ¿Hay algo parecido pero pudiendo tu elegir las velas a a analizar...
Nicolas Add indicator on price doesnt require any specific type of subcription. Click on the wrench ...
tahiti bonjour j'ai une petite question comment peux on enlevé la bar blanche sur la bougie en cour...
sixeight Hi Kris, is there a way to increase the number of rows? I get a loop error
Nicolas Good job Gabri, I confirm that with the new ProRealTime v11, everyone will be able to use in...
Slowlyslowly can u just help me with the exact definition of percbox , mm and period to understand will a...
Real Pro Great work gabri. I have this coded on Amibroker and I have done lots of backtesting but ne...
gabri Hi Real Pro, this indicator assists novices of the Wyckoff system. Wyckoff himself thought t...
tatie hi Gabri, I just came across the wyckoff method and was looking for the weiss wave indica...

Top