Bar Count Reversals (Pivot Points High/Low)

Bar Count Reversals (Pivot Points High/Low)

Pivot Points (High/Low), also known as Bar Count Reversals, are used to anticipate potential price reversals. Pivot Point Highs are determined by the number of bars with lower highs on either side of a Pivot Point High. Pivot Point Lows are determined by the number of bars with higher lows on either side of a Pivot Point Low.

For example, a Pivot Point High, with a period of 5, requires a minimum of 11 bars to be considered a valid Pivot Point. A minimum of 5 bars before and after the Pivot Point High all have to have lower highs.

The default period is set to 10 (p=10). It means that the whole calculation are made within 11 bars (10 bars with a pivot bar on the middle of them).

(coded by request on English forum)

 

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. bard • 08/30/2016 #

    thanks for the codewill compare that time with my code

  2. Derek • 08/30/2016 #

    Thanks a lot for this! That’s a valuable lesson for me.

  3. tomferre • 08/30/2016 #

    I notice you code so many indicators Nicolas. I’m trying to learn and have fun with the platform.
    Thank you for all your contributions I have found them very very useful for my learning as I don’t have a programming or mathematical background.
     
     

  4. diegofe_2000 • 08/30/2016 #

    Muy buen indicador, lo estoy utilizando en un probacktest y es un excelente filtro para entradas.

  5. diegofe_2000 • 08/30/2016 #

    NUEVAMENTE REPITO,  ESTE ES EL MEJOR INDICADOR PARA HACER SISTEMAS DE COMPRA Y VENTA.  NO ES BUENO , ! ES EXCELENTE¡,  UNA VEZ ENCUENTREN LA FORMA DE UTILIZARLO  LOS SISTEMAS QUE HAGAN NO BAJAN DE TENER UN PORCENTAJE DE ACIERTO DE 90 % MINIMO.
    GRACIAS NICOLAS
     

    • Nicolas • 08/30/2016 #

      Si has encontrado una buena manera de usar este indicador, comparte tu experiencia aquí o en un nuevo tema del foro, estaría encantado de discutir sobre ello contigo y creo que mucha otra gente también 🙂

  6. roos • 08/30/2016 #

    Hi Nicolas, another really helpful bit of code, thank you! Can I ask how you might amend so that the lines on the chart are not connected, ie you just see the horizontal levels and not the vertical change ups. Conscious that you can switch the indicator view to points but I was looking for lines if possible.
    Thanks vm

  7. Denis • 08/30/2016 #

    Good evening Nicolas, could you tell me where thae arrows on the chart come from ? I don’t see them when I install the indicator on my charts. Many thanks for advance

    • Nicolas • 08/30/2016 #

      there is no arrow in this indicator.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Alai-n I have a problem! The "Kill Zones" do not start and stop at the appointed time but at the cl...
Alai-n I'll specify here, when the KillZone closing time has arrived and we are on the high or low ...
Iván Hi! Yes that's it. The indicator draws the rectangle after close
lee Thank you!
Nicolas
2 years ago
Maxime Baudin Well done Nicolas, creative!
Stenozar Hi Nicolas, please can you explain how to read/use this indicator? thanks!
cdc.andersson Hej! Jag försöker lära mig att koda PRT. Jag vill testa en strategi med RSI-värde, ATR-värde...
Swingforfortune Du kan väl jämföra om open > close (röd) eller open < close (grön)
Bhanu Pratap Great Work Sir, Hats Off.
bolsatonimora2 Hi Roberto, It is possible to modify this indicator which it marks the supports and resist...
robertogozzi What do you mean by "very high volume"? What do you want to be printed exactly?
mscharstrom Hi @robertogozzi, I really love this indicator. However, I'd like to tinker with it to fit ...
Ahimsa Hi Roberto I cannot thank you enough for writing this code. It could help me more than you ...
Nicolas With PRT v11, you have to click on "price" at the upper left side of the price chart.
Juanjo Hola?. Exactamente cuál es su utilización?.
bolsatrilera Hola Juanjo, su principio esparecido a las bandas de Bollinguer.Las lineas de las bandas son...
Nicolas Please open a new forum topic, and respect the posting rules. Add a precise description of w...
FXTT ok will do, apologies, as I said I am new here. many thanks
Noobywan Version v2 including requested additions: https://www.prorealcode.com/prorealtime-indicators...
Trading_En_El_Ibex35 Para calcular el punto pivote y los niveles de soporte y resistencia para operar durante la ...
supertiti Hola mis disculpas, creia que tu eres Jose Antonio Madrigal ! gracias por las explicaci...
Trading_En_El_Ibex35 espero que las explicaciones te hayan sido de ayuda saludos
Paul Thanks for posting. I was currently searching how to improve day-trading based on support an...
Jessar Könntest du im Forum etwas öffnen und später darüber zu sprechen?
arahussein Hi All, I am new to trading and i find this indicator very logicail! Hence my (dumb?) quest...
juju333 Merci Nicolas, j'utilisais avec bonheur ce code dans la 10.3, il ne tourne plus dans la v11....
Nicolas Remplacer les lignes 11 et par 12 avec: yearlyHigh = Highest[max(1,BarIndex - lastYearBarI...
juju333 merci !!!
zilliq Be careful, It works only if you are in daily timeframe, and on your graphic you are on hou...
DerPat I guess you are right, like always. If you change n to 24 you have at least the hours of a d...
gabri DerPat, you can also change line1 to read as follow to adapt this script to hourly timefram...
Grantx When I add this code, the indicator appears in the panel below price. How do I get it to dis...
Patrik72 Hello, thank you very much for the great indicator. One question, is it possible just have l...
datageek is it possible to add Mid pivot points (midR1 and MidS1)?
Nicolas Dans l'onglet prix, choisir d'appliquer l'échelle qu'au prix uniquement.
Eloi MERCI
Nicolas
9 years ago
Pivot oscillator
Pivot oscillator
3
Indicators
supertiti // PIVOT OSCILLO onchart PRC DID Pivot Oscillator - ProRealCode - prorealtime prog...
supertiti https://hubic.com/home/pub/?ruid=aHR0cHM6Ly9sYjEuaHViaWMub3ZoLm5ldC92MS9BVVRIXzFiNjRhYmY3ZjA...
supertiti http://ovh.to/rbcdfr2

Top