Pivot points intraday

Pivot points intraday

Found this code of interest on a NL Prorealtime forum for someone requesting an intraday pivot points indicator. Nicely coded and would surely be of interest of other people around here, I add it to library.

The variables ‘myStartHour’, ‘myStartMinute’, ‘myEndHour’ and ‘myEndMinute’ may be changed to any start and end time for the pivot points calculation.

 

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. stefou102 • 05/22/2016 #

    there are two errors in the code:

    If (Day > Day[1]) Then
    myLow = Low
    myHigh = High
    myClose = Close
    Endif

    should be replaced by

    If (Day > Day[1]) Then
    myLow = Low*100
    myHigh = 0
    myClose = Close
    Endif

    and the calculation of the R3/S3 is wrong

  2. nicola papangelo • 05/22/2016 #

    Hi Nicola,
    I wanted to know an information.
    After optimizing a strategy (unit 10 min backtest time 1 year) I continue the

    all with 5-step Walk Forward not anchored and choose the variables it reports to

    50% or higher. After validating the system, I perform the last validity with the method

    Walk Forward to a period. The questions I ask you are:

    1- we hypothesize that the strategy is ok and that it is real, 1 year divided by 5 is equal to 2.5 months

    , time of “expiration” of the strategy. After the expiration period I have to make a

    optimization or validity with the walk forward method and how many periods?

    2- If a strategy optimized and tested with the WF method has percentages higher than 150% how can I behave?

    3- What is the optimal percentage of validity with the Walk Forward method? 70% -30% or 60% -40%?

    4- When optimizing variables or the WF method is it important to update several variables together or one variable at a time?

    Thanks

    • Nicolas • 05/22/2016 #

      Why are you asking this question there? (and in other places in the forums that don’t have any link to the subject?!). You should open a new topic or even ask your question in this blog post: https://www.prorealcode.com/blog/learning/prorealtime-walk-analysis-tool/

  3. Brisvegas • 05/22/2016 #

    Nice code Nicholas and well done on writing it but in my opinion and mine only pivot points hold zero value to actual trading . About as useful as Fibonacci , before enyone jumps down my throat go find a bell curve distribution of retrace levels and you will see there is a wide fat part of the curve that really serves no purpose predictively . IE there is no usable probability that will challenge random entry/exit . Not trying to be negative just putting it out there . Have a read of ” Evidence-Based Technical Analysis: Applying the Scientific Method and Statistical Inference to Trading Signals
    Book by David Aronson “

    • Nicolas • 05/22/2016 #

      Thanks for the input and your opinion, but IMO, the pivot points are ones of the best support and resistance lines for intraday trading. Both daily, weekly and monthly are great points of “rendez-vous” for a lot of traders and therefore can be used for targets and rejections orders. There is no single way to benefit from the market, but i know for sure that if you act like many others do, you should be in the right direction.

avatar
Register or

Likes

avatar avatar avatar avatar
Related users ' posts
P. Marlowe Muy bueno. ¿Podría hacerse para señalar extremos por el lado bajista? Lo mismo a la inversa....
Miro Esta es una versión del indicador, para ambos extremos. //-------------------------------...
P. Marlowe Muchas gracias ¡¡
Iván Hi. You could add these lines of code: if intradaybarindex=0 then varhigh=round((dhigh(...
RTR Edit
@toniyecla ¡gracias! más capturas aqui: https://www.prorealcode.com/wp-content/uploads/2024/10/IC...
robert123 I had a go at the 'order block' version- badly done I'm sure....but a start. // Sonarlabs ...
robert123 take ''sens1 = 5'' out and put ''rango'' in as variable
@toniyecla captura: https://www.prorealcode.com/wp-content/uploads/2024/10/sesiones_v3.png
@toniyecla y más opciones: añade una línea también en sesiones EUROPA y USA (configurable) y un texto o...
@toniyecla // Author: toniyecla - contact@rescommunesomnium.com // VARIABLES // EspHorarioVerano (b...
Alai-n Hello, take a look at this formulation made by "Blade106", Topic link attached post #227334....
@toniyecla ¡interesante acercamiento! (no lo conocía, simplemente tuve la necesidad y lo programé) pers...
Iván
4 weeks ago
MaoRai54 dear Ivan, it seems to be very interesting but please clarify what are all the lines I see i...
Iván Hi! you have the answer in the last line of code... MacdMiddle as "histo" style(histogra...
kats Le Top , a utiliser avec le nuage violet et alerte TN pour plus de précision.
roccafragius Hello Ivan, another great Indicator, very useful to trace the trend ( blue line) and the pos...
roccafragius Hello Ivan, very good job! May I ask you to translate teh script from TradingView named Tre...
Iván Hi! yes. You can ask for it here: https://www.prorealcode.com/free-code-conversion/
roccafragius Thank you so much Ivan! I created this request in english Translate from TradingView Indicat...
Regisnew très bel indicateur merci
jordan //---settings MAmode=0 Period=150 NumberOfMA=100 //---end of settings MA2=undefined ...
jordan dites moi si cela correspond à ce que vous cherchez
kats bonjour merci de ta reponse mais non ca fonctionne pas sympa quand même d'avoir essayé cdlt
Jean2139 Bonjour Yvan, Merci pour ton indicateur que je trouve très intéressant. Je suppose que tu ...
Suffi Hier eine kleine Korrektur: //-----Inputs-----------------------------------------// MALengt...
yas hi Ivan is it possible to include FAIR VALUE GAP code in to this indicator
Becleso Bonjour. Il y a une erreur dans le programme "ligne1 : Erreur : commande inconnue" As tu un...
Nicolas Sans doute parce que tu utilises le mauvais éditeur de code, il s'agit d'un indicateur. Je r...
Iván
4 months ago
Javier Goberna Hola Iván muchas gracias por todo tu trabajo y por tus videos. Estoy dado de alta en la plat...
Iván Hola javier gracias! es importante realizar buenos backtest antes de lanzarse al mercado y ...

Top