Help required for order place through ami auto trade afl

#32
I am trying to integrate this afl with my trading system.

I am observing orders getting placed every second until the candle is complete. Is there a way to stop triggers multiple times?

Need to place a single order everytime rather than multiple triggers placed.
 
#33
Hi
I am getting this error.What could be the problem.

"if(LastValue(Buy) OR LastValue(Cover)){plus.PlaceOrder("BUY",RefNumber, "NFO",Symbol,"DAY","LIMIT",AplliedQuantity,Pri ce,0 ,1,"NRML",ClientID);}
if(LastValue(Short) OR LastValue(Sell)){plus.PlaceOrder("SELL",RefNumber, "NFO",Symbol,"DAY","LIMIT",AplliedQuantity,Pri ce,0 ,1,"NRML",ClientID);}"

The error is "Error 31 syntex error,unexpected Idendifier,expecting ')' or ',' on both the lines.

Any solution?

SRJC
 

Similar threads