5 day low or high break out stock any code for this

Low and high breakout for stock

hElLO tRaDeR,

If your question is related to Pi.

Tradescript code used on Pi is ideal for Intraday candles only.

Comparing today’s intraday candles to previous highs and lows are not functional on Pi at the moment.

If you are interested to check the 5 day range on FnO stocks manually, you can refer to this Intraday spreadsheet shared by one of our forum users: