The strategy measures recent buying pressure using the signed body-to-range ratio of each candle: (Close - Open) / max(High - Low) . The average is calculated over the candles immediately preceding the signal candle. With the default settings, these are the seven closed candles before the signal; the signal candle itself is excluded.
A positive average indicates that bullish candle bodies dominated this measure over the selected window. The EA then looks for a bearish candle with a sufficiently large body and range, a close near its low, and a close below the preceding candle's open. ATR is taken from the closed signal candle and used for both signal qualification and stop-distance calculation.
Position sizing uses a fixed lot input. The strategy does not use grid entries, martingale sizing, trailing stops, or breakeven adjustments.
The EA evaluates the most recently closed M15 candle once, on the first available tick of a new bar. A sell setup requires all of the following conditions with the default inputs:
The intended research instrument is XAUUSD, including broker-specific gold names such as XAUUSDm. The EA uses the chart symbol rather than a hardcoded symbol name.
For evaluation, select the broker's gold symbol and M15 in the MT5 Strategy Tester, use real ticks, and check trading costs, contract specifications, and execution logs. Test on a demo account before considering live use. This is an educational research example; it does not establish future performance.
PRO DAY TRADING SIGNALS
PRO Day Trading Signals is a non-repainting M15 indicator for MT5 that finds trend-following pullback entries after a liquidity sweep. How it works: it trades only in the direction of the H4/H1 trend (EMA200, EMA20/50). It waits for an M15 candle to sweep the previous 10-bar high or low at the EMA20/50 zone and close back inside. It confirms with a strong candle body (≥0.30 × ATR) and RSI (≥52 for BUY, ≤48 for SELL). Signals appear only on closed bars.
Closed-bar alert example
An MQL5 indicator example that checks the latest closed candle and suppresses duplicate alerts.
Break-even and Trailing Stop Manager in R
Break-even and trailing stop for open positions, measured in R (distance to the first stop loss). Respects stops level and freeze level, only moves the stop in profit direction.
Devil Trader AI Lite -Gold M30 and H1 Exclusive
Devil Trader AI Lite is an automated Smart Money & Liquidity Expert Advisor engineered exclusively for GOLD (XAUUSD) on M30 and H1 timeframes. It maps Major Demand and Supply Order Blocks, waits for confirmed rejection candles, and applies dynamic ATR Stop-Loss, auto-lot sizing, and trailing stop protection with zero Martingale.