Şartname
The Swing Breaks & AMD Expert Advisor is an automated trading system designed around two core market-structure concepts: Swing Breaks and the AMD (Accumulation, Manipulation, Distribution) model.
The EA is designed to analyze price action, identify meaningful swing structures, detect potential breaks of those structures, and evaluate the surrounding market behavior for possible AMD patterns. Its objective is to filter market conditions and identify structured trading opportunities rather than relying on random entries.
Core Trading Concept
1. Swing Structure Analysis
The EA continuously analyzes price movement to identify relevant:
-
Swing highs
-
Swing lows
-
Higher highs
-
Higher lows
-
Lower highs
-
Lower lows
-
Breaks of previous swing levels
-
Potential changes in market structure
A swing break can be used as confirmation that price has moved beyond an important structural level. The EA can use these structural events as part of its entry and trade-management logic.
2. AMD Market Model
The EA incorporates the Accumulation → Manipulation → Distribution concept to evaluate how price may behave around important market levels.
Accumulation:
The system looks for periods where price consolidates or builds liquidity around a defined range.
Manipulation:
The EA evaluates potential liquidity sweeps or false breaks around previous highs/lows before considering a directional move.
Distribution:
Following structural confirmation, the system evaluates whether price is beginning a sustained directional movement away from the accumulation/manipulation area.
The AMD concept is used as a market-context filter rather than treating every movement as a valid trading signal.
Entry Logic
A potential trade can require a combination of factors such as:
-
Identification of a relevant swing high or swing low.
-
Price interaction with the established swing level.
-
Confirmation of a valid swing break or structural shift.
-
Evaluation of the surrounding AMD phase.
-
Directional confirmation.
-
Risk-management conditions being satisfied.
-
Spread and trading-condition filters being satisfied.
-
Optional session and timeframe filters being satisfied.
This multi-condition approach is intended to reduce low-quality entries and avoid trading every minor price fluctuation.
Buy Setup
A potential BUY setup may occur when:
-
A meaningful swing low/high structure has been identified.
-
Price completes the required structural movement.
-
A valid bullish swing break is confirmed.
-
The surrounding price action is consistent with the defined AMD conditions.
-
Additional filters confirm bullish conditions.
-
Risk parameters permit a new position.
The EA then calculates the appropriate entry, stop-loss, and take-profit levels according to its configured settings.
Sell Setup
A potential SELL setup may occur when:
-
A meaningful swing structure has been identified.
-
Price interacts with an important structural level.
-
A valid bearish swing break is confirmed.
-
The surrounding price action satisfies the defined AMD conditions.
-
Additional filters confirm bearish conditions.
-
Risk parameters permit a new position.
The EA then calculates the trade parameters according to the configured strategy rules.
Risk Management
Risk management is a fundamental component of the EA. Depending on the configured implementation, the system can include:
-
Fixed lot sizing
-
Risk-percentage position sizing
-
Stop-loss protection
-
Take-profit targets
-
Risk/reward requirements
-
Maximum simultaneous positions
-
Maximum daily trades
-
Maximum daily loss
-
Spread filtering
-
Trading-session restrictions
-
Optional break-even management
-
Optional trailing stop
-
Optional partial-profit management
These controls are intended to prevent individual trades from exposing the account to uncontrolled risk.
Market & Session Filters
The EA can be configured to operate only during selected trading periods. Session filtering can help restrict trading to periods where the strategy is intended to operate.
Possible filters include:
-
Trading days
-
Trading hours
-
Session windows
-
Maximum spread
-
Minimum market movement
-
News/event restrictions where supported
-
Maximum number of trades per session
Multi-Timeframe Analysis
The EA can be designed to use multiple timeframes for confirmation.
For example:
Higher timeframe:
Used to determine broader market structure and directional context.
Lower timeframe:
Used to identify swing breaks and potential entry opportunities.
This approach can help distinguish major structural movements from smaller market fluctuations.
Trade Management
After entering a position, the EA can manage the trade automatically according to predefined rules.
Possible management features include:
-
Automatic stop-loss placement
-
Automatic take-profit placement
-
Break-even activation
-
Trailing stop
-
Partial position closure
-
Risk-to-reward based management
-
Position protection after a defined profit level
-
Automatic exit when the structural setup becomes invalid
Configurable Parameters
The EA should provide configurable inputs for important strategy and risk settings, including:
-
Swing detection sensitivity
-
Swing confirmation requirements
-
Break confirmation method
-
AMD detection parameters
-
Entry confirmation filters
-
Stop-loss method
-
Take-profit method
-
Risk percentage
-
Fixed lot size
-
Risk/reward ratio
-
Maximum trades
-
Maximum spread
-
Trading sessions
-
Timeframes
-
Break-even settings
-
Trailing-stop settings
-
Magic number
-
Slippage/deviation settings
Designed for MetaTrader 5
The Expert Advisor is intended for MetaTrader 5 (MT5) and can be implemented in MQL5.
It is suitable for backtesting and optimization using historical market data before being considered for live trading.
Important Risk Disclaimer
This EA is a rules-based automated trading system, not a guarantee of profit. Swing structures and AMD-style market behavior can produce false signals, especially during volatile, ranging, low-liquidity, or news-driven market conditions.
The EA should be thoroughly backtested, forward-tested on a demo account, and properly risk-managed before any live deployment. Past backtest performance does not guarantee future results.
Strategy Summary
Swing Breaks & AMD EA combines:
Market Structure → Swing Identification → Liquidity/AMD Context → Swing Break Confirmation → Entry → Risk Management → Automated Trade Management
The goal is to turn a structured price-action methodology into a systematic, repeatable and fully automated trading framework while keeping risk controls and configurable parameters at the center of the system.