Reply To: Pivot point scan on multi year timeframe doesn’t work

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

#63685
AvatarYan
  • Topics: 18
  • Replies: 26
  • Posts: 44
V1 = PIVOTS().Pivot; V2 = CLOSE() ; WITHINRANGE(V2,V1, PERCENT=5.00)

Hi Matthew,

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.

1

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.

2

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 ?

Thanks

Yan

Pin It on Pinterest