Skip to main content
Version: 3.0

Example A7: One chart analyzer for signal generation

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 introduces the chart analyzer for volatility-based signal generation. The analyzer examines the last 50 bars to determine market volatility levels, only generating signals during high volatility periods when price movements offer better profit potential. This intelligent filtering reduces false signals during quiet market conditions.

The fixed 200 pip stop loss provides consistent risk management, while the 1.40 risk ratio maintains favorable reward potential. The chart analyzer's visual indicators help traders understand current market conditions at a glance, showing whether volatility meets the threshold for trading.

This approach works particularly well for momentum traders who thrive in active markets. By waiting for high volatility confirmation, the strategy avoids the choppy, directionless price action common in ranging markets, focusing instead on periods with clear directional movement.

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

Signal Generation - Chart Analyzer

  • Signal in use = On
  • Signal used for = Entry
  • Signal visualization = On
  • Analyzed width = 50
  • Signal if volatility is low = Off
  • Signal if volatility is middle = Off
  • Signal if volatility is high = On

Initial Stop Loss

  • Selection = Fix pips
  • Fix pips = 200

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example A7: One chart analyzer for signal generation.webp