Skip to main content
Version: 3.0

Example B5: Automatic signal shifting depending on daylight saving time (DST)

caution

This is not a ready-to-use trading strategy. A trading strategy requires adjustment to the timeframe and symbol, along with thorough backtesting. The example is intended as a foundation for your own custom strategy and to help you get familiar with the Expert Advisor Builder web application. To import and use an example, please follow the instructions provided here.

Description

This example addresses daylight saving time (DST) adjustments, automatically shifting trading hours when DST changes occur. The configuration shows complex DST rules with different start and end dates, demonstrating how the system adapts to time zone variations. This ensures strategies maintain consistent market timing throughout the year.

The news-based signals combine with hourly restrictions to create a sophisticated timing system. When DST shifts occur, the entire schedule adjusts automatically, maintaining alignment with actual market sessions rather than clock time. This prevents strategies from trading at unintended times after DST changes.

Multiple screenshots show the system operating correctly across different DST periods. This advanced feature proves essential for strategies dependent on specific market sessions, especially when trading instruments from different time zones simultaneously.

caution

Recommended to use EURUSD M15

Recreate the Example

You can either import this example directly or set it up manually. To manually replicate the trading module, make sure a newly added module includes the following key settings and that the professional mode is activated:

Trade Basics

  • Operation type = Long signals only drawn
  • General signal visualization = Off

Signal Generation - News

  • Signal in use = On
  • Signal used for = Entry
  • Signals for ALL regions = Off
  • Signals for AUD region = Off
  • Signals for BRL region = Off
  • Signals for CAD region = Off
  • Signals for CHF region = Off
  • Signals for CNY region = Off
  • Signals for EUR region = On
  • Signals for GBP region = Off
  • Signals for HKD region = Off
  • Signals for INR region = Off
  • Signals for JPY region = Off
  • Signals for KRW region = Off
  • Signals for MXN region = Off
  • Signals for NOK region = Off
  • Signals for NZD region = Off
  • Signals for SEK region = Off
  • Signals for SGD region = Off
  • Signals for USD region = On
  • Signals for ZAR region = Off
  • Signals for undefined importance = Off
  • Signals for low importance = On
  • Signals for moderate importance = On
  • Signals for high importance = On

Timing

  • Visualize timing = On
  • Trading hours = 9-19
  • DST summer: Shifted minutes = 60
  • DST summer: Start = Mar 2nd Sun 02:00:00
  • DST summer: End = Apr 1st Sun 02:00:00
  • DST winter: Shifted minutes = -60
  • DST winter: Start = Oct 2nd Sun 02:00:00
  • DST winter: End = Nov 1st Sun 02:00:00

Screenshots

Example B5: Automatic signal shifting depending on daylight saving time (DST).webp
Example B5: Automatic signal shifting depending on daylight saving time (DST).webp
Example B5: Automatic signal shifting depending on daylight saving time (DST).webp
Example B5: Automatic signal shifting depending on daylight saving time (DST).webp
Example B5: Automatic signal shifting depending on daylight saving time (DST).webp
Example B5: Automatic signal shifting depending on daylight saving time (DST).webp