It is possible, declare your symbols as variables.
Then create tickets:
ticket = subOpenOrder(Symbol_2, OP_BUY, 0, 0, Lots_2);
krpalek:
i would like to program strategy which can execute orders on multiple symbols simultaneously.
Can't be done. You can only call OrderSend() one at a time and open as quick as your broker's server can process.
i would like to program strategy which can execute orders on multiple symbols simultaneously.
You would have to have more than one trading account and run a separate instance of mt4 for each one
![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
Hi, i would like to program strategy which can execute orders on multiple symbols simultaneously. Not only use other instruments for information about "data1". Imagine strategy with 3 data samples, you want to execute orders on two of them and use third like an indicator.
Is that even possible in MT? In case it is, does anybody have any idea how to do it (can you share a code)?
Thank you