Momentum Pinball

Momentum Pinball

Based on a classical RSI formula, this indicator use the intraday price changed difference from the previous day, instead of the close.

It results a fast and accurate view of price acceleration (great momentum) of the current daily candlestick compared to analysed periods (14 periods in the code example).

I marked examples of how to interpret the indicator on the above screenshot. When the oscillator value exceed the 60 level area, it should warn you of a large bullish pressure, and a bearish one when its below the 40 level.


//Nicolas @
//Sharing ProRealTime knowledge

periods = 14

diff = Dclose(0)-Dclose(1)

if diff-diff[1]>=0 then
 u = diff-diff[1]
 d = 0
 u = 0
 d = diff[1]-diff

mp = 100-(100/(1+(exponentialaverage[periods](u)/exponentialaverage[periods](d))))

RETURN mp as "Momentum Pinball", 60 as "60 level", 50 as "50 level", 40 as "40 level"


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?

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

  1. Bon Zo • 169 days ago #

    Your trading indicators are awesomes.

    • Nicolas • 169 days ago #

      Thanks a lot Bon Zo. Spread the news everywhere you go 🙂

  2. Bon Zo • 169 days ago #

    i don’t really want to tell others my secret but maybe i could share this page on my facebook account. 

  3. Renato Di Lorenzo • 166 days ago #

    Hi Nicolas; what is Dclose?

    • Nicolas • 166 days ago #

      It’s the Daily close. Dclose

    • Renato Di Lorenzo • 166 days ago #

      ok, clear; I understand that Dclose(0) is not constant during the current day and is equal to the close of the last intraday bar, while Dclose(1) is obviously constant during the current day. Correct.

      Is there some reason for this choice instead of using a more “normal” sliding close? I think there is.

  4. Nicolas • 166 days ago #


    I have this code in my indicators list since a while and honestly I don’t remember from what I converted it from .. Daily OHLC used in intraday charts also make sense, even if this one is I think much clearer on a Daily one.

  5. Renato Di Lorenzo • 166 days ago #

    Agree; thanks.

  6. rpreviteri • 99 days ago #

    Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn’t the original momentum pinball  with ROC  rather than exponential average? Best regards 


Register or


avatar avatar avatar avatar
Related users ' posts
2 months ago
rfsteve Nicolas what do you think of these modifications for 233 tick charts ?         cheers Steve....
Nicolas Thanks for this modification, I still do not have tested it, where did you get this idea to ...
rfsteve Trial and error from study of indicators call it coding mad science was trying to find an in...
David Nicolas, I wrote the code and I have DEFPARAM Preloadbars = 3000 on m60 so that's plenty of ...
Nicolas How do you call this indicator in you trading strategy code? Did you make a CALL? Have you t...
David I'm using the call function. I checked again and it seems okay now on Demo and Live testing....
3 months ago
supertiti bonjour à tous J'utilise cet indicateur depuis plusieurs mois, une fois règlé "K" à sa conv...
3 months ago
Nicolas I don't know about the formula of the one built-in into the platform. This one has been conv...
verdi55 I found the reason. The indicator built into the PRT platform displays only the StochRSI var...
Nicolas Well, in this indi you can choose the RSI period, the period of the stochastic calculation o...
3 months ago
T3 Velocity
T3 Velocity
tatankayotanka As you can do to set a marker directly in the price property page and then view it such as m...
Nicolas It may be a good idea to discuss this in the forum instead. Please open a new topic in probu...
Wester Hi, is this more or less the same as the TTM Squeeze indicator (john carter)
Nicolas Hi David, thank you for the contribution. I have tested the strategy through 200.000 bars an...
David Thanks Nicolas. I assumed that this would be the case when back tested further. 
Dimi.A Awesome mate.
leyoy AU top ! Merci pour la réponse rapide :)
gforton Hi, I was wondering if this QQE indicator could be used on a 1 min or 15 min timeframe. Wit...
Nicolas Because it is built upon RSI, divergences from price may occur. 
Dimi.A Perfect for counter-trend scalping. I like this!
zilliq The reasons why I think it's time consuming and we loose time to try to do backests and Auto...
filiprb Hello Zilliq, You don't need a system to produce a walk forward test. You can easily create...
Philip Raphael It is incredible! Thanks for sharing, Doctrading!
supertiti mettre type en variables ainsi vous pouvez choisir facilement les parametres qui vous convie...
supertiti Adepte de Pro-AT ? merci Bambi , dommage que ce site soit devenu une coquille vide !
supertiti Pour ceux qui ne savent pas laquelle choisir, voici les 4 d'un coup. On peut utiliser les cr...
Doctrading I forgot to write at the beginning :  a = 50 b = 50 These are intermediate levels Sorry
DerPat Thank you. This one could be an aid in my current research on stochastics.
leyoy Bonjour, je viens de l'installer sur 10.3 ... comment faire apparaitre les flèches sur l'ind...
Nicolas Les flèches apparaissent d'elles-mêmes selon les signaux de l'indicateur.
leyoy Elles viennent d'apparaitre après redémarrage. Merci Nicolas. Du coup, les signaux sont à pr...
xel Thanks a lot Nicolas! Always kind words and attention from you! Cheers!
lglmrc Can't make it work, says: "Define p variable"
Ezio Hi Xel and thanks, do you know if there is a way in PRC of reading/counting intraday ticks?...
Doctrading Hello, You are right, this system isn't designed for day trading. In my opinion, RSI with ...
Nicolas RSI is an oscillator made for price centering. This strategy bet on mean reverting phenomena...
air Good start. Works decently during stock runaway bull market. I have tested it over 80 year p...
Nicolas Ok Doc, beware of intraday, it's a battlefield full of random noises :) Maybe we can work to...
phili711 Bonjour Si la moyenne 100 est au dessus de la moyenne 20 le trend est baissier zlors pourqu...
Nicolas La comparaison se fait entre la valeur de la moyenne actuelle et telle qu'elle était il y a ...
Glen Marquis I wonder how this fairs on 5 or 15 mins. Maybe 21 or 25 instead of 14 .
Doctrading Hello, you can test it. It's not my best strategy... but I think someone can improve it.