Alert after condition fulfill

Dear Sir,

I want to buy 1 Lot Gold Mini and sell 12 Lots of Gold gunia if price change between them is 80.

price in change means Current price - Close price (previous days close price)

e.g. Gold M price change - Gold Gunia Price change >= 80/-80 I want to take trade

e,g, GoldM 192 - Gold Gunia 138 = 54

please let me know to can i get this strategy in PI or buy other means.

it can not be coded for two script with single code with tradescript , if you want alert on price you can use price alert indicator