Exp_Kolier_SuperTrend
This EA trades based on the Kolier SuperTrend indicator, opening buy positions on upward trend signals and sell positions on downward trend signals. It uses ATR-based trend detection with configurable multiplier and period, and applies fixed Stop Loss/Take Profit levels for trade management. The EA only enters new trades on new bar formations to avoid excessive trading on tick noise.
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 | +1.88% | +1.63% | 5.12% | 69 | 47.80% | 0.42 | 0.37 | 7 | +$2.72 | Reliable |
| GBPUSD | +6.45% | +5.58% | 3.21% | 72 | 49.30% | 1.13 | 2.01 | 6 | +$9.43 | Reliable |
| USDJPY | -4.36% | -3.80% | 8.70% | 55 | 36.40% | -0.93 | -0.50 | 13 | −$7.93 | Reliable |
| XAUUSD | -3.65% | -3.03% | 59.08% | 85 | 48.80% | 0.35 | -0.06 | 5 | −$1.40 | Reliable |
Profitable on 2 of 4 markets with reliable results.
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.
Against the other Trend Following EAs with a reliable result on the same market: EURUSD: better than 71% of 95 · GBPUSD: better than 89% of 95 · USDJPY: better than 21% of 95 · XAUUSD: better than 45% of 96
Month by month
| Market | Months with a gain | Best month | Worst month |
|---|---|---|---|
| EURUSD | 69% | +2.64% 2026-01 | -2.02% 2026-10 |
| GBPUSD | 69% | +3.11% 2026-01 | -1.95% 2026-10 |
| USDJPY | 31% | +3.34% 2026-09 | -3.72% 2026-03 |
| XAUUSD | 46% | +21.78% 2026-01 | -23.32% 2026-04 |
From the backtest equity curve, sampled about every two days; only reliable results.
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 Kolier SuperTrend indicator as its core strategy, which dynamically adjusts the trend line based on ATR (Average True Range) multiplied by a configurable coefficient. Entry conditions are: when the indicator's upward signal line triggers (UpSignal is true), it allows opening long positions and simultaneously closing short positions; when the downward signal line triggers (DnSignal is true), it allows opening short positions and simultaneously closing long positions. Exit conditions include: closing on reverse signals, fixed Stop Loss (default 1000 points), and fixed Take Profit (default 2000 points). Position sizing is controlled via the MM parameter, where negative values represent fixed lot sizes and positive values represent deposit-proportional sizing. Money management relies on the external TradeAlgorithms.mqh library functions, supporting stop loss/take profit and price deviation control. The strategy only checks signals on each new bar formation to avoid repeated trades, and uses a Recount mechanism to recalculate when data is insufficient.
Strengths
- The SuperTrend-based trend following strategy has clear logic and is suitable for trending markets
- New bar detection mechanism prevents tick-level repeated trades, reducing overtrading risk
- Independent buy/sell open and close permission controls provide high flexibility
- Recount fault-tolerance mechanism automatically retries when data is insufficient
- Fixed stop loss and take profit settings provide basic risk protection
Weaknesses
- Fully depends on external TradeAlgorithms.mqh library, lacking independent trading logic implementation and poor portability
- Stop loss and take profit use fixed points instead of ATR-based dynamic adjustment, which may be unsuitable across different volatility environments
- No spread or slippage filter, potentially resulting in unfavorable fills in high-spread conditions
- No position check mechanism, may repeatedly open positions in the same direction
- Indicator handle failure only prints a warning without terminating initialization, potentially causing abnormal subsequent trading logic
Possible improvements
- Add ATR-based dynamic stop loss/take profit functionality that automatically adjusts distances based on market volatility
- Add position checking and same-direction position count limits to avoid repeated opening and over-concentration risk
- Add spread filter and trading session filter to improve entry quality and avoid trading during low liquidity periods
Risk assessment
Overall risk: Medium
- EA continues running when indicator handle initialization fails, potentially executing trading logic without valid signals
- Lack of position checking may cause repeated opening in the same direction, increasing risk exposure
- Fixed stop loss/take profit may be too large or too small under different market volatility, unable to adapt to market changes
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | -0.1 | Deposit fraction or lot size; negative value = fixed lots |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum price deviation in points |
BuyPosOpen | true | Allow buy position opening |
SellPosOpen | true | Allow sell position opening |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
InpInd_Timeframe | PERIOD_H4 | Indicator timeframe |
ATR_Period | 10 | ATR period |
ATR_Multiplier | 3.0 | ATR multiplier |
SignalBar | 1 | Bar index for entry signal |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.