PzTrading:
Good afternoon,
I am porting a simple Ea which closes positions after some time if a condition is met, and I don't seem to find replacement for OrderOpenTime() for MQL5.
I browsed the forum and this article without success: https://www.mql5.com/en/articles/81.
Could you please point me in the right direction?
Thanks!
Never mind, I just did!
OrderGetInteger(ORDER_TIME_SETUP);
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
Good afternoon,
I am porting a simple Ea which closes positions after some time if a condition is met, and I don't seem to find replacement for OrderOpenTime() for MQL5.
I browsed the forum and this article without success: https://www.mql5.com/en/articles/81.
Could you please point me in the right direction?
Thanks!