Skip to main content
Version: 3.0

Example H2: Events filtered by relation

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 filters events by actual versus previous value relationships. Only events where actual results exceed previous values generate signals, targeting positive surprises that often drive prices higher. This relationship filtering doesn't require knowing absolute values, only relative improvements.

The visual display shows which events meet the relationship criteria, providing transparency in signal generation. Value relationships prove more reliable than absolute thresholds since economic indicators vary widely in scale and significance. This relative approach adapts to different types of announcements.

Focusing on improvements filters out disappointing results that might trigger selling. This directional bias aligns signals with likely market reactions, improving signal quality without complex fundamental analysis.

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
  • Draw table with upcoming events = On
  • Draw signal lines with name in chart = On
  • Pre event signal time = 1800
  • Post event signal time = 1800
  • Signals for ALL regions = On
  • Signals for AUD region = On
  • Signals for BRL region = On
  • Signals for CAD region = On
  • Signals for CHF region = On
  • Signals for CNY region = On
  • Signals for EUR region = On
  • Signals for GBP region = On
  • Signals for HKD region = On
  • Signals for INR region = On
  • Signals for JPY region = On
  • Signals for KRW region = On
  • Signals for MXN region = On
  • Signals for NOK region = On
  • Signals for NZD region = On
  • Signals for SEK region = On
  • Signals for SGD region = On
  • Signals for USD region = On
  • Signals for ZAR region = On

Value relation 1

  • Relation condition = Actual greater previous

Screenshots

Example H2: Events filtered by relation.webp