Skip to content

Scheduled Trading

Scheduled Trading is the ability to restrict bot activity by calendar and time of day using built-in time-based indicators.

Use cases include:

  • trade only on weekdays, skipping weekends;
  • run the bot only during specific hours — for example, daytime only;
  • avoid trading at night or at the end of the month;
  • activate the bot on specific days of the month.

The “Day of the Week” indicator returns the current day of the week in UTC+0.

ValueDay
1Monday
2Tuesday
3Wednesday
4Thursday
5Friday
6Saturday
7Sunday

The indicator checks the current day of the week and compares it to the configured value. If the condition is met, the bot is allowed to open trades. If not, entry is blocked.

Example 1 — Trade only on weekdays

Condition:

Day of the Week > 0
Day of the Week < 6

The bot trades Monday (1) through Friday (5).


Example 2 — Trade only on weekends

Condition:

Day of the Week > 5

The bot trades on Saturday (6) and Sunday (7).


Example 3 — Trade only on Monday

Condition:

Day of the Week > 0
Day of the Week < 2

The bot trades only on Monday (1).


The “Hour of the Day” indicator returns the current hour in UTC+0 as an integer from 0 to 23.

ValueUTC Period
000:00–00:59
101:00–01:59
2323:00–23:59

The indicator checks the current UTC hour and compares it to the configured boundaries. If the hour falls within the range, the bot is active.

Example 1 — Trade during the day (08:00–19:59 UTC)

Condition:

Hour of the Day > 7
Hour of the Day < 20

The bot trades from 08:00 to 19:59 UTC.


Example 2 — Trade at night (22:00–02:59 UTC)

This range crosses midnight — use OR groups:

Group 1: Hour of the Day > 21
OR
Group 2: Hour of the Day < 3

The bot trades from 22:00 to 02:59 UTC.


The “Day of the Month” indicator returns the current calendar date as a number from 1 to 31.

The indicator compares the current date to the configured boundaries. If the day number falls within the range, the bot trades.

Example 1 — Trade in the first half of the month

Condition:

Day of the Month < 16

The bot is active from the 1st to the 15th.


Example 2 — Trade in the second half of the month

Condition:

Day of the Month > 15

The bot is active from the 16th to the end of the month.


Example 3 — Trade only on the 15th

Condition:

Day of the Month > 14
Day of the Month < 16


In standard mode, time-based indicators are added as regular entry or exit filters.

  1. Open the bot settings and go to the filters section.
  2. Click “Add filter” and select the desired time indicator (e.g., “Day of the Week”).
  3. Choose a comparison operator.
  4. Enter a numeric value.
  5. Add a second condition if you need a range.


In flexible indicators, time conditions work like regular indicators: they can be compared to a constant, combined with AND / OR, and composed into complex logic.

Example — nighttime range crossing midnight:

Group 1:
Indicator: Hour of the Day
Operator: greater than
Value: Constant 21
OR
Group 2:
Indicator: Hour of the Day
Operator: less than
Value: Constant 3

Time-based indicators are fully supported in backtests.

  • The schedule is applied to historical data — the bot skips trades during restricted periods.
  • If you blocked trading on weekends or at night, no trades are opened during those periods in the calculation.
  • Backtest results accurately reflect bot behavior with the configured schedule, letting you validate the strategy before going live.

Time-based indicators give you precise control over bot activity:

  • Day of the Week — trade only on weekdays, weekends, or a specific day.
  • Hour of the Day — trade during daytime, nighttime, or any hourly range.
  • Day of the Month — restrict activity to the beginning, middle, or end of the month.

Remember: all values are calculated in UTC+0. Convert your local time before configuring a schedule.