Forum

Cant add non forex symbols to mt5

Im trying to add SPX500 tot mt5 to test out my ea. At first I was using Tradersway demo then I also added Hugosway and xm.com to see if they included more symbols. But for some reason in the Market Watch window when I view all symbols I am still stuck on a limited list of only forex symbols

Best practice to speed up backtesting

As my EA gets more robust it inevitably is taking longer to backtest . What operations should I avoid to help speed up the bot, are there certain things I should/should not be doing. I know that I will have to optimize my code somehow I just dont know where I should be looking. Thanks

Invalid Request On OrderSend

I have been trying to place a sell order through my EA and have run into several issues. Here is my current code, I get failed market sell 100.00 EURUSD sl: 1.12718 tp: 1.12743 [Invalid request] and retcode of 10013. I changed my volume to 1000 and then got an invalid volume error, so i changed to