Ea Supply and Demand Mt5
- Эксперты
- Версия: 1.40
- Активации: 5
SND MT5 is an automated trading Expert Advisor for MetaTrader 5 designed around Support & Resistance breakout detection with Supply & Demand zone mapping.
The EA monitors completed candles for confirmed breaks of dynamically detected Support and Resistance levels. When a valid breakout occurs, SND MT5 can automatically open a trade and create a corresponding Supply or Demand zone on the chart.
The system also includes configurable layer/grid entries, individual position trailing, basket-level profit management, global trailing, shared stop-loss management, and a real-time trading panel.
How SND MT5 Works
Resistance Break → BUY + Demand Zone
When a completed candle closes above a valid Resistance level, the EA recognizes a bullish breakout.
The EA can then:
-
Open a BUY position.
-
Identify the preceding base candle.
-
Create a Demand Zone based on the base candle.
-
Display the zone directly on the chart.
-
Continue managing the position according to the configured SL, TP, grid, and trailing settings.
Support Break → SELL + Supply Zone
When a completed candle closes below a valid Support level, the EA recognizes a bearish breakout.
The EA can then:
-
Open a SELL position.
-
Identify the preceding base candle.
-
Create a Supply Zone based on the base candle.
-
Display the zone directly on the chart.
-
Manage the position according to the configured risk and basket settings.
SND MT5 does not simply react to every high or low.
The EA uses configurable Pivot Strength to validate Support and Resistance levels before accepting a breakout.
This helps distinguish significant swing levels from random candle highs and lows.
False Breakout Tail Filter
The EA also includes an optional candle-tail filter.
You can define the maximum acceptable breakout candle tail in points.
If the breakout candle has a tail exceeding the configured limit, the breakout can be rejected as a potential false breakout.
You can choose between:
-
Checking both candle tails.
-
Checking only the tail in the breakout direction.
After a valid breakout, SND MT5 can automatically draw the corresponding zone on the chart.
Each zone contains:
-
A highlighted base-candle rectangle.
-
Upper zone line.
-
Middle zone line.
-
Lower zone line.
The lines extend to the right according to the configured number of bars.
Supply and Demand zones can use separate colors for easier visual identification.
Automatic Zone Removal
The EA continuously monitors created zones.
If a Supply zone is broken above its upper boundary, the zone is automatically removed.
If a Demand zone is broken below its lower boundary, the zone is automatically removed.
This keeps the chart focused on currently valid zones.
Position ManagementSND MT5 supports configurable Stop Loss and Take Profit management.
Single-Layer Mode
When the number of positions is below the configured global-layer threshold:
-
Individual Stop Loss is used.
-
Individual Take Profit is used.
-
Individual position trailing can be activated.
-
Each position is managed independently.
Multi-Layer / Basket Mode
When the configured number of layers is reached, the EA switches to basket management.
Individual Take Profit levels are removed and the positions are managed using the basket's average entry price.
The EA can then use:
-
Global basket TP.
-
Global basket trailing.
-
Shared Stop Loss.
-
Automatic closing of the complete basket.
SND MT5 supports additional entries when price moves adversely by the configured grid distance.
You can configure:
-
Grid step in points.
-
Maximum number of layers.
-
Number of layers required to activate global basket management.
-
Trading lot size.
The EA calculates the latest layer price and monitors the configured adverse movement before opening another layer.
Global Basket TrailingFor multi-layer positions, SND MT5 includes a separate global trailing mechanism.
The trailing system can be enabled using the Global Trail Start setting.
Once the basket reaches the configured profit distance from its volume-weighted average entry price:
-
Global trailing becomes active.
-
A trailing line is placed on the chart.
-
The line follows favorable price movement.
-
If price reverses and reaches the trailing line, the EA closes the entire basket.
BUY and SELL baskets are managed independently.
The BUY and SELL trailing lines can also use different colors.
Shared Stop LossWhen multiple layers are active in the same direction, SND MT5 can synchronize their Stop Loss levels.
The EA uses the Stop Loss of the oldest position as the shared Stop Loss reference and applies that level to the other layers.
This allows the basket to maintain a consistent protective SL level.
BUY and SELL ManagementBUY and SELL positions use separate Magic Numbers:
-
BUY Magic Number: configurable
-
SELL Magic Number: configurable
This allows the EA to distinguish and manage BUY and SELL positions independently.
You can also enable:
No Simultaneous Entry
When enabled, the EA prevents opening a BUY while a SELL basket is active, and vice versa.
Real-Time Trading PanelSND MT5 includes an on-chart information panel displaying:
-
Account Balance
-
Account Equity
-
Floating BUY profit/loss
-
Floating SELL profit/loss
-
Total floating profit/loss
The floating values automatically change color according to their current status.
This gives you a quick overview of the EA's current basket exposure.
Configurable ParametersThe EA provides a wide range of settings, including:
Lot & SL/TP
-
Lot Size
-
Stop Loss Points
-
Individual Take Profit Points
-
Global Basket Take Profit
Grid / Layer
-
Grid Step
-
Maximum Layers
-
Global Layer Count
Individual Trailing
-
Trail Start
-
Trail Distance
Global Basket Trailing
-
Global Trail Start
-
Global Trail Distance
-
BUY Trail Color
-
SELL Trail Color
Entry Control
-
No Simultaneous BUY/SELL Entry
Breakout Detection
-
Swing Lookback
-
Maximum Base Search
-
Pivot Strength
-
Maximum Breakout Tail
-
Check Both Tails
Supply & Demand Display
-
Draw Zones
-
Supply Color
-
Demand Color
-
Base Zone Width
-
Zone Extension
Other
-
BUY Magic Number
-
SELL Magic Number
-
Trading Panel On/Off
SND MT5 provides configurable parameters so traders can test different combinations of:
-
Breakout sensitivity
-
Pivot strength
-
Grid distance
-
Layer count
-
Stop Loss
-
Take Profit
-
Individual trailing
-
Basket trailing
-
Supply/Demand visualization
The EA can therefore be adapted to different symbols, timeframes, and trading approaches through its input parameters.
Important Risk NoticeSND MT5 is an automated trading software tool. It does not guarantee profits and does not eliminate trading risk.
Trading financial markets involves the risk of loss. Results can vary depending on the symbol, timeframe, broker conditions, spread, execution, market volatility, account type, and parameter settings.
Always test the EA on a demo account and perform appropriate backtesting before using it with real funds.
SND MT5 — Key Features
✓ Support & Resistance Breakout Detection
✓ BUY on Resistance Breakout
✓ SELL on Support Breakout
✓ Automatic Supply/Demand Zone Creation
✓ Pivot-Based Breakout Validation
✓ False Breakout Tail Filter
✓ Automatic Zone Removal
✓ Configurable Grid / Layer System
✓ Individual SL & TP
✓ Individual Position Trailing
✓ Global Basket TP
✓ Global Basket Trailing
✓ Shared Basket Stop Loss
✓ Independent BUY & SELL Management
✓ Configurable Magic Numbers
✓ No-Simultaneous-Entry Option
✓ Real-Time Floating P/L Panel
✓ Customizable Supply & Demand Colors
✓ Flexible Parameters for Backtesting and Optimization
SND MT5 — Automated Support & Resistance Breakout with Supply & Demand Zone Management for MetaTrader 5.
