Spike Reversal Trend Entry Trading
- Uzmanlar
- Roshani Moghaddam Parham
- Sürüm: 5.28
- Güncellendi: 20 Nisan 2026
Trailing Activation EA
Trailing Activation EA is a utility Expert Advisor for the MetaTrader 5 platform that executes trades when price moves through a defined activation level and then reverses by a specified distance.
The EA monitors price movement, records the extreme reached after the activation level is crossed, and opens a trade only when the market pulls back by the configured limit distance.
The program can operate in two entry modes. In local mode the activation levels and parameters are defined directly in the EA inputs. In external signal mode the EA can receive trade instructions through webhook alerts generated by external alert systems such as TradingView.
Webhook connectivity is optional. The EA can operate entirely in local monitoring mode without external signals.
Trading Logic
The EA waits for price to cross the activation level and records the highest or lowest price reached during that move.
Sell setup: price rises to or above the activation level. The EA records the highest price reached and opens a sell trade when price falls by the configured reversal distance.
Buy setup: price falls to or below the activation level. The EA records the lowest price reached and opens a buy trade when price rises by the configured reversal distance.
Execution Control
The EA manages its behaviour through several internal states during operation.
DISARMED – monitoring inactive.
ARMED – waiting for price to reach the activation level.
TRACKING – activation crossed and the extreme price is being recorded.
COOLDOWN – trade executed and waiting before re-arming.
DONE – configured number of trades executed.
Risk and Trade Management
Trades can be configured with optional stop loss and take profit levels.
The EA supports multiple calculation modes for exit levels, including pip-based values and percentage-based values. Exit levels may also be disabled if external risk management is used.
Reset Modes
Different reset modes determine how the activation level behaves after a trade is executed.
Fixed Activation – the EA waits for price to return through the original activation level before re-arming.
Trailing Activation – the activation level moves to the previous cycle extreme after each completed trade.
Extreme Activation – similar to trailing mode but the activation level continues updating during the cooldown phase based on the deepest cycle extreme.
Multiple Trade Execution
The number of times a signal can execute is configurable through the trade count parameter. The EA can perform a single trade or repeat the process for multiple cycles depending on the selected reset mode.
Interface and Monitoring
The EA displays its current state and configuration information on the chart. A control button is available to cancel active monitoring when required.
Multiple independent instances of the EA can be attached to the same chart using different strategy numbers. Each instance maintains its own configuration and internal state.
Installation
Copy the compiled file to the MQL5/Experts folder and attach the EA to the chart of the symbol you want to trade. Configure the parameters and enable algorithmic trading in MetaTrader before starting the EA.
Notes
The EA places orders at market price using the selected filling mode supported by the broker.
Changing input parameters reinitializes the EA and resets its internal state.
Testing on a demo account before live trading is recommended.
