Exp_AdaptiveRenko
This EA trades based on the AdaptiveRenko custom indicator, which uses ATR or StDev to dynamically size Renko bricks. It opens buy/sell positions when new Renko bricks signal a direction change, with configurable stop loss and take profit levels.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
Why this EA never traded: no entry rule survived the conversion.
Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.
Blow-up risk: No blow-up pattern found
None of the usual blow-up patterns were found in the code, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.
High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →
Strategy analysis
The strategy concept is based on adaptive Renko charts, where brick size is dynamically calculated using either the ATR or Standard Deviation indicator, enabling breakout trading that auto-adjusts to market volatility. Entry conditions: a buy signal triggers when the indicator's buffer 2 (UpVal) has a value on the signal bar but not on the previous bar, and a sell signal triggers when buffer 3 (DnVal) has a value on the signal bar but not on the previous bar—this essentially captures Renko brick direction reversals. Exit conditions include a fixed stop loss (default 1000 points) and take profit (default 2000 points), plus reverse-signal closes (e.g., closing shorts when a buy signal fires). Position sizing is controlled via the MM parameter: negative values represent a fixed lot size, while positive values represent a percentage of the deposit. Money management relies on external TradeAlgorithms.mqh library functions, with no pyramiding or position-addition logic in the strategy itself. The strategy benefits from Renko's noise-filtering property and adaptive brick sizing for varying volatility regimes, but lacks spread and slippage filters.
Strengths
- Adaptive Renko brick sizing auto-adjusts to market volatility, adapting to different market conditions
- Renko charts naturally filter market noise, reducing false signal interference
- Flexible parameter design allows control over buy/sell permissions, money management, and volatility indicator selection
Weaknesses
- No spread filter, which may result in unfavorable entries during high-spread conditions
- Relies on external TradeAlgorithms.mqh library with opaque trading logic, making risk auditing difficult
- Stop loss and take profit use fixed point values rather than ATR-based dynamic calculation, which may be inappropriate across varying volatility regimes
- No position check logic, potentially opening duplicate positions in the same direction
Possible improvements
- Add spread filter and trading session filter to avoid unfavorable trading conditions
- Use ATR-based dynamic stop loss and take profit distances instead of fixed point values
- Add position direction check to prevent duplicate entries in the same direction
Risk assessment
Overall risk: Medium
- Core trading algorithms are encapsulated in an external library with unauditable internal logic
- Lack of spread and slippage filters may cause additional losses in live trading
- Fixed stop loss/take profit does not account for changing market volatility
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | -0.1 | Trade fraction or fixed lot; negative=lot size, positive=deposit percentage |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Max price deviation in points (slippage) |
BuyPosOpen | true | Allow buy position opening |
SellPosOpen | true | Allow sell position opening |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
InpInd_Timeframe | PERIOD_H4 | Indicator timeframe |
SignalBar | 1 | Bar index for entry signal |
K | 1 | Brick size multiplier |
Indicator | ATR | Volatility indicator: ATR or StDev |
VltPeriod | 10 | Volatility calculation period |
Price | Close_ | Price calculation method: High/Low or Close |
WideMin | 2 | Minimum brick thickness in points |
Similar Breakout EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.