hi,
may be this code can help you
if(TimeDayOfWeek(Time[0])==5 && TimeHour(Time[0])>=21)
{
return;
}
if(TimeDayOfWeek(Time[0])==1 && TimeHour(Time[0])<=1)
{
return;
}
put it before code for opening order, or at start() function after variabel declaration. it'll prevent the ea to make order between friday 21pm to monday 1am server time, according to last updated bar in the chart.
Files:

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
i have found this free EA but i need help. I was wondering if anybody who knows how to program could put a no trade friday option in it. also different type of start and stop time filter. the start stop time works as long as it doesn't pass midnight which leads me to believe it needs a different type of filter for start and stop time. and I want to make it work on five digit broker? any help at all would be appreciate as i under stand coders are really busy. i tried it myself but I cannot get it right whatsoever! I'm not a coder at all.