![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
In my testcase I run it with AUDUSD AND EURUSD, is there anything which can influence the positions by a position in the other symbol - or maybe by previous events?
Without a proper analysis and debugging of your entire code, and exact information about the testing environment, it is difficult to say.
Remember however, in a multi-symbol environment, there are no tick events for the other symbols besides the chart symbol.
So, in those cases, you have to continuously make sure that the symbol quote prices and other data is always kept "fresh".
Any small delay between the capture of the data in their eventual use could lead to slippage.
yes this might be... but I dont think that this is here the problem. As i sayed before: If I run the expert just with one symbol, it does not produce such a problem.
In my testcase I run it with AUDUSD AND EURUSD, is there anything which can influence the positions by a position in the other symbol - or maybe by previous events?
Hi Daniel,
with a bot running on 20 symbols you can produce a lot more trades which helps to geht more statistical meaningfulness. Besides this, if you hav 20.000 trades you can filter a lot , to leave only the good ones but still have enough for your statistical relevance...
Im running the bot in a AUDUSD window ...
Now I figuered out, that if I use the MT5 CTrade Class instead of my code than everything works... So in the function which I showed here in this thread at first must be something confusing the MT5 Terminal....
Now i changed this :
to that :
the before calculated SL is the same....
Ill investigate further ;)
Hi Daniel,
with a bot running on 20 symbols you can produce a lot more trades which helps to geht more statistical meaningfulness. Besides this, if you hav 20.000 trades you can filter a lot , to leave only the good ones but still have enough for your statistical relevance...
Im running the bot in a AUDUSD window ...