Hi everyone, I am new to coding and require some assistance in the following matter.
I would like to code a indicator that identifies pocket pivots but in a histogram format just like the attached image.
Pocket Pivots are described in the book ‘Trade Like an O’Neil Disciple’ of Dr. Chris Kacher and Gil Morales.
In the charts, the ‘Pocket Pivot Overlay Indicator’ has two parameters:
- The length of the SMA from which the Pocket Pivot should originate.
Default for this parameter is 10.
- The maximum offset allowed from this SMA in percent. Default value is 2.5, meaning that the current open should be within 2.5% of the 10 SMA.
Thank you in advance
Hey mate, did you find anything?
This is what I have ;
And here’s the indicator;
Cheers,
Dale 😉
Hi Dale,
Thank You so much for taking the time to reply, however; when I insert the code you have sent me into pro real time stock screener, I receive a syntax error.
You have also stated towards the bottom of your file // ** Other criteria to try ** is this for the pocket pivot indicator?
Because when I insert the code into the pro builder indicator creation I get the following Syntax error which I have attached below in the image.
Thank you in advance
George
Hi Dale,
Please ignore my previous message; I did manage to get your code working in the pro real time indicator section.
Thank you so much. Legend
Regards
George
Recently I changed ;
” Days to confirm uptrend ” to 50
Shows more / quicker pivots on Indicator,
and more results on Screener,
Cheers
🙂
Dale
Am I able to insert the code for the pocket pivot indicator into the screener section of pro real to scan for pocket pivots as well ? Or do i need to tweek the code for screening?
Cheers
You post the Screener as a Pro Screener, and you add the Indicator to the charts.
They are both ready to go as they are.
Go add new, erase all. Copy / paste , Aus shares thats it.
I also change the Indicator to a histogram to get the nice blue bars.
Here are some notes of when I was getting help installing it
Thanks Dale
You have gone above and beyond….Really appreciate it. Will get onto it later on tonight.
Thank you once again.
There must be a fair few closet rollytrader protegees out there haha
Hi,
I am new to coding as well.
I copied the text into the section but I am getting a similar syntax error message.
Can you help me by letting me know where I have gone wrong?
Thanks, Michael