Exp_PriceChannel_Stop
This EA trades based on the PriceChannel_Stop custom indicator, opening buy positions when the upper channel signal triggers and sell positions when the lower channel signal triggers. It uses a configurable money management system with multiple margin modes and implements both entry and exit signals from the indicator's multiple buffers.
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 EA's strategy concept is based on price channel breakout, using the PriceChannel_Stop indicator to identify trend direction changes. Entry conditions: when the upper channel buffer (buffer 3) shows a non-empty value, a buy signal is triggered; when the lower channel buffer (buffer 0) shows a non-empty value, a sell signal is triggered. Exit conditions include: closing sell positions when a buy signal fires, closing buy positions when a sell signal fires, and additionally using auxiliary indicator buffers (buffer 4 and buffer 1) for extra counter-direction close confirmation. Position sizing is controlled via the MM parameter, supporting five modes: fixed lot, balance percentage, free margin percentage, loss-adjusted balance percentage, and loss-adjusted free margin percentage. Money management uses a fixed stop loss of 1000 points and take profit of 2000 points, yielding a 1:2 risk-reward ratio. The EA recalculates signals on each new bar formation or when SignalBar is 0 to avoid repeated trades, and uses a Recount flag to retry when buffer data reads fail.
Strengths
- Clear strategy logic based on price channel breakout with well-defined entry and exit conditions
- Five money management modes providing flexibility for different trading styles and account sizes
- Uses SignalBar=1 by default to confirm signals on completed bars, reducing false signals
- Stop loss to take profit ratio of 1:2, providing a positive risk-reward expectancy
- Independent control over buy/sell entry and exit directions for high flexibility
Weaknesses
- Depends on the custom PriceChannel_Stop indicator without source code transparency or verifiability
- ChannelPeriod=5 is relatively short, prone to frequent false signals in ranging markets
- Fixed stop loss of 1000 and take profit of 2000 points without dynamic adjustment for market volatility
- No spread filter mechanism, potentially resulting in unfavorable fills in high-spread environments
- No position count limit, potentially holding multiple same-direction positions during extreme market conditions
Possible improvements
- Add ATR-based dynamic stop loss and take profit for adaptive adjustment to market volatility
- Add spread filter and time filter to avoid trading during high-spread and low-liquidity sessions
Risk assessment
Overall risk: Medium
- Fixed stop loss and take profit without volatility adaptation leads to inconsistent risk exposure across different market conditions
- No maximum position limit or daily loss limit, extreme market conditions could cause excessive losses
- Short channel period may generate frequent false signals in ranging markets leading to consecutive losses
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management parameter controlling lot size ratio or fixed lot |
MMMode | LOT | Lot mode: free margin / balance / margin minus floating loss / balance minus floating loss / fixed lot |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage |
BuyPosOpen | true | Allow buy to open position |
SellPosOpen | true | Allow sell to open position |
BuyPosClose | true | Allow buy to close (close long) |
SellPosClose | true | Allow sell to close (close short) |
InpInd_Timeframe | PERIOD_H1 | Indicator timeframe |
ChannelPeriod | 5 | Price channel calculation period |
Risk | 0.10 | Channel risk coefficient |
SignalBar | 1 | Bar index for entry signal |
Similar Breakout EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.