order expiration time?
for the ordersend function, how does the expiration time parameter work? if I put in an integer like 5, does it mean the pending order will be canceled after 5 bars?
- order pending
- MQL4 Learning
- Expiration
Per the documentation, expiration is a datetime - when the pending order expires. 5 is 1970 plus 5 seconds. (Not all brokers implement expiration.)