Do not double post!
I have deleted your duplicate topic.
Dear all,
I'm trying to developing ea that will open a buy order with one pair, and a sell order for another pair at the same time?
For example: I am overlaying two charts EUR/USD and USD/CHF
When I visually see an entry point, I want to have the ea instantly open apposing orders at the lot size I specify: BUY 1.0 lot on the currency pair EUR/USD and a SELL 2.2 lot on currency pair USD/CHF.
(I need to be able to choose which one is long, and which one is short)
I found a piece of code but it's from mt4.
Can anyone help me convert it to mt5?
Please give me a help
Thank you very much
29 errors when you compile in MQL5, mainly around MarketInfo and OrderSend- its some effort to go through each one, but not that hard really to look up the MQL5 equivalents and change the statements.
Are you a programmer?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Dear all,
I'm trying to developing ea that will open a buy order with one pair, and a sell order for another pair at the same time?
For example: I am overlaying two charts EUR/USD and USD/CHF
When I visually see an entry point, I want to have the ea instantly open apposing orders at the lot size I specify: BUY 1.0 lot on the currency pair EUR/USD and a SELL 2.2 lot on currency pair USD/CHF.
(I need to be able to choose which one is long, and which one is short)
I found a piece of code but it's from mt4.
Can anyone help me convert it to mt5?
Please give me a help
Thank you very much