Exp_FRASMAv2
This EA trades based on the FRASMAv2 (Fractal Adaptive Simple Moving Average v2) custom indicator signals. It opens buy positions when the indicator transitions from a neutral state to a bullish signal and sell positions when it transitions to a bearish signal, with configurable stop loss and take profit levels.
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
This EA uses the FRASMAv2 (Fractal Adaptive Simple Moving Average v2) custom indicator as its core signal source. Entry conditions: a buy signal is generated when the indicator buffer value transitions from 0 (neutral) to greater than 0, and a sell signal is generated when it transitions from 2 (neutral/bearish) to less than 2. Exit conditions include fixed stop loss and take profit in points, plus reverse signal-based position closing via BuyPosClose and SellPosClose flags. Position sizing is managed through the MM parameter and MarginMode enumeration, supporting five modes including free margin-based, balance-based, loss-adjusted margin-based, loss-adjusted balance-based, and fixed lot size. Money management offers FREEMARGIN, BALANCE, LOSSFREEMARGIN, LOSSBALANCE, and LOT options for flexible risk allocation. The strategy defaults to H4 timeframe and uses a SignalBar parameter to control signal timing, with a new bar detection mechanism to prevent duplicate signals.
Strengths
- Uses fractal adaptive moving average that dynamically adjusts sensitivity based on market volatility
- Provides five position sizing modes with flexible money management options
- Includes new bar detection mechanism to prevent duplicate trade entries within the same bar
- Configurable stop loss and take profit with default 2:1 reward-to-risk ratio
- Independent control over buy/sell opening and closing directions for high flexibility
Weaknesses
- Depends on custom FRASMAv2 indicator file; EA cannot run and strategy logic is hard to verify without it
- Lacks spread filter and volatility filter, may result in unfavorable entries during high spread or volatile conditions
- Stop loss of 1000 points and take profit of 2000 points are large values, unsuitable for small accounts or short-term trading
- No position count check, potentially opening duplicate positions in the same direction
- Garbled comments due to encoding issues, harming code readability and maintainability
Possible improvements
- Add spread filter and maximum position count check to prevent duplicate entries under adverse conditions
- Replace fixed stop loss/take profit with ATR-based dynamic calculation to adapt to varying market volatility
Risk assessment
Overall risk: Medium
- Depends on external custom indicator; missing indicator causes initialization failure
- Lacks position count and same-direction duplicate entry checks
- Fixed point stop loss/take profit does not account for market volatility changes
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management ratio or lot value |
MMMode | LOT | Lot 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 | Slippage deviation allowance |
BuyPosOpen | true | Allow opening long positions |
SellPosOpen | true | Allow opening short positions |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
InpInd_Timeframe | PERIOD_H4 | Timeframe for iDeMarkerSign indicator |
e_period | 30 | Period parameter for FRASMAv2 indicator |
normal_speed | 20 | Normal speed parameter for FRASMAv2 indicator |
IPC | PRICE_CLOSE_ | Price type applied to indicator calculation |
SignalBar | 1 | Bar index for signal reading (0=current, 1=last completed) |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.