Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 453
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
Hello! Please help! How do I find out Open[0] on another symbol (not on the current chart symbol)-Thank you...
https://docs.mql4.com/ru/series/iOpen
https://docs.mql4.com/ru/series/iOpen
Thank you very much!
For some reason my EA works on a demo account, but the tester doesn't open trades, even though I downloaded the history of all the pairs involved...
I do not want to open my EA with multicurrency in MT5
Question has arisen, is it possible to write an Expert Advisor or script, which would be to achieve for example a 2% loss on the day would close all transactions?
you can.
with multicurrency only in the MT5 tester
For some reason my EA works on a demo account, but the tester does not open deals, although I have downloaded the history of all the pairs involved...
If you try to open a position not on the symbol being tested, you cannot. If it doesn't open on the symbol under test - it's hard to tell you anything without your code.
Are you testing it on AUDUSD?
The calculated values of prices in a trade order must be normalised to Digits. Not only that, it should meet the requirements of StopLevel (didn't do it here)
The OrderMagicNumber() is the magic number of the pre-selected order. You must either set it with a specific value, or calculate it in the EA so that it is unique for it.
Prior to that check unprint all values of all conditions that are checked here. Then it will be clear to you where to look.