Can someone help me add a local time filter to my EA? I want the EA to only look for trades in local time between something like 7:25 to 8:05. I can do it for hour only, but adding the minutes got me confused.
- MetaTrader 5 Built-in Trading Strategy Tester
- MetaTrader 5 Virtual Hosting for Forex and stocks
- Download MetaTrader 5 build 1730 with new trader features
- Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button)
and
state the nature of your problem.
No free help
urgent help.Or pay someone. Top of every page is the link Freelance.
Hiring to write script - General - MQL5 programming forum -
#define HR0725 ( 7*3600 + 25 * 60) #define HR0805 ( 8*3600 + 5 * 60) SECONDS tod = time(LocalTime()); if(HR0725 <= tod && tod < HR0805) trade();
Find bar of the same time one day ago - Simple Trading Strategies - MQL4 programming forum
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