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
Great article. I could never figure out the advisors.
But now I don't.
Class
It is not created new, at the same time in the source it is not static. In other exemplars of classes (I will not say about this class) objects from classes are created new. This way and that way.
and the function bool CTrade::Buy(const double volume,const string symbol=NULL,double price=0.0,const double sl=0.0,const double tp=0.0,const string comment="") is not static.
same with the CPositionInfo m_Position class;
I am completely confused.
Great article. I could never figure out the advisors.
But here I don't get it.
...Thank you all for your interest in my article.
The classes m_Trade and m_Position are declared in header files
which are elements of the standard library.
Perhaps, I am going to be thrown with bricks now, but I believe that the difference between defining an object of a class (CTrade m_Trade) and creating an object through the new operator is that:
At the moment the best article for people starting to learn MQL5 in terms of perception. Thank you for your labour.
I am a begginer and I think that this kind of articles is very interesting. Thanks
it helped me a lot for the beginnings. Thanks again
Hello, Dmitry!
You have written a great article for people who are ABSOLUTELY far from programming. I ask you not to stop and continue writing such articles. If necessary, I can compile a large list of questions that are of interest to those who start programming from scratch, from the word FULL zero. Please respond to my appeal.
Regards, Vladimir.