Exp_TriXCandle
This EA trades based on the TriXCandle custom indicator, which is a TRIX-based momentum oscillator rendered as candlesticks. It opens buy positions when the indicator signals an upward momentum shift and sell positions on a downward shift, with configurable stop-loss and take-profit levels.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
This EA uses the TriXCandle indicator as its core signal source, which is a custom indicator based on the TRIX momentum oscillator displayed in candlestick form to show trend direction. Entry conditions: when indicator buffer 4 value equals 2 and the previous value is less than 2, a buy open signal is generated; when the value equals 0 and the previous value is greater than 0, a sell open signal is generated. Exit conditions include: closing sell positions when a buy signal appears, closing buy positions when a sell signal appears, and fixed stop-loss and take-profit levels. Position sizing supports 5 modes (FREEMARGIN, BALANCE, LOSSFREEMARGIN, LOSSBALANCE, LOT), defaulting to fixed lot mode. Money management is controlled via the MM parameter with a default risk ratio of 0.1. The EA also uses an IsNewBar mechanism to ensure signals are calculated only once per bar, preventing duplicate entries, and employs a Recount flag to handle cases where indicator data is not yet ready.
Strengths
- Uses IsNewBar mechanism to prevent duplicate entries on the same bar, effectively controlling trade frequency
- Provides 5 position sizing modes with good flexibility for different risk preferences
- Configurable stop-loss and take-profit with default 2:1 reward-to-risk ratio, offering positive expectancy
- Buy/sell open and close can be independently toggled, providing flexible strategy configuration
- Uses Recount flag to handle indicator data not-ready scenarios, providing basic fault tolerance
Weaknesses
- Relies entirely on a single custom indicator TriXCandle without cross-validation from built-in indicators, signal reliability is questionable
- Default stop-loss of 1000 points and take-profit of 2000 points are excessively large for most currency pairs
- Lacks spread filtering mechanism, may open positions inappropriately during high-spread conditions
- No position count limit, could accumulate excessive positions during extreme market conditions
- Indicator buffer 4 magic values (0/2) are opaque, resulting in poor code readability and maintainability
Possible improvements
- Add multi-indicator cross-confirmation such as MACD or moving average filtering to improve signal reliability
- Add spread filtering and volatility-adaptive stop-loss/take-profit for more refined risk management
- Add maximum position count limits and drawdown protection to prevent excessive risk exposure in extreme markets
Risk assessment
Overall risk: Medium
- No spread filtering, unfavorable fills possible in high-spread environments
- Default stop-loss/take-profit points are very large (1000/2000), high per-trade risk
- Depends on external custom indicator TriXCandle, EA fails if indicator file is missing
- No maximum drawdown protection mechanism
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management parameter, controls lot size |
MMMode | LOT | Lot sizing mode: Free margin/Balance/Loss margin/Loss balance/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 beyond SL/TP) |
SellPosClose | true | Allow sell to close (close short beyond SL/TP) |
InpInd_Timeframe | PERIOD_H4 | TriXCandle indicator timeframe |
TriX_Period | 14 | TRIX indicator calculation period |
SignalBar | 1 | Bar index for trade signal |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.