Example C2: First breakeven, then average true range stop loss trailing
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 demonstrates multi-stage stop loss trailing with breakeven and ATR components. The first stage moves the stop to breakeven when price reaches 120% of the initial risk, securing a risk-free trade. At 150%, the system switches to ATR-based trailing with a tighter 1.50 multiplier for closer tracking.
Two different ATR configurations provide flexibility - the initial stop uses a 2.50 multiplier for wider placement, while the trailing stage uses 1.50 for tighter following. This graduated approach balances initial trade development needs with later profit protection requirements.
The stage-based system allows sophisticated risk management that adapts to trade progression. Early stages give trades room to develop, while later stages lock in profits more aggressively. This professional approach maximizes both win rate and profit potential.
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 - Indicators (MACD Main line)
- Signal in use = On
- Signal used for = Entry
- Selected indicator = MACD
- Line index = Main line
- Draw in chart = On
- Drawing slot = 1
Signal Generation - Indicators (MACD Signal line)
- Signal in use = On
- Signal used for = Entry
- Selected indicator = MACD
- Line index = Signal line
- Draw in chart = On
- Drawing slot = 2
Signal Generation - Indicators - ATR (1)
- Signal in use = On
- Signal used for = Forward
- Selected indicator = ATR
- Draw in chart = On
- Drawing slot = 3
- Forward adjustment = 2.50
Signal Generation - Indicators - ATR (2)
- Signal in use = On
- Signal used for = Forward
- Selected indicator = ATR
- Draw in chart = On
- Drawing slot = 3
- Forward adjustment = 1.50
Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)
Signal in use = On
Signal used for = Entry
Input indicator 1 = MACD (Main line)
Input indicator 2 = MACD (Signal line)
Value relation = Value x cross value x
Initial Stop Loss
- Selection = Indicator value
- Used indicator = ATR (1)
Stop Loss Trailing - Breakeven
- Activation position = 0
- Type = Breakeven
- Breakeven position = 120
Stop Loss Trailing - Indicator value
- Activation position = 150
- Type = Indicator value
- Used indicator = ATR (2)
Initial Take Profit
- Selection = Risk ratio
- Risk ratio = 1.40
Screenshots
