Trading view Pine script for max of open or close of previous months daily candle

Viewed 12

I would like to mark a horizontal ray line for the max of open or close of previous months daily candles.

I am dont know how to achieve this because not i dont see any grouping function where i can group all daily candles of a month and then find the max of open or close.

Can any pine script gurus help

0 Answers
Related