Class to handle the removal of orders and positions.
More...
Class to handle the removal of orders and positions.
◆ Remove()
Default constructor for the Remove class.
◆ RemoveOrdersFromCArray()
bool Remove::RemoveOrdersFromCArray |
( |
CArrayLong & | orders_to_delete | ) |
|
|
protected |
Removes orders from an array of order tickets.
- Parameters
-
orders_to_delete | Array of order tickets to remove. |
- Returns
- True if all orders were removed successfully, otherwise false.
◆ RemovePendingOrders()
bool Remove::RemovePendingOrders |
( |
| ) |
|
Removes all pending orders.
- Returns
- True if all pending orders were removed successfully, otherwise false.
◆ RemovePositions()
bool Remove::RemovePositions |
( |
| ) |
|
Removes all positions.
- Returns
- True if all positions were removed successfully, otherwise false.
◆ RemovePositionsFromCArray()
bool Remove::RemovePositionsFromCArray |
( |
CArrayLong & | positions_to_delete | ) |
|
|
protected |
Removes positions from an array of position tickets.
- Parameters
-
positions_to_delete | Array of position tickets to remove. |
- Returns
- True if all positions were removed successfully, otherwise false.
◆ UpdateAtr()
void Remove::UpdateAtr |
( |
ulong | magic_arg, |
|
|
string | symbol_arg ) |
Updates attributes for the Remove class.
- Parameters
-
magic_arg | Magic number. |
symbol_arg | Trading symbol. |
◆ UpdateAtrToDetect()
void Remove::UpdateAtrToDetect |
( |
ulong | magic_arg, |
|
|
string | symbol_arg ) |
|
protected |
◆ detectOrders
Object for detecting orders.
◆ detectPositions
Object for detecting positions.
◆ magic
Magic number for trade operations.
◆ symbol
◆ trade
Trade object for performing trade operations.
The documentation for this class was generated from the following file:
- C:/Users/solut/AppData/Roaming/MetaQuotes/Terminal/010E047102812FC0C18890992854220E/MQL5/Include/AtingMQL5/src/remove/Remove.mqh