Dax Sentinel
- Experts
- 버전: 1.37
- 활성화: 10
Dax Sentinel is a fully automated breakout Expert Advisor for the German index (GER40/DAX) on the H1 timeframe.
The EA identifies a consolidation range and places pending stop orders on both sides of it. When one order is filled, the opposite one is cancelled immediately (OCO logic). Every position carries a fixed Stop Loss from the moment it opens.
No martingale. No grid. No averaging down. No hedging of losing positions.
HOW IT WORKS
1. RANGE DETECTION
The EA observes a defined number of H1 candles starting from a reference hour, builds a price box around them, and places a Buy Stop above and a Sell Stop below, at a distance proportional to current volatility.
2. VOLATILITY FILTER
Trades are only taken when current ATR is above a ratio of its own recent average. In quiet markets the EA stays flat instead of forcing entries. The threshold is relative rather than a fixed point value, so it adapts automatically to any instrument.
3. TREND STRENGTH FILTER
An ADX threshold filters out directionless conditions. ADX is dimensionless, so the same setting behaves consistently across symbols.
4. SPREAD PROTECTION
Orders are skipped when the current spread exceeds a multiple of its own recent average, protecting you during news spikes and thin liquidity.
5. POSITION MANAGEMENT
- Break-even move once price advances a defined distance
- Partial close of a configurable share of the position at a volatility-based target
- ATR-based trailing stop with a minimum step to avoid over-modification
- Optional night break-even and optional trailing pause during a configurable nightly window
- All stop distances respect the broker's STOPS_LEVEL and FREEZE_LEVEL
- Trade management is suspended outside the broker's published trading session, read directly from the symbol specification
- Free margin is verified before every order is placed, on the equivalent market order for both pending sides
6. RISK
Position size is calculated from a user-defined percentage of account balance and the distance to the stop loss. Volume is normalised to the broker's volume step and clamped to broker limits. If free margin is insufficient even for the minimum lot, the signal is skipped and a single notice is logged instead of sending requests that would be rejected.
RECOMMENDED SETUP
Symbol: GER40 / DE40 (German index)
Timeframe: H1
Account type: any (hedging and netting)
Leverage: 1:25 or higher
Minimum deposit: 1000 EUR
IMPORTANT NOTE ON DEPOSIT
This EA was backtested at 1000 EUR. At that level the calculated lot was raised to the broker minimum in 139 of 336 trades (41%), which means the actual risk exceeded the configured RiskPercent in those trades. Dynamic risk sizing becomes fully operational from approximately 3000 EUR. I state this openly so you know exactly what you are buying.
BACKTEST - GER40 H1
Period: 2025.02.01 - 2026.09.01
Deposit: 1000 EUR, leverage 1:25
Modelling: 1 minute OHLC
History quality: 98%
Total net profit: 647.73
Gross profit: 2 289.99
Gross loss: -1 642.26
Profit factor: 1.39
Recovery factor: 3.23
Sharpe ratio: 2.75
Expected payoff: 1.93
Total trades: 336
Profit trades: 200 (59.52%)
Loss trades: 136 (40.48%)
Short trades won: 61.38%
Long trades won: 58.12%
Balance drawdown maximal: 172.82 (11.83%)
Equity drawdown maximal: 200.54 (13.48%)
Maximum consecutive losses: 5 (-129.90)
Average position holding time: 10 hours
INPUT PARAMETERS
Box reference hour (local time)
Number of H1 candles in the box
Pending order offset (x ATR)
Trailing stop distance (x ATR)
Minimum trailing step (x ATR)
Partial close trigger (x ATR of profit)
Partial close size (% of position)
Night break-even buffer (x ATR)
Risk per trade (% of balance)
Minimum lot (raised to broker minimum)
Maximum lot
Magic number
Server offset from local time, winter (hours)
Server offset from local time, summer (hours)
Only one trade per day
Enable night break-even
Night break-even start hour (server time)
Pause trailing during a nightly window
Trailing pause hour / minute (server time)
Trailing resume hour / minute (server time)
Enable ATR filter
ATR period
ATR timeframe
Bars used for the ATR average
Minimum ATR vs its own average
Enable ADX filter
ADX period
ADX timeframe
Minimum ADX required to trade
Enable spread filter
Bars used for the average spread
Maximum spread vs average spread
Safety margin above broker stop level (points)
Maximum share of free margin to use (%)
All threshold parameters are expressed as multiples of ATR rather than fixed point values, so the EA adapts to instrument volatility instead of relying on hardcoded numbers.
BEFORE YOU BUY
Always test on a demo account first. Past performance does not guarantee future results. Trading leveraged instruments involves risk of loss.
Questions and support: contact me through the MQL5 comments section.
