Can i use my code in PI Scanner

How to use my coding strategy in PI Scanner

first you have to code your strategy with tradescript language , for tradescript reference go to pi help-> tradescript help, then backtest your code check and verify if there is any errors and correct it,

then you can use the code by creating a scanner and can scan the list of selected stocks