Blaq Dub H4 EA
- Experts
- Versão: 1.17
- Atualizado: 20 outubro 2026
- Ativações: 5
# Blaq Dub H4 Rejection EA
## Short description
An automated MetaTrader 5 Expert Advisor that looks for confirmed candle rejections at H4 reference levels and applies fixed-volume trade management.
## Product description
Blaq Dub H4 Rejection EA monitors reference levels from the previous completed candle on the selected level timeframe (H4 by default). It waits for price to touch a level and for a completed chart-timeframe candle to reject it before considering a market entry.
A bearish rejection at resistance can trigger a sell. A bullish rejection at support can trigger a buy. When a setup fails or expires, the EA can search for the next H4 swing level. Reference levels refresh when a new selected-timeframe candle completes.
The EA uses a fixed **0.01 lot** for every trade. It does not increase volume based on balance, equity, or stop distance. If the symbol’s minimum volume or volume step does not support exactly 0.01, the EA skips the trade.
The initial stop is placed beyond the rejection candle extreme using a configurable point buffer. Before sending an order, the EA checks stop and target distances against the live trigger quote (Ask for sells, Bid for buys) and skips the setup if the levels are too close. The target distance is based on the configured risk/reward multiple. An ATR-based entry-distance filter can reject signals after price has moved too far from the signal candle close.
## Main features
- H4 reference levels from the previous completed candle by default.
- Closed-candle rejection confirmation.
- Fixed 0.01 lot size; trades are skipped if the symbol cannot accept that exact volume.
- Configurable stop buffer and risk/reward target.
- Default automatic profit-close threshold of 10.00 in the account deposit currency.
- Daily equity-loss guard that blocks new entries; it does not close existing positions.
- Optional break-even stop adjustment.
- Optional maximum-spread filter.
- ATR-based late-entry filter.
- Progression to another H4 swing level after a failed setup.
- Chart lines and status text for levels, entry, stop, and target.
## Main inputs
- `LevelTimeframe`: timeframe used for reference levels; default H4.
- `LevelShift`: candle shift for level calculation; default 1 (last completed candle).
- `TouchTolerancePoints`: allowed distance when detecting a level touch.
- `H4SwingStrength`: neighboring bars used to confirm an H4 swing.
- `H4LookbackBars`: history depth used when searching for another swing level.
- `StopBufferPoints`: extra distance beyond the rejection candle for stop-loss placement.
- `TakeProfitRiskReward`: target distance as a multiple of initial stop distance.
- `MaxEntryDistanceATR`: maximum distance from the rejection candle close, in ATR units; zero disables this filter.
- `DailyLossLimitPercent`: daily equity-loss threshold that blocks new entries; default 2%. It does not close existing positions. Zero disables this limit.
- `EnableBreakEven`, `BreakEvenTriggerR`, `BreakEvenLockPoints`: break-even management settings.
- `CloseAtProfitMoney`: floating-profit close threshold in account deposit currency; default 10.00. Zero disables it.
- `MaximumSpreadPoints`: maximum permitted spread; zero disables spread filtering.
- `DeviationPoints`: allowed execution deviation.
- `MagicNumber`: identifier attached to the EA's trades.
- `PopupAlerts`: enables popup notifications.
The 0.01 lot size is fixed in the program and is not an input.
## Setup
1. Install the purchased Market version through MetaTrader 5 and attach it to a chart.
2. Enable Algo Trading and allow algorithmic trading in the EA settings.
3. Confirm that the selected symbol supports a 0.01 lot and review its contract and stop-distance rules.
4. Set the reference timeframe, stop buffer, risk/reward target, daily loss guard, break-even behavior, and profit-close threshold as needed.
5. Run the Strategy Tester and review every trade before demo forward testing.
## Risk notice
This Expert Advisor places trades automatically and can lose money. A fixed lot does not keep cash risk constant: the loss at the stop can vary with symbol, stop distance, and execution. Slippage, gaps, spread changes, and broker conditions can cause actual results to differ from expected results. The daily loss guard pauses new entries but does not close existing positions. Historical testing and Market validation do not guarantee future results. Test on a demo account first.
