Exp_Oracle
This EA trades based on the custom Oracle indicator, offering three signal modes: zero-line breakthrough, signal line direction change, and indicator/signal line crossover. It opens buy/sell positions with configurable money management, stop loss, and take profit levels, and can independently control entry and exit permissions for long and short positions.
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 | — | — | — | — | — | Custom indicator approximated |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Custom indicator approximated |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Custom indicator approximated |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Custom indicator approximated |
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 generates trading signals based on the custom Oracle indicator, which features two buffers: a main line and a signal line. The EA offers three entry algorithms: breakthrough mode detects when the signal line crosses the zero axis; twist mode detects when the signal line changes direction; disposition mode detects crossovers between the main line and signal line. Entry signals are only calculated on new bar detection, preventing repeated trades within the same bar. Exit conditions are controlled by buy/sell close permissions, closing opposite positions when a reverse signal appears. Position sizing is managed via the MM parameter, where negative values represent fixed lot sizes and positive values represent a share of the deposit. Stop loss and take profit are set at 1000 and 2000 points respectively, yielding a risk-reward ratio of 1:2. The EA uses the IsNewBar mechanism to ensure signals are computed only once per bar, with a Recount mechanism to retry when data is insufficient.
Strengths
- Offers three flexible entry algorithm modes to adapt to different market conditions
- Reasonable stop loss and take profit settings with a 1:2 risk-reward ratio
- Uses new bar detection mechanism to prevent repeated trades within the same bar
- Buy and sell open/close permissions can be independently controlled for high flexibility
- Ensures data integrity and signal reliability through IsNewBar and Recount mechanisms
Weaknesses
- Depends on a custom Oracle indicator whose internal logic is opaque, making signal validation difficult
- Stop loss of 1000 points is excessively large, potentially causing significant losses in short-term trading
- Lacks position scaling mechanisms, making money management rather simplistic
- No spread filter, which may generate false signals in high-spread environments
- The Recount_ redrawing parameter set to true may cause signal lookback bias
Possible improvements
- Add a spread filter mechanism to avoid entering during high-spread periods
- Implement a trailing stop feature to protect accumulated profits
- Add multi-timeframe confirmation to improve signal reliability
Risk assessment
Overall risk: Medium
- Stop loss of 1000 points is large, potentially resulting in excessive single-trade losses
- Redrawing mode (Recount_=true) may cause signal look-ahead bias
- Lacks spread filter and insufficient slippage protection
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | -0.1 | Money management: negative=fixed lot, positive=deposit percentage |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Max price deviation in points (slippage tolerance) |
BuyPosOpen | true | Allow opening long positions |
SellPosOpen | true | Allow opening short positions |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
Mode | twist | Entry algorithm mode (breakthrough/twist/disposition) |
InpInd_Timeframe | PERIOD_H4 | Timeframe for indicator calculation |
OraclePeriod | 55 | Oracle indicator period |
applied_price | PRICE_CLOSE | Applied price type |
Smooth | 8 | Smoothing depth |
Recount_ | true | Allow indicator repainting |
SignalBar | 1 | Bar index for entry signal |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.