Kimipla:
Hello,
I am building an EA and would like it to set the SL and TP levels not when the trade is opened, but at a certain time of the day after it has been placed. Can someone help me, please?
Thank you!
Hello Kimipla,
In order to do that, you have to be familiar with the basics os "time" programming.
Please take a look at this article: https://www.mql5.com/en/articles/599
Regards,
Malacarne
MQL5 Programming Basics: Time
- 2013.04.26
- Dmitry Fedoseev
- www.mql5.com
The article focuses on standard MQL5 functions for working with time, as well as programming techniques and practically useful functions for working with time that are required when creating Expert Advisors and indicators. Particular attention is paid to the general theory of time measurement. This article should be of interest primarily to novice MQL5 programmers.
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
Hello,
I am building an EA and would like it to set the SL and TP levels not when the trade is opened, but at a certain time of the day after it has been placed. Can someone help me, please?
Thank you!