EA-13928 · Trend Following

Exp_KPrmSt

This EA trades based on the crossover of two buffers from the custom KPrmSt indicator. It opens buy positions when the first buffer crosses above the second and sell positions when it crosses below, with configurable stop loss, take profit, and position management settings.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, H6, D1
IndicatorsKPrmSt (Custom)
Author—

Backtest results (H1, about 1 year)

Not backtested yet — this EA could not be converted automatically.

Strategy analysis

This EA employs a dual-line crossover trend-following strategy based on the custom KPrmSt indicator. Entry conditions: a buy signal is generated when Ma1[1]>Ma2[1] (the first buffer is above the second on the previous bar) AND Ma1[0]<=Ma2[0] (the first buffer was at or below the second on the bar before that), confirming a golden cross. Sell entry is the reverse — a death cross confirmation. Exit conditions are triggered by opposing crossover signals, where a bullish crossover closes short positions and a bearish crossover closes long positions. Fixed stop loss (1000 points) and take profit (2000 points) are applied to all trades for risk management. Position sizing is controlled by the MM parameter, supporting both fixed lot size (LOT mode) and margin-based sizing. The strategy uses the IsNewBar mechanism to ensure signals are calculated only once per bar, preventing duplicate trades, and checks BarsCalculated to verify indicator data readiness before processing. Overall, this is a classic dual-moving-average crossover trend-following system with straightforward logic.

Strengths

  • Clean and straightforward strategy logic based on crossover signals, easy to understand and maintain
  • Complete stop loss and take profit mechanism with 1000pt SL / 2000pt TP, providing a 1:2 risk-reward ratio
  • IsNewBar mechanism ensures signals are calculated only once per bar, effectively preventing duplicate entries
  • Flexible position sizing supporting both fixed lot and margin-based modes
  • Independent enable/disable controls for buy/sell open and close operations, allowing directional bias customization

Weaknesses

  • Depends on the custom KPrmSt indicator whose internal logic is opaque, making signal quality hard to evaluate
  • Lacks market filter mechanisms (e.g., volatility filter, trend strength confirmation), prone to frequent losses in ranging markets
  • Fixed point stop loss and take profit without ATR-based dynamic adaptation performs poorly across different volatility regimes
  • No trading session filter, may generate poor signals during low-liquidity periods
  • No position scaling logic (add/reduce), cannot optimize exposure during trend development

Possible improvements

  • Add a trend filter indicator (e.g., ADX or higher timeframe MA) to reduce false signals in ranging markets
  • Replace fixed SL/TP with ATR-based dynamic stop loss and take profit for better adaptation to varying volatility
  • Add trading session filter and spread filter to avoid trading during low-liquidity and high-spread periods

Risk assessment

Overall risk: Medium

  • Fixed SL/TP may be misaligned under different volatility regimes — too tight in high volatility leading to frequent stop-outs
  • Lacks position check before opening, risk of over-exposure through duplicate entries on existing positions
  • Depends on custom indicator with no fault-tolerance retry mechanism — EA initialization fails if indicator fails to load

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness3.0
Innovation2.0
Documentation1.0
Overall2.5

Parameters

ParameterDefaultDescription
MM0.1Money management ratio for lot calculation
MMModeLOTMM mode: Free margin/Balance/Post-loss margin/Post-loss balance/Fixed lot
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage in points
BuyPosOpentrueAllow opening long positions
SellPosOpentrueAllow opening short positions
BuyPosClosetrueAllow closing long positions
SellPosClosetrueAllow closing short positions
InpInd_TimeframePERIOD_H6Indicator calculation timeframe
SignalBar1Bar index for signal detection
Per114KPrmSt indicator parameter 1
Per23KPrmSt indicator parameter 2
Per33KPrmSt indicator parameter 3
Per45KPrmSt indicator parameter 4

Similar Trend Following EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.