Class to detect and manage orders.
More...
|
| DetectOrders (void) |
| Default constructor for the DetectOrders class.
|
|
void | UpdateAtr (string symbol_arg, ulong magic_arg) |
| Updates the symbol and magic number for the order.
|
|
bool | IsValidOrder (ulong ticket) |
| Checks if an order is valid.
|
|
bool | UpdateOrders () |
| Updates the orders by collecting valid order tickets.
|
|
Class to detect and manage orders.
◆ DetectOrders()
DetectOrders::DetectOrders |
( |
void | | ) |
|
|
inline |
◆ IsValidOrder()
bool DetectOrders::IsValidOrder |
( |
ulong | ticket | ) |
|
Checks if an order is valid.
- Parameters
-
ticket | Ticket number of the order. |
- Returns
- True if the order is selected, and the magic number and symbol match; otherwise, false.
◆ UpdateAtr()
void DetectOrders::UpdateAtr |
( |
string | symbol_arg, |
|
|
ulong | magic_arg ) |
Updates the symbol and magic number for the order.
- Parameters
-
symbol_arg | Symbol for the order. |
magic_arg | Magic number for the order. |
◆ UpdateOrders()
bool DetectOrders::UpdateOrders |
( |
| ) |
|
Updates the orders by collecting valid order tickets.
- Returns
- True if at least one valid order ticket is found; otherwise, false.
◆ orderTickets
CArrayLong DetectOrders::orderTickets |
Array to store the order tickets.
The documentation for this class was generated from the following file:
- C:/Users/solut/AppData/Roaming/MetaQuotes/Terminal/010E047102812FC0C18890992854220E/MQL5/Include/AtingMQL5/src/detect/DetectOrders.mqh