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
Etienne Hi, thanks for proving this code. I would like to contribute by adding a computation speed...
Etienne //Compute Super Smoother coefficients once if barindex = 1 then a1 = exp( -1.414 * 3.14159...
Nicolas Thanks a lot!
Rafa And the PriceMAPeriod? aren´t the same?
Nicolas The PriceMAPeriod is the period to make the average of all the last X medianprice found.
Rafa Thanks a lot Nicolás. Have a nice day
bolsatrilera
7 years ago
Kairi Relative Index
Kairi Relative Index
0
Indicators
GraHal Wow! Thank you Vonasi, great idea!
Vonasi No Problem GraHal. Please share anything interesting that you find using it.
Vonasi I've made a small improvement by adding a Buy and Hold line for comparison. This line can be...
anametsinwha Is it possible to change it to highs and lows rather than open and close?
Caribeengeek Bonjour j’avais vu que vous proposiez d’écrire des codes pour ceux qui s’y connaisse pas Mai...
Caribeengeek Les devises unité
Nicolas Merci d'utiliser le forum pour les demandes de programmation personnalisée
juanj
7 years ago
Vonasi Thanks for your thanks Real Pro and yes everyone should import the itf file to make sure tha...
Pepsmile Good job, which could be applied for a spectrum of another indicators.
Pepsmile As to better understand which parameters are better for an indicators in a specific period (...
Bard I was talking to a Machine Learning coder today who's algos have apparently managed to get 7...
Carlos Garcia If price tags the lower BBand, look for IIIX has positive values to enter a trade. Converse...
Nicolas Please add a request on forums for any MT4 code conversion, thank you. Follow these easy ste...
mecon I will do so, thank you!
avatar
Anonymous @mecon, did you ever get one?
ullle73 nicolas, can you somehome make this to be in the background of the price chart?
jonpt88 none did that yet right?
Nicolas You can ask for a code modification on forums, please open a new topic with your request.
Thally Thanks for the quick response Nicholas. Would you have any idea how to resolve. Manually ref...
Thally Do you think adjusting the below code might help? newperiod = minuteminute[1] if newperi...
Nicolas There is no "second" instruction.
Toto le Heros Thanks Nicolas. I read somewhere that in the calculation, we should round the value of the A...
Nicolas aADX = round(adx[10])
bolsatrilera
7 years ago
Rainbow Oscillator
Rainbow Oscillator
1
Indicators
Maxime Baudin Interesting, thanks! Combine this indicator with the bollinger bands there is enough to make...
Matriciel
7 years ago
Alai-n Thanks...
FULVIO09
7 years ago
CCI Correction.IND
CCI Correction.IND
1
Indicators
Agima Bonjour Une petite question d'un débutant : Comment faire pour afficher les variables à gau...

Top