Hello,
When I use the code found in PRC to get the pivot points numbers (https://www.prorealcode.com/prorealtime-indicators/daily-weekly-monthly-pivot-points/), I get an error message stating that an entire and positive number is expected with “Highest”.
What’s wrong ?
Does anyone have the code to get the monthly pivot points to use it in a screener ?
Thank you.
Toto
Whenever you see:
[BarIndex - .......]
try replacing it with:
[max(1,BarIndex - .......)]
be it with HIGHEST, LOWEST or any other occurrences.