Download MetaTrader 5

Trade Functions vs. Trade Classes

To add comments, please log in or register
dudenukem
60
dudenukem  

both provide more or less the same functionality but what is better to use while coding the EA?

balazs321
168
balazs321  
What is a trade function?
balazs321
168
balazs321  
But I guess that trade classes are based on trade functions.
Valerii Mazurenko
3486
Valerii Mazurenko  

Trade function - i like to know how my code's working. But when i use standart library - i'm not sure that it was written in best way. 

dudenukem
60
dudenukem  
balazs321:
What is a trade function?

these are the trade functions according to mql5 documentation;

 

https://www.mql5.com/en/docs/trading

 

to me they look quite clumsy - I would recommend to use them only in the beginning stage - later on its better to implement own classes or objects based on CTrade. 

Documentation on MQL5: Trade Functions
  • www.mql5.com
Trade Functions - Documentation on MQL5
To add comments, please log in or register