Crosover above open buy price,

HI SIR,

              CROSS OVER ABOVE OPEN PRICE AND BELOW SELL PRICE WITH  QTY.

Please Verify condition again.

Buy: 

LAST < REF(OPEN, 1)

  Sell: 


LAST < REF(LOW, 1)

Hello mate please mention what period and type of moving average you want to apply.