EA-1135 · Machine Learning

Combo_Right

This EA combines a basic CCI-based trading signal with up to three perceptron neural networks (sale, buying, and general) to generate buy/sell signals. The perceptrons use weighted price differences over configurable historical periods, and the operating mode (pass parameter) selects which signal source drives trade decisions. Positions are opened with fixed lot sizes and configurable stop-loss/take-profit levels.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsCCI, Perceptron (Price Differences)
AuthorInteger

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD-3.41%-2.97%8.98%333.30%————Too few trades
GBPUSD+1.89%+1.64%7.23%333.30%————Too few trades
USDJPY+1.52%+1.32%4.79%14458.30%0.300.325+$0.96Reliable
XAUUSD+119.89%+91.75%30.57%15251.30%2.293.926+$81.04Reliable

Profitable on 2 of 2 markets with reliable results.

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.

Month by month

MarketMonths with a gainBest monthWorst month
USDJPY69%+1.87% 2026-03-2.09% 2026-08
XAUUSD54%+52.07% 2026-02-9.62% 2026-08

From the backtest equity curve, sampled about every two days; only reliable results.

Strategy analysis

Strategy concept: This EA merges a traditional CCI indicator signal with perceptron neural networks, forming a hybrid trading system. Entry conditions: The basic system uses the CCI value as a signal (positive for buy, negative for sell); the perceptron system computes a weighted sum of close price differences across multiple time offsets, where the sale perceptron negative output triggers sells, the buying perceptron positive output triggers buys, and the general perceptron determines final direction priority. Exit conditions: Relies entirely on fixed-point stop-loss and take-profit for position closure, with no trailing stop or other dynamic exit mechanisms. Position sizing: Uses a fixed lot size (lots parameter) with no dynamic sizing based on account balance or risk percentage. Money management: Three perceptron sets each have independent SL/TP parameters (sl2/tp2, sl3/tp3), and the basic system has sl1/tp1, but there is no overall money management framework. Operating mode is controlled via the pass parameter: 1=basic system only, 2=sale perceptron only, 3=buying perceptron only, 4=all perceptrons combined for joint decision-making.

Strengths

  • Flexible multi-mode operation design allowing choice between pure CCI signals or perceptron-enhanced signals
  • Perceptrons use price differences as inputs, providing some price momentum capture capability
  • SL/TP validation mechanism (CheckBuySL/TP etc.) prevents opening positions too close to stop levels

Weaknesses

  • Default perceptron weights are all zero (100-100=0), making perceptron output always zero in default config, effectively useless
  • Fixed lot sizing with no money management, no dynamic position adjustment based on account risk
  • No training/optimization mechanism for perceptrons, weights require manual tuning, lacking adaptive learning
  • SL/TP parameters declared as double but used as int point values, type inconsistency risk
  • No trailing stop, no partial close, no signal-reversal close mechanism

Possible improvements

  • Add automatic optimization mechanism for perceptron weights such as genetic algorithm or gradient descent for market adaptivity
  • Implement dynamic position sizing based on account balance and risk ratio for automated lot calculation
  • Add trailing stop and signal-reversal close logic to improve exit strategy flexibility
  • Fix the SL/TP parameter type inconsistency, standardize to either int or double throughout

Risk assessment

Overall risk: Medium

  • Default weights all zero makes perceptrons ineffective, users may mistakenly believe perceptrons are active
  • Fixed lot sizing without risk control, small accounts could blow up from a single large loss
  • SL/TP parameters are double type but functions expect int, implicit truncation risk exists

Evaluation scores

Code quality3.0
Strategy logic2.0
Risk management2.0
Robustness3.0
Innovation3.0
Documentation2.0
Overall2.5

Parameters

ParameterDefaultDescription
tp1500Base system take profit in points
sl1500Base system stop loss in points
CCIPeriod10CCI indicator period
CCIPricePRICE_OPENCCI indicator applied price
x12100Sell perceptron weight 1
x22100Sell perceptron weight 2
x32100Sell perceptron weight 3
x42100Sell perceptron weight 4
tp2500Sell perceptron take profit points
sl2500Sell perceptron stop loss points
p220Sell perceptron historical data period
x13100Buy perceptron weight 1
x23100Buy perceptron weight 2
x33100Buy perceptron weight 3
x43100Buy perceptron weight 4
tp3500Buy perceptron take profit points
sl3500Buy perceptron stop loss points
p320Buy perceptron historical data period
x14100Universal perceptron weight 1
x24100Universal perceptron weight 2
x34100Universal perceptron weight 3
x44100Universal perceptron weight 4
p420Universal perceptron historical data period
pass1Run mode: 1=Base, 2=Sell, 3=Buy, 4=All perceptrons
lots0.1Fixed trading lot size
Shift1Price bar shift: 0=current, 1=last closed bar

Similar Machine Learning 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.