Exp_ColorJFatl_StDev
This EA trades based on the ColorJFatl_StDev custom indicator, which combines a JFATL (JMA-smoothed FATL) moving average with Standard Deviation channels. It opens and closes positions using three signal modes: point-based (dot signals), directional (line direction change), or disabled, allowing flexible entry and exit logic on trend reversals or continuations.
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 strategy core is trend-following based on the JFATL indicator (a JMA-smoothed FATL digital filter) combined with Standard Deviation channels. Entry conditions operate in two modes: POINT mode triggers trades when dot signals appear in the indicator buffers (non-EMPTY_VALUE values); DIRECT mode triggers on JFATL line direction changes such as bottom reversals (Line[0]>Line[1] && Line[1]<Line[2]) or top reversals. Exit conditions mirror entry logic with two modes: POINT mode uses opposite-direction dot signals for closing; DIRECT mode closes when the JFATL line direction reverses. Position sizing is controlled via the MM parameter and MMMode enum, supporting five modes including percentage of free margin, balance, post-loss margin/balance, or fixed lot size. Money management leverages the TradeAlgorithms.mqh library with configurable stop loss, take profit, and slippage deviation control. The strategy allows signal verification on non-zero bars via SignalBar and uses an IsNewBar mechanism to prevent redundant calculations within the same bar.
Strengths
- Flexible signal mode design allowing independent selection of dot or directional signals for entry and exit, adapting to different trading styles
- JFATL digital filter combined with Standard Deviation channels provides both trend-following and volatility-adaptive capabilities
- Built-in IsNewBar detection and history loading mechanism prevents redundant calculations and signal repainting
- Five position sizing modes offer flexible money management options
- Recount mechanism ensures safe retry on indicator data read failures rather than executing erroneous trades
Weaknesses
- Depends on external custom indicator ColorJFatl_StDev; EA fails to run if the indicator is not properly installed
- Default SL of 1000 points and TP of 2000 points may be too wide for H4 timeframe; risk-reward ratio needs adjustment per instrument
- Lacks spread filter and trading session filter, potentially leading to unfavorable fills during high-spread or inactive periods
- DIRECT mode exit compares only two bars of line values, which may generate frequent false exit signals in choppy markets
- No explicit position check logic; relies entirely on TradeAlgorithms.mqh library functions for position management
Possible improvements
- Add spread filter and trading session control to avoid opening positions under unfavorable conditions
- Add trailing stop functionality to lock in floating profits and reduce profit giveback risk
- Add position count checks and duplicate same-direction entry protection logic
- Add confirmation conditions for DIRECT mode exits (e.g., two consecutive bars confirming direction change) to reduce false signals
Risk assessment
Overall risk: Medium
- Depends on external custom indicator; missing or version-mismatched indicator can cause EA initialization failure
- No spread filter; may result in unfavorable slippage fills during high-spread market conditions
- Weak DIRECT mode exit conditions may cause frequent entries and exits in choppy markets leading to consecutive losses
- No explicit position count limit; may over-commit in extreme conditions
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management ratio parameter, controls position sizing |
MMMode | LOT | Position sizing mode: free margin/balance/post-loss free margin/post-loss balance/fixed lot |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage in points |
BuyPosOpen | POINT | Buy open signal mode: dot signal/direction signal/disabled |
SellPosOpen | POINT | Sell open signal mode: dot signal/direction signal/disabled |
BuyPosClose | DIRECT | Enable buy position close signal |
SellPosClose | DIRECT | Enable sell position close signal |
InpInd_Timeframe | PERIOD_H4 | Indicator timeframe |
JLength | 5 | JMA smoothing length parameter |
JPhase | -100 | JMA phase parameter, range -100 to +100 |
IPC | PRICE_CLOSE_ | Price type applied to the indicator |
PriceShift | 0 | Price offset in points |
dK1 | 1.5 | Standard deviation channel multiplier 1 |
dK2 | 2.5 | Standard deviation channel multiplier 2 |
std_period | 9 | Standard deviation period |
SignalBar | 1 | Bar index used to retrieve trading signal |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.