I need to be able to set the time the EA trades?
Any help would be greatly appreciated!
Files:
2010_01_Gangsta1_noBuffer.ex4
9 kb
- Can someone please add time option to this ea
- Indicators with alerts/signal
- can someone help me to add time filter in my ea.
extern string startTime = "07:45"; extern string endTime = "19:45"; bool RightTime() { if (( CurTime() >= StrToTime(startTime) && CurTime() <= StrToTime(endTime)) ) return (true); else return (false); }
in int start() just write
if(!RightTime()) return (0);

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