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.)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register