The answer is true when a new trade has closed. Otherwise, the answer is false.
Very helpful when the trader wants to react after a trade closes.
Data
Order Type (required)
The answer will be true if the type of the order that just closes matches the type selected in this field.
Symbol (optional)
The answer will be true if the symbol of the order that just closes matches the symbol specified in this field.
You specify the symbol when you only want to consider a specific symbol.
If not provided, all symbols would be considered. So, the answer would be true when any trade that just closes matches the rest fields restrictions.
Magic Number (optional)
The answer will be true if the magic number of the order that just closes matches the magic number specified in this field.
You specify the magic number when you only want to consider a specific magic number.
If not provided, all magic numbers would be considered.
Comment (optional)
The answer will be true if the comment of the order that just closes matches the comment specified in this field.
You specify the comment when you only want to consider a specific comment.
If not provided, all comments would be considered.