Forum

Return Code: 10004 - Re-quote on Short/Sell Orders

Hello There, I am not sure that why I am getting a retcode 10004 each time the EA is trying to place a sell order if the particular condition is met. I don't observe the same with buy positions. I even thought of using the deviation of 50 as I trading on EURUSD (5 digits) and applied the same still

Take Profit Goes 0.00 When Modifying Trailing Stop Loss

Hello All, I am very much new to MQL5 programming language and since couple of weeks I have been working on an EA that enters into buy or sell positions based upon a set conditions and rules. Additionally, it also take trailing stops into consideration if there is a movement in the right direction