Meridian
Volatility Adjusted Channel Breakout Engine
Most channel breakout algorithms fail because they enter during low volatility chop, get stopped out by normal market noise, and ignore broker execution constraints. Meridian solves this by combining a strict Donchian channel breakout with an ADX trend filter, volatility-adjusted position sizing, and institutional-grade execution protocols. It does not guess direction. It waits for structural momentum, sizes the position mathematically based on the actual stop distance, and validates every order against broker limits before sending it to the server.
The Core Execution Architecture
Meridian operates on a closed bar evaluation system to ensure entries are based on confirmed structural shifts, not intrabar liquidity sweeps.
Phase 1: Momentum and Trend Validation The algorithm calculates a 20-period Donchian channel on the hourly chart. However, a channel break alone is insufficient. The bot requires the Average Directional Index to be above 20.0, confirming that a genuine trending environment exists. If directional indicators are enabled, it also requires the positive and negative DI lines to align with the breakout direction. This dual confirmation filters out the vast majority of false breakouts in ranging markets.
Phase 2: Structural Trigger Once the trend is validated, the bot monitors the hourly close. A buy signal triggers only when the candle closes above the 20 period channel high. A sell signal triggers only when it closes below the 20-period channel low. By requiring a full bar close, the algorithm ignores temporary wicks and stop hunts that typically trap retail breakout traders.
Volatility Adjusted Risk and Position Sizing
Meridian treats risk as a mathematical constant, not a fixed point value.
- Initial Stop Loss: The stop loss is placed at a distance of 2.0 times the 14-period average true range. This ensures the stop adapts to the current volatility environment, providing enough room to survive normal market noise without exposing the account to catastrophic risk.
- Dynamic Lot Sizing: The position size is reverse engineered from the exact stop distance. The bot calculates the monetary risk based on the configured percentage of equity, then divides it by the exact tick value of the stop distance. This guarantees that every trade risks the exact same percentage of capital, regardless of whether the market is quiet or highly volatile.
- Margin and Server Prechecks: Before sending an order, Meridian performs a strict server-side precheck using the native order validation protocol. It also dynamically shrinks the lot size if the required margin exceeds the available free margin, ensuring zero order rejections due to insufficient funds.
Comprehensive Capital Guards
The algorithm features multiple layers of automated defence to protect the account from unexpected market conditions and algorithmic decay.
- Daily Loss Circuit Breaker: If the account equity drops by the configured daily loss percentage, the bot immediately closes all positions and halts new entries until the next server day.
- Peak Equity Drawdown Halt: If the account equity falls a specified percentage from its all-time peak, the bot permanently halts trading and closes all positions until manually reset.
- Post Loss Cooldown: After a losing trade, the bot enforces a configurable cooldown period measured in bars. This prevents the algorithm from immediately re-entering a choppy environment and compounding losses.
- Weekend Gap Protection: A mandatory Friday close protocol automatically liquidates all open positions before the weekend, entirely eliminating gap risk. An optional midweek close is also available.
One Way Trailing Stop
Once a trade reaches a defined profit threshold, the stop loss begins to trail. The trailing distance is calculated dynamically using the Average True Range. Crucially, the stop loss only ever moves in the direction of the trade. If the broker rejects a stop modification due to freeze level constraints, the algorithm automatically widens the trailing gap and retries on the next tick, ensuring the trade management logic never breaks.
Disclaimer
Trading involves substantial risk of loss, including the loss of all money committed to trading. Automated systems can lose money and can experience technical or execution failures. Past performance is not a reliable indicator of future performance. Backtested, demo and simulated results are not the same as real-money trading results. The description explains the intended operation of the EA, not a guaranteed trading outcome. Verify the EA version, broker symbol specifications, pip and point conventions, server time and actual inputs before deployment. Results from one broker, version or configuration may not be reproduced elsewhere.
Results:
Version: 4344
Version: 4445
Version: 7554
Add comment
Comments