Discussion of article "The Use of the MQL5 Standard Trade Class libraries in writing an Expert Advisor"

 

New article The Use of the MQL5 Standard Trade Class libraries in writing an Expert Advisor is published:

This article explains how to use the major functionalities of the MQL5 Standard Library Trade Classes in writing Expert Advisors which implements position closing and modifying, pending order placing and deletion and verifying of Margin before placing a trade. We have also demonstrated how Trade classes can be used to obtain order and deal details.

Author: Samuel

 
Thank you Samuel for writing such an in-depth article. It is appreciated.
 
Nice and easy to understand
 
Very nice article! I'm using this as a reference.
 
Chapter 1.4 uses order history to describe COrderInfo, is it right?
 
Amy Liu:
Chapter 1.4 uses order history to describe COrderInfo, is it right?

No you are right.

See an example of COrderInfo usage in your platform : "MQL5\Scripts\Examples\OrderInfo\OrderInfoSample.mq5"

 
Alain Verleyen:

No you are right.

See an example of COrderInfo usage in your platform : "MQL5\Scripts\Examples\OrderInfo\OrderInfoSample.mq5"

Get it. Thank you very much!
 

great article.

Thank you for writing this great article.


let me correct this code.....


this code was typo:

typo


the correct one is:

myposition.PositionType()

 
Hady Candra:

great article.

Thank you for writing this great article.


let me correct this code.....


this code was typo:


the correct one is:

myposition.PositionType()

Hello Hady,

Thanks for your observation. The article is being updated. It will reflect the corrected version once the update is completed.

Thanks once again.

 
Hello,
All comments in the source codes of this article are in Cyrillic characters, incomprehensible to me.
Is it possible to have the same source codes with comments in English?
Thank you.
Pierre
 
Samuel: Thank you for this wonderful article. It helped me a great deal!