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
You should still review the code before publishing.
I agree, trade classes have stabilised enough now. So why, while advocating their use, the examples include functions for obtaining instrument properties instead of using methods of CSymbolInfo class. It seems inconsistent.
This has been fixed a long time ago, back on the day of publication.
Clarify what is meant. If you call to write classes everywhere, some newcomers may find it complicated and incomprehensible.
Actually, it's not me who urges you to use'Standard Library' classes in the above quote, I only agree. Of course, it's a matter of taste.
In a little bit complex EA there are a lot of references to symbol properties and by creating once an instance of CSymbolInfo class we simplify the references to them and the perception of the programme. My opinion.
I apologise, I didn't know where to ask this question and decided to ask it here, I think the topic is suitable.
How can I close all orders opened either only for selling or only for buying at once?
I apologise, I didn't know where to ask this question and decided to ask it here, I think the topic is suitable.
How can I close all orders opened either for selling or for buying at once?
Part of the code:
In the Strategy Tester log of the entry :
What could be the problem ? Please give me a hint.
I will be grateful if you reply to mail nfo52^mail.ru, ICQ UIN: 4002787, skype: osipov52.
Thank you.
Win7 64 times, MT5, demo-account DB Otkrytie.
Part of the code:
In the Strategy Tester log of the entry :
What could be the problem ? Please give me a hint.
I will be grateful if you reply to mail nfo52^mail.ru, ICQ UIN: 4002787, skype: osipov52.
Thank you.
Win7 64 razr., MT5 , Demo-account DB Discovery.
...My mql4 EA takes 70 lines, I rewrote it to mql5, and it turned out to be 198!!!!!! So the title with the word "simple" is not appropriate.