can somebody help me with a open source code example for a MT5 EA that open a Order in EURUSD and GBPUSD when a simple signal happen?
I want to make some Test but i dont get a EA working.
So the EA need just to open one Order in that both pairs, let us say at every new candel open and close both orders again at every candel close.
That would be very helpfull if somebody can help with such a code.
I have currently a MT5 EA with wich i can test, but just trading in one pair, since i trying to let it trade in 2 different pairs during the Backtest, it does not open orders, it write Requote instead of open the order in the other pair and i dont get it working. So a working example would be helpfull.
I just programmed my first MultiCurrency EA. There are not all external variable working but it is a compact and clear code an perfect for testing.
Take a look at https://www.mql5.com/en/forum/14478