EA-1179 · Trend Following

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

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsOracle (Custom)
AuthorCopyright © 2012, Nikolay Kositsin

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Custom indicator approximated
GBPUSD0.00%0.00%0.00%0—————Custom indicator approximated
USDJPY0.00%0.00%0.00%0—————Custom indicator approximated
XAUUSD0.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

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness3.0
Innovation2.0
Documentation1.0
Overall2.5

Parameters

ParameterDefaultDescription
MM-0.1Money management: negative=fixed lot, positive=deposit percentage
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Max price deviation in points (slippage tolerance)
BuyPosOpentrueAllow opening long positions
SellPosOpentrueAllow opening short positions
BuyPosClosetrueAllow closing long positions
SellPosClosetrueAllow closing short positions
ModetwistEntry algorithm mode (breakthrough/twist/disposition)
InpInd_TimeframePERIOD_H4Timeframe for indicator calculation
OraclePeriod55Oracle indicator period
applied_pricePRICE_CLOSEApplied price type
Smooth8Smoothing depth
Recount_trueAllow indicator repainting
SignalBar1Bar index for entry signal

Similar Trend Following EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.