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?

PRC is also 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 • 02/14/2019 #

    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 • 02/14/2019 #

      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 • 02/14/2019 #

    Hello Nicolas,

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

    • Nicolas • 02/14/2019 #

      Sound alerts = use the alert tools of the platform.

  8. nectouxg • 02/14/2019 #

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

    • Nicolas • 02/14/2019 #

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

  9. nectouxg • 02/14/2019 #

    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

+12 more likes

Related users ' posts
1 month ago
Pensera Hi Nicolas Thank´s for this great indicator ! Arnaud
LUIS59270 Bonjour Nicolas, existe il un screeners indicateur qui détecte les marteaux avec meche au mo...
venugopal Hi Nicolas, Thanks for this code. Is it possible to build a screener using this indicator?. ...
Nicolas It has been done in that topic. Enjoy.
Abouadam2 EFFICACE
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...
JOKAMAURICE Hi I am looking to number bars in a chart to ease analysis. Any idea if a program has been d...
Guibourse Hi, I'd like to increase the thickness of support and resistance lines. I do not think that ...
JJ Tec Hello. Thanks for the great contribution of the indicator. At the moment, I have modified i...
Khaled Hi Vonasi, I tried to embed your PP Fractals code in a Strategy and it seems to be a good fi...
Copperwave Hi Juan - awesome implementation of Robins price action analysis. Any chance this can be mod...
Daniel da Costa Well done Juan!
idunnomuch IS this working in the latest version of prorealtime? I get the indicator, but not over my c...
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 ...
JC_Bywan Bug fix at line 38, should be: if changebarre or (opentime[1]=start) then (same as in ...
Manu L. Bonjour Nicolas, j'ai créé un screener avec l'aide à la prog en TF weekly mais je voudrai...
wtangsiri C'est exactement le même signal que donne le croisement et le décroisement de deux EMA (7 et...
PHAN100 bonjour, j'ai un bug sur le programme recopié prorealtime me dit qu'il y a un problème à ...
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...
DonTony Bonjour Nicolas, Très bel indicateur! Bravo!
jimkn0pf Christopher, wie saehe denn die Formel ohne Kontrollkerze (3. Kerze) aus?
Nicolas Avec l'assistant de création pour les screeners c'est possible, le code est compatible.
maxlys Merci Nicolas, avec l'assistant cela donne le code ci dessous. Est-ce correct ? De plus est-...
Nicolas Oui le code est correct et il fonctionne, j'ai de bons résultats sur la liste NASDAQ par exe...
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.
Wolf Hi Vonasi. Thank for this indicator. I like this calculate concept. I think that line 16 thi...
Vonasi Well spotted! It is just a safety check to ensure that no value below 1 can be used otherwis...
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...
Nicolas No mistake, few signals.
dawn168 Nicolas, I cannot get this one to work on tradingview. Got the following error message. Can ...
Nicolas There is no code for Tradingview on this website.
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 !
Be-n Bonjour tout le monde ! Dans l'indicateur de tendance, j'ai du mal à saisir la nuance entre ...
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...