Exp_FrAMACandle
This EA trades based on the FrAMACandle custom indicator, which combines Fractal Adaptive Moving Average (FRAMA) logic to detect trend direction. It opens buy positions when the indicator signals an uptrend and sell positions when it signals a downtrend, with configurable stop-loss, take-profit, and money management options. Entry and exit are controlled by boolean flags for each direction, and trade execution only occurs on new bars to avoid repeated signals.
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
The strategy concept is based on the Fractal Adaptive Moving Average (FRAMA) implemented via the FrAMACandle custom indicator, which adapts its smoothing speed based on market fractal dimension to better follow trends. Entry conditions are triggered when the indicator's buffer 4 (TrendValue) transitions to 2 for buy signals (if BuyPosOpen is enabled) or transitions to 0 for sell signals (if SellPosOpen is enabled), requiring a change from a different state to confirm trend initiation. Exit conditions close long positions when the uptrend signal disappears (BuyPosClose enabled) and close short positions when the downtrend signal disappears (SellPosClose enabled), supplemented by fixed stop-loss and take-profit levels in points. Position sizing is controlled by the MM parameter with five money management modes including fixed lot, balance percentage, free margin percentage, loss-adjusted balance, and loss-adjusted free margin. Money management defaults to the LOT (fixed lot) mode and overall risk control relies on static stop-loss and take-profit values rather than dynamic adaptation to market volatility or ATR-based calculations.
Strengths
- Uses Fractal Adaptive Moving Average (FRAMA) which automatically adjusts sensitivity based on market fractal dimension, outperforming simple moving averages in trending markets
- Buy/sell direction and open/close operations can be independently controlled via boolean switches, offering high flexibility for traders with different market views
- Implements new bar detection to prevent repeated signal execution within the same bar, reducing the risk of over-trading
Weaknesses
- Stop-loss and take-profit use fixed point values without ATR-based dynamic adjustment, which may be inappropriate across different volatility environments
- Depends on an external custom indicator FrAMACandle; if the indicator file is missing or version-mismatched, initialization fails and trading is impossible
- Lacks position count checks or limits, potentially leading to excessive position accumulation during strong trends and oversized risk exposure
Possible improvements
- Replace fixed stop-loss/take-profit with ATR-based dynamic calculation for better adaptation to varying market volatility
- Add maximum position count limits and per-direction position caps to prevent excessive concentration risk
Risk assessment
Overall risk: Medium
- Fixed 1000-point stop-loss and 2000-point take-profit may be inappropriate for different instruments and volatility regimes, potentially too wide or too narrow
- No position count limits; sustained trends could trigger repeated entries leading to cumulatively oversized risk exposure
- Dependency on external indicator file creates a single point of failure where strategy becomes completely inoperable if the file is missing
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 |
FrAMA_Period | 14 | FRAMA indicator period |
SignalBar | 1 | Bar index for trade signal |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.