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
Zigo
5 years ago
fifi743 Good morning, there is no mistake about the shorts c11=SMI[14,3,5](close)>-40
Zigo has to be c11=SMI[14,3,5] < -40 (indeed)
xar3 Thank you ;-) Zigo
Suzu Yuk Regarding line68, //-- with indicator "properties", add coloured fill between euroOFF and...
manual_ice As far as I know, it is not possible to include "fill" inside an indicator. But, since ve...
Morrissey38 Muchísimas gracias Nicolás , muy amable.
Bruno Carnazzi extrèmement pertinent
Bruno Carnazzi Is that beatable ?
Maxime Baudin Very useful! Thanks Mat, and Happy New Year
nicko Great work. Thank you. However I am having trouble getting it to print in the first bar. If ...
Nicolas
5 years ago
Rex Oscillator
Rex Oscillator
2
Indicators
Rollerbob thank you Nicolas !
Guibourse Thanks ! Would it be possible to translate it into a screener ?
Nicolas
5 years ago
KDJ
KDJ
3
Indicators
fireleg79 Bonsoir Nicolas. Merci pour tout ton travail. Quand tu auras le temps pourras-tu jeter un oe...
Sejibi Bonsoir, En remplaçant percentJ = 3 * percentD - 2 * percentK par percentJ = 3 * perc...
JMARTY Bonjour, A la recherche d'un indicateur détectant les divergences sur DMI, je tombe sur ce...
Alps007 Hi Nicolas. Happy New Year. Can you please program me several MACD divergence screeners ...
Arlei Zanin Hello Nicolas, would it be possible to convert the Cloud to Pascal language? Thank you.
ashee i want it in MT4
robertogozzi Like my screener https://www.prorealcode.com/prorealtime-market-screeners/abcd-pattern-scree...
aldtrading Thanks for your work. I'm using V11 and nothing is drawn on the chart, I believe this is ...
robertogozzi It works on v10.3, v11 and v12. You are likely to have added it BELOW your chart (like RSI),...
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...
Vonasi
6 years ago
Maxime Baudin Very interesting for monthly stock market strategies, thank you Vonasi! :)
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.
Moitomkw Try as soon as: hh = highest[MagicFilterPeriod](low) ll = highest[MagicFilterPeriod](high)
Marie-Eve Vergoz Bonsoir - Voici l'erreur qui est signalée lorsque je souhaite utiliser cet indicateur : il...
Meta Signals Pro Pleasure ! Please let us know if you make good trades with it and if you see improvements we...
francis59 Bonjour, Bonjour, comment puis-je créer un screener basé sur cet indicateur, qui affiche le...
Trader Sab I am curious to try it how, however I get an error message for line 47 and 48 - drawsegment,...
rama what is oohline
Vonasi From the indicator description above: 'The space between sessions can be either blank or hav...
amitoverseas40 Hi Vonasi, would you be kind enough to provide an indicator to only displays the wicks i.e. ...
denmar Awesome. Thank you.
Sapo Thank you for your indicators. As always it's perfect, I thank you for your help it's preci...
Om Hello, thanks for sharing! Getting a message that Variable P is undefined?
matin Intraday Average Volume Indicator Not working, what can i do plz
Sapo Thank you very much. as always your indicators are extremely effective. kind regards Vonasi.
mitsu21 Hi, it looks nice. I'll try it tomorrow thank you for your share kind regards bruno
kj1988 Thank you Vonasi for sharing this indicator. Very useful as a comfirmation to the price act...
Franro Hi, this looks very good is this something you worked towards a strategy?
hua hin Bonjour comment mettre ce programme sur un graphique le lien est en JPG et sur crewation i...
Dron Hola! El archivo itf donde esta?
Nicolas Just add it on the price series.
yomisadiku Hello Nicolas, Can I use high and low price at lines hh=max(hh,close) and ll=min(ll,close) ...
Nicolas Yes you can do that, the impact will be that the trailing stop line will be much close to th...

Top