Create Alert to scan all scripts having more than 1% difference between cash and futures prices

Hi, i want to create an alert for all scripts having more than 1% difference between cash and futures prices.please suggest the code.

hElLO tRaDeR,

If you are referring to the Pi Scanner, it wont be possible,

Tradescript language used in PI Scanner identifies trades based only on candle stick OHLC values.