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 • 263 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 • 263 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 • 216 days ago #

    Hello Nicolas,

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

    • Nicolas • 215 days ago #

      Sound alerts = use the alert tools of the platform.

  8. nectouxg • 215 days ago #

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

    • Nicolas • 215 days ago #

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

  9. nectouxg • 214 days 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

+11 more likes

Related users ' posts
MCMJ Bonjour Nicolas, je vous suis depuis longtemps et je me permet de vous dire qu'il y a une er...
Andrea Thx for your indicator, it seems to give great signals. Whats is preferred timeframe? I see ...
Nicolas Ce code est compatible uniquement avec la version 11. Peut être un problème de copier/coller...
hErOSTiC Hi, Thank you for sharing your work with us. I have loaded the ITF file but I have an erro...
juanj Strange that the ITF file did not import the parameters. You can either add the parameter yo...
Finning Hi JuanJ, just a question about the tollerance*pointsize. I know what it is/what it does (in...
MAKSIDE Nice work ! one question, how your will take position in a auto strategy with the differen...
Vonasi It is not possible to detect when a drawn ray line has been crossed. It would require differ...
MAKSIDE yes I already tried something like that but it was inconclusive thx for sharing
jzhuang it seems not working on prorealtime v11.1
Ridge-Trader thanks a lot, it´s very helpfull for me. Do you know, where i can find more Indicators for #...
Copperwave Hi Juan - awesome implementation of Robins price action analysis. Any chance this can be mod...
FXTT the choice of period and start and end time is exactly what i was asking for the classic piv...
Noobywan (My apologies for unformatted code, the formatting only works in forum or library posts not ...
Noobywan Hi FXTT, no problem for requests (as long as no one requests me singing), just usually it’s ...
Nicolas Oui, il peut être appliqué sur toutes les unités de temps et fonctionne sur prorealtime v11.
superprof salut merci pour ton indicateur. Pour bien comprendre , si suis acheteur Ă  quelle comment j...
Nicolas A discrétion, bon courage dans ton apprentissage du trading.
Nicolas email notification are not available for custom indicators.
DIOS Bonjour Nicolas, comment coder un indicateur de rsi de Divergence? Merci pour ta réponse
Nicolas En apprenant la programmation :) Plus sérieusement, il y a quantité d'exemples dans la libra...
jimkn0pf Christopher, wie saehe denn die Formel ohne Kontrollkerze (3. Kerze) aus?
Nicolas Le paramètre showcl doit être en true (égal à 1 )
Lednora Ah oui en effet c’est magique!j’étais resté bloqué sur la ligne 96^^. Merci beaucoup nicolas...
samsampop Merci Nicolas, c'est superb!
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 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 ...
Vonasi Thanks for the compliments. No this is not easily possible in v10.3 because it uses arrays w...
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
Denis Hello Nicolas, Thank you and congratulations for your work. The entry signals seem interes...
mia Bonjour j'arrive pas a integrer l'indicateur sur mt4 comment faire svp mercii
Nicolas Il ne s'agit pas d'un indicateur MT4, je vous suggère d'utiliser ProRealTime qui est une mei...
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...