Strategy code needed for Open Interest which can work on Zerodha Pi

Hello There,

Greetings for the day.

could you please provide me a strategy code for below actions.

1 : Buy = Increasing open interest + Increasing price

2 : Sell = Increasing open interest + Decreasing price

We’d like to use this script in the scanner.

Thanks & Regards


NaMasTe TraDeR,

Tradescript does not support OI function.