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
imran Hi I have been trying to test a strategy to buy and sell based on the indicator cross overs...
Zigo I'am sorry that I answer so late, but the code seems to be working perfect. I use the indica...
Zigo
5 years ago
Zex-Indicator
Zex-Indicator
6
Indicators
bertrandpinoy Hello Zigo can you turn into an automatic strategy?
eckaw Hey @Zigo thanks for this indicator. May I ask what the multiplier 1.682 is derived from? I ...
Zigo Hello, eckaw, its not so important I had meant 1.618 and not 1.682. It has nothing to do wit...
Dunstan I would like to get guidance_ How do I access and attach this indicator to my MT5 platform...
Nicolas You can't, use prorealtime, it's way better
jc84 Thank you very much for this indicator , not provided by PRT I was actually working at thi...
Nicolas Oui le code est correct et il fonctionne, j'ai de bons résultats sur la liste NASDAQ par exe...
pincherman Bonjour :-) J'ai coller le script dans prorealtime pour jouer avec le supertrend et j'ai un...
Nicolas Vous l'avez sans doute collé au mauvais endroit, dans l'éditeur de code pour les stratégies,...
IV Mcm Bonjour, Je ne reconnais pas cette ligne dans le code, essayer de télécharger directement le...
Manu L. Bonjour, Possible de créer un screnner multiframe Mois dans Ichimoku semaine dans Ichimok...
Guillaume Mcm I gave the above message fix ;)
Tradingrob Is it possible to put the itf-file in the right way here in Prorealcode? so the right 'trend...
Guillaume Mcm Update link ;) https://www.prorealcode.com/topic/trend-histogramme-cci-mise-a-jour-suite-...
ggolfet Hi Actarus, what's the name of the histogram indicator below Apple's chart?
Actaru5 Flag ShowState in setting and show histogram
NicolaSilvagni hi, thank you for creating this indicator. i can't figure out how to get the three graphs b...
larouedegann It doesn't work
ggolfet it seems it's not working on prorealtime 11. I changed MACDSignal to MACDSign in order to av...
juanj Please note that the indicator is meant for PRT 10.3
khashayar Hi Can you please upload the TMA channel code? Thank you
oyinloyea Is it possible to have the open and close price in Box format for the different sessions. Th...
Luciole I aslo got this error message with EU version : "A positive integer parameter is expected wi...
Suzu Yuk So Does anyone knows how to fix the error "“A positive integer parameter is expected with HI...
Thomas I haven't solved it yet. I suspect it has to do with the data cache. The problem has never o...
Thomas
5 years ago

Top