Dear Experts,
With help of my friends i have created few strategies when i am testing i got sell & buy at same time for same script in scanner
buy script -price + volume
(CLOSE > REF(CLOSE,1) * 1.01 AND VOLUME > REF(VOLUME,1) * 2 ) OR
(CLOSE > REF(CLOSE,1) * 1.01 AND VOLUME > SMA(VOLUME,5) * 1.5)
sell script-price +volume
(CLOSE < REF(CLOSE,1) * 0.99 AND VOLUME > REF(VOLUME,1) * 2) OR
(CLOSE < REF(CLOSE,1) * 0.99 AND VOLUME > SMA(VOLUME,5) * 1.5)
kindly correct above code. Also with help of friends i have created few codes but everything works same way