How to disable trading on certain days of the week?

Avatar
  • updated

To disable trading during some days of the week:

1. Enable Custom schedule

2. Set the same Start and End time for days you want to disable

In this example, EA will not trade on Monday and on Friday:

Image 1669

Do not be confused by "disabled" start/end hour.
"Disabled" start/end hour means schedule is disabled for this day. So, EA will trade all the "disabled" day.
Avatar
ade f

Hi Andrey! first of all thanks for explaining about disable trading on certain days of the week.
Sorry to bother you again, im in build scalping system for rules of trade only Tuesday - Thursday and time at 04.00 - 18.00.
for rules of day works well because your

explaination above, but for rules of times its didnt work.
the trade sometimes open out the rules of time such as 19.00 or 21.00 o'clock.
and thats ruin the system like image below

and there is my set for Custom Schedule

correct me if i'm wrong for time set

thanks Andrey.

Avatar
Andrey Khatimlianskyi
Quote from ade f

Hi Andrey! first of all thanks for explaining about disable trading on certain days of the week.
Sorry to bother you again, im in build scalping system for rules of trade only Tuesday - Thursday and time at 04.00 - 18.00.
for rules of day works well because your

explaination above, but for rules of times its didnt work.
the trade sometimes open out the rules of time such as 19.00 or 21.00 o'clock.
and thats ruin the system like image below

and there is my set for Custom Schedule

correct me if i'm wrong for time set

thanks Andrey.

You also have to set the correct GMT/DST and choose which deals schedule is applied to:

How-to-set-the-correct-gmt-and-dst-for-your-broker


More info about Time settings is here.

Avatar
Christoph Trautwein

Is it possible to close all positions before the weekend using the time settings?

Avatar
Ulises Cune
Quote from Christoph Trautwein

Is it possible to close all positions before the weekend using the time settings?

Image 4046