Exp_Ozymandias
This EA trades based on the Ozymandias custom indicator, which signals trend direction changes via buffer values of 0 and 1. It opens buy positions when the indicator switches from 0 to 1 and sell positions when it switches from 1 to 0, with configurable stop loss and take profit. Position management is delegated to the TradeAlgorithms library for both opening and closing trades.
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 trend following based on the Ozymandias indicator, which identifies trend direction through smoothed moving averages and price channel calculations. Entry conditions are: a buy position opens when the indicator buffer switches from 0 to 1, signaling an uptrend establishment; a sell position opens when the buffer switches from 1 to 0, signaling a downtrend establishment. Exit conditions include: closing on reverse signal (longs close when indicator becomes 0, shorts close when indicator becomes 1), plus fixed-pip stop loss and take profit levels. Position sizing is controlled by the MM parameter, supporting both lot-based mode and margin-based percentage mode for money management. The EA only calculates signals on new bar formation rather than every tick, which improves execution efficiency by avoiding redundant recalculations. However, the strategy lacks position scaling logic (no add-to or reduce-from existing positions), and the stop loss/take profit are fixed pip values rather than dynamically calculated using ATR or similar volatility-based indicators, which may be inflexible in markets with varying volatility conditions.
Strengths
- Uses new bar detection mechanism to avoid recalculating signals on every tick, ensuring high execution efficiency
- Provides complete buy/sell toggle controls, allowing flexible configuration such as open-only or close-only modes
- Includes stop loss and take profit protection with basic risk control measures
- Implements a Recount retry mechanism on signal calculation failure, enhancing robustness
- Separates strategy logic into a custom indicator for modular design and easier maintenance
Weaknesses
- Stop loss and take profit are fixed pip values without dynamic adjustment based on market volatility (e.g., ATR), potentially too tight in volatile markets or too wide in calm markets
- Lacks position scaling logic, unable to add to winning positions during trend continuation to maximize profits
- Does not check for existing positions in the same direction, potentially causing duplicate entries
- The Ozymandias indicator is a custom external dependency with opaque logic, making independent backtesting and verification impossible
- No spread filter or trading session filter included, potentially leading to unfavorable fills during inappropriate hours
Possible improvements
- Replace fixed stop loss/take profit with ATR-based dynamic levels to adapt to varying market volatility conditions
- Add same-direction position checking logic to prevent duplicate entries and avoid excessive risk exposure
Risk assessment
Overall risk: Medium
- No check for existing same-direction positions, potentially causing duplicate entries that exceed intended risk exposure
- Fixed stop loss/take profit cannot adapt to market volatility changes, potentially causing frequent stop-outs during high volatility
- Depends on external custom indicator; EA becomes completely non-functional if the indicator is unavailable or updated
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management ratio controlling margin per trade |
MMMode | LOT | Lot calculation mode: LOT (fixed) or FREEMARGIN (margin ratio) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage |
BuyPosOpen | true | Allow opening long position on bullish signal |
SellPosOpen | true | Allow opening short position on bearish signal |
BuyPosClose | true | Allow closing long position on reverse signal |
SellPosClose | true | Allow closing short position on reverse signal |
InpInd_Timeframe | PERIOD_H4 | Ozymandias indicator timeframe |
Length | 2 | Ozymandias indicator period length |
MAType | MODE_SMA | Moving average type used by Ozymandias indicator |
SignalBar | 1 | Trend bar index for signal judgment |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.