ticket = OrderSend ( Symbol (), OP_SELL, lots, Bid, 3 , Ask - 100 * Point , Ask + 100 * Point , NULL ); I have been using the above code to send order (USD/JP) when the RSI is above 70, but I always get error 130 . It seems like I might be violating
I am currently implementing an EA that pauses after it has closed a position, and the code is down below: if ( OrdersTotal () == 0 && TimeCurrent () >= OrderCloseTime() + 1200 ) {