You could try Time Trader from the codebase or look for other news trading code.
- or
#define HR2400 86400 #define HR1300 46800 // 13 * 3600 datetime now = TimeCurrent(); int tod = now % HR2400; if (tod >= HR1300) ...
- https://www.mql5.com/en/forum/127483 reports DayOfWeek() always returns 5 in tester. So I only use the TimeXXX() versions (TimeHour, etc)
Thank you friends!! i'll test and come back soon.
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
Hi, i'm a newbee. i want to place a time based order with the price on that time.pls help me providing EA.
For example, i want to buy 1 lot at 13.00hrs with TP 50 & SL 75. How to do?
Thank you.