Optuma Forums › Optuma Scripting › Pivot point scan on multi year timeframe doesn’t work › Reply To: Pivot point scan on multi year timeframe doesn’t work
- Topics: 18
- Replies: 26
- Posts: 44
Thank you for your solution. I just tried your script and here is the result.
As shown in the picture, the scan returns the result with all the securities who’s closing price near the pivot of current 5y candle’s R1 71.683.
However, my intention was to identify securities test the pivot of the previous 5y candle pivot, in this case, as shown in the picture follows, the current price should be at around 10.857.
That’s why i tried to use offset=1 in the script.
It seems like something need to be changed in the scrpit. So, what’s your take on this case ?