Pivot Reversal Strategy Alerts

Pivot Reversal Strategy Alerts

This “trading signals” indicator plots buy and sell signals points entries when the price breaks the last pivot High/Low levels.

These levels are defined by price tops and bottoms found after the price made:

  • highest high with “leftP” candles on its left and “rightP” candles on its right
  • lowest low with “leftP” candles on its left and “rightP” candles on its right

The levels are marked with dark grey dots on the charts.

The signals are given during the candlestick formation and not afterwards.


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?

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

  1. Milochenta • 02/14/2019 #

    hello, I have installed the file, but the indicator appears in a separate window. Do you know how I can install it in the price window?

    • Nicolas • 02/14/2019 #

      Apply it on the price chart.

  2. Milochenta • 02/14/2019 #

    thank you very much, it was a beginner’s mistake

  3. TheDisciplinedTrader • 02/14/2019 #

    Much appreciated Nicolas! I have been looking for something to highlight reversal bars for quite a while now. Thanks again, kind regards, Shaun

  4. Matthew Darling • 02/14/2019 #

    Hi Nicolas, should this work on all software. Wont work on tradingviews pinescript

    • Nicolas • 02/14/2019 #

      No. The code delivered on our website is for ProRealTime trading platform:
      For personal and private assistance, you can contact through this page:

  5. growland1au • 02/14/2019 #

    Hi Nicolas,
    I am a beginner to this and I think your Pivot reversal strategy alerts indicator is ecellent
    I was wondering if you ever converted this to an automatic trading stratergy?
    Cheers Greg

    • Nicolas • 02/14/2019 #

      I can’t remember, if you can’t find it anywhere in forums, open a new topic if you want it to be coded.

  6. rastasam • 49 days ago #

    bonjour Nicolas,
    j’aimerais tout d’abord vous remercier pour tout ce que vous faite et j’aimerais savoir si on peu faire un backtest pour cet indicateurj’ai essayer de copier le code mais j’ai un message d’erreur qui s’affiche m’indiquant qu’il y a une erreur sur la ligne 20.
    merci d’avance

    • Nicolas • 49 days ago #

      Il s’agit d’un indicateur, pour en faire une strategie de trading automatique, cela demande certaines modifications, merci de formuler la demande dans le forum approprié.

  7. nectouxg • 2 days ago #

    Hello Nicolas,

    is it possible to add a sound alert when an arrow appears?
    thanks in advance

    • Nicolas • 1 day ago #

      Sound alerts = use the alert tools of the platform.

  8. nectouxg • 17 hours ago #

    thank you Nicolas of your speed of response, I tried but, I have to fix something badly, because it does not ring,

    • Nicolas • 7 hours ago #

      change the lastline with:
      RETURN lastsig
      and check if lastsig change its value with the alert tools

  9. nectouxg • 49 mins ago #

    Hello Nicolas,

    I will try tonight when I get home, just one last question, I trade the DAX and NASDAQ in 1 MN AND 5 minutes, the default parameters are 4 and 2, can you explain to me if I have to keep 2 points apart if I want to decrease the number of arrows and have better signals?
    Do you have any suggestions for parameters according to the timeframe?
    in a few words the more I increase the periods the less signals I have but better quality?

    again thank you in advance for your support

Register or


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

+9 more likes

Related users ' posts
Vonasi There are actually two ways to calculate standard deviations and I seem to have used the ver...
Rory Dryden Thank you. Experimenting with it now.
Vonasi I developed and tested on v11.1 - 1.8.0_202. All the array use in the code is very basic. Di...
Vonasi You can find the minor bug fix and new ITF file here: https://www.prorealcode.com/topic/eve...
Reddington Hi Vonasi! Really nice work, is it possible to re-create this to work in 10.3? Best regards ...
max-trading Bonjour, C'est bizarre, quand j'installe cet indicateur mon graphique des prix se resserr...
Nicolas Dans les paramètres du prix, il faut choisir la mise à l'échelle basée sur le prix uniquement.
Nick FX Junkie Good evening all, Is there any way this indicator can be transferred into a strategy code?
Balmora74 thanks for this code Philippo ! So if i understand well a Positive (+) EntryOK x ROC means a...
Dritan Hi Philippo,thanks for sharing this code.Can You add please Volume more than 250.00?Thanks
redcatalex I understand it. The question is, if I want to receive a signal not from level 0, but, for e...
redcatalex the question is removed, thanks. I had to learn programming))) everything was simple
Denis Hello Nicolas, Thank you and congratulations for your work. The entry signals seem interes...
Dong Kobe THANK YOU Nicolas
leoulve Hello. I placed it on the price chart and nothing appear. Did I make a typical mistake? Merci
Nicolas No mistake, few signals.
scarphace38 Bonsoir, je découvre PRT et je n'arrive pas a afficher le meme résultat pour l'indicateur de...
Dom Hello, hello....je commence le trading et découvre par la même occasion le codage....et ce n...
Nicolas Merci, ça fait plaisir !
Bard Very interesting approach Vonasi! I'm getting a 404 error when trying to download though?
Vonasi I just tested and I was able to download with no error.
Psari Hi Vonasi, I am a newbie and was wondering whether you could possibly help me with this pro...
Alai-n @Vonasi Thanks
jiddan78 how to convert to afl amibroker ?
Nicolas We do not supply free coding assistance for AFL Amibroker on the website. You can ask for pa...
Pablo Carmona del Moral hola juanjo, muchas gracias por este screener que nos has compartido. creo que lo voy a util...
Pablo Carmona del Moral para el volumen he cambiado: // Volumen significativo VS=volume>2*(average[10](volume[1...
Juanjo Muchas Gracias Pablo, ...Tengo varios screener, uno lo tengo adaptado para operar intradía, ...
Vonasi There is another version of this indicator that can plot the same lines but onto an indicato...
Martin35 Hello Vonasi, do you think it is possible with PRT to code with the same principle as on thi...
abhay I am getting a shading between the lines, how can I avoid that. I just want to see lines as ...
Vonasi Delete the 'Color Zone' in the indicator settings window.
robertogozzi You can find it at https://www.prorealcode.com/topic/pivot-support-resistance-bands/. I hop...
Bard Yes, thanks, appreciated.
mscharstrom Hi @robertogozzi, I really love this indicator. However, I'd like to tinker with it to fit ...
lokbuscas is it possible to make a screener with this conditions??? thank you
achel I believe so but I leave it to Nicolas to decide if it is possible
Nicolas Please open a new topic in the screeners forum
larouedegann Bonjour Nicolas Je cherche à créer un screener avec cet indicateur lorsque un point bas app...
Nicolas Je pense qu'il existe déjà quelque part dans le forum.. il faudrait chercher. Sinon merci d...
Bhanu Pratap Dear Sir, Can I get MQL4 File for this indicator and last man standing . pls looking forward...
pableitor Hola Domenec, un indicador muy original y util que ciertamente añade mucha informacion a la ...
Domenec Hola Pableitor porque aqui lo que pretendo es programar un nuevo codigao mas ajustado para q...
Juanjo Hola Domenec. He visto en los videos que hablas continuamente de mercado de futuros con grá...
Geronima Ortiz okay bien estaré pendiente en esta pagina gracias
Domenec Aqui dejo colgado link del video para ver como funciona el indicador https://www.youtube....
Geronima Ortiz Gracias Domenec
Geronima Ortiz I watched the video three times, but I can not put the npips parameter as a variable. I do...
Geronima Ortiz I think the video is for an old version of prorealtime, the images do not correspond at all ...
Nicolas indicator1 = CALL “PRC_StopReversal”[npips, 1] and define npips in the optimization window ...