Scanner in pi with supertrend

Hello sir,

Please provide me code for scanning stocks which have fresh supertrend buy or sell signal.

It is not possible to code Supertrend in Tradescript. If you are using Amibroker you can connect it with Pi and can use Super Trend Indicator AFL, or you can use Supertrend in KITE