Example G5: Buy stop and rate of change pending price
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 employs rate of change calculations for pending order placement. The 0.00300000 rate of change creates percentage-based pending prices that scale with asset value. This relative approach maintains consistent strategy behavior as prices fluctuate over time.
Fixed 200 pip stops might be appropriate at certain price levels but become too large or small as markets evolve. Rate of change calculations solve this by maintaining proportional relationships regardless of absolute price levels. This creates more robust long-term strategies.
The M1-M15 timeframe recommendation suggests this approach suits faster trading where quick price movements require responsive pending orders. The percentage-based system adapts automatically to different volatility regimes.
Recommended to use M1 - 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
Pending Order Settings
- Mode = Stop
- Price calculation method = Rate of change
- Rate of change = 0.00300000
- Expiration = 75
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 - 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 1 cross value 2
Initial Stop Loss
- Selection = Rate of change
- Rate change = 0.00250000
Initial Take Profit
- Selection = Risk ratio
- Risk ratio = 1.40
Screenshots
