Where to write the code?

Dear All,

I’m new to Algo coding. I’ve zerodha PI and I’m going through the Tradescript coding PDF.

I can write code in the backtest. But that looks at a specific data source only. e.g. Nifty or Banknifty.

If I want to look at all the scripts in the market. e.g. LAST > SimpleMovingAverage(CLOSE, 20), where do I write this script?

Thank You

Hemal

you can use scanner   go to pi -> Alerts -> Scanners and create a new scan and load scripts