HIGH=HHV(52) used for 52 week high on same platform how can I check 2 Months High/Low by using scripts.
For High
HIGH=HHV(52)
For Low
LOW=LLV(52)
Here the 52 represents last 52 candles so,
if you are using day charts each candle is equal to one day, so if you want 2 months (as 22 trading days for month) use 44 in the place of 52
if you are using minute or hour candle calculate periods accordingly.