Do not close at Ask or Bid, use MarketInfo to get the Bid or Ask of the symbol.
Alternatively, if the order has been selected, you can close at OrderClosePrice()
johnnybegoode: How to close multi currency?
Do not trade multiple currencies- You can't use any predefined variables, can't use the tester, must poll (not OnTick,) and usually other problems.
- Code it to trade the chart pair only. Look at the others if you must.
- Then put it on other charts to trade the other pairs. Done.

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
How to close multi currency?
So I manage to get a multi-currency script working.
However when I close, it only closes the pair of chart it is attached to.
How do I close multi currency when ea is attached to only a single chart?