modify position in mql5

 

hi guys im new in mql5. how can i modify a position in mql5 with out classes?

 
ejmin ejoni: hi guys im new in mql5. how can i modify a position in mql5 with out classes?

Please read the following ... Documentation on MQL5: Trade Functions

Also, read the following article

Articles

Orders, Positions and Deals in MetaTrader 5

MetaQuotes, 2011.02.01 16:13

Creating a robust trading robot cannot be done without an understanding of the mechanisms of the MetaTrader 5 trading system. The client terminal receives the information about the positions, orders, and deals from the trading server. To handle this data properly using the MQL5, it's necessary to have a good understanding of the interaction between the MQL5-program and the client terminal.
For more information and examples, search the CodeBase and the Articles.

Reason: