EA-1366 · Trend Following

Exp_VininI_Trend_LRMA

This EA trades based on the VininI_Trend_LRMA custom indicator, which uses a Linear Regression Moving Average with multi-step smoothing. It supports two entry modes: level breakout and direction change (twist), and optionally filters entries using the ChangeOfVolatility indicator in the version with the second handle. Positions are opened and closed systematically with configurable stop loss, take profit, and money management.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsVininI_Trend_LRMA, ChangeOfVolatility, LRMA, JJMA, SMA
AuthorCopyright © 2012, Nikolay Kositsin

Backtest results (H1, about 1 year)

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

Strategy analysis

The core strategy of this EA is trend following, generating trading signals based on the VininI_Trend_LRMA custom indicator. This indicator identifies trend direction through a Linear Regression Moving Average combined with multi-step exponential smoothing, supporting various smoothing methods including SMA, EMA, JJMA, JurX, and others. Entry conditions operate in two modes: BREAKDOWN mode requires the indicator value to cross above UpLevel or below DnLevel, with the previous bar's value not yet having crossed that level; TWIST mode requires the indicator direction to reverse, changing from declining to rising or vice versa. Exit conditions include fixed stop loss and take profit in points, as well as position closure triggered by opposing signals. Position sizing is controlled via the MM parameter, where negative values represent fixed lot sizes and positive values represent the share of deposit per deal. Money management relies on the TradeAlgorithms.mqh library functions for executing opens and closes. In the version with the underscore suffix, an additional ChangeOfVolatility indicator filters signals, requiring trend volatility strength to exceed MaxTrendLevel before entry is permitted.

Strengths

  • Dual-mode entry strategy provides flexibility, allowing traders to follow either level breakouts or direction twists
  • Uses ChangeOfVolatility indicator as a volatility filter, reducing false signals in low-volatility environments
  • Well-parameterized design with independent buy/sell open/close permissions to accommodate different market views
  • Multi-step smoothing algorithm effectively reduces noise, minimizing false signals from price spikes
  • New bar detection mechanism (CIsNewBar) prevents redundant trades within the same bar

Weaknesses

  • Stop loss and take profit use fixed points without ATR-based dynamic adjustment, potentially misfitting different instruments
  • No position check logic, potentially opening duplicate positions in the same direction
  • Depends on two custom indicators (VininI_Trend_LRMA and ChangeOfVolatility), making deployment complex and fragile if indicators are missing
  • No spread filter, which can cause unnecessary losses on instruments with wide spreads
  • The MM parameter's negative-value-means-fixed-lot design is unintuitive and prone to user misunderstanding

Possible improvements

  • Add ATR-based dynamic stop loss and take profit to adapt risk management to varying market volatility
  • Add position check logic to prevent duplicate entries in the same direction, avoiding overexposure
  • Add spread filter and trading session filter to improve entry quality

Risk assessment

Overall risk: Medium

  • No position check may lead to duplicate entries in the same direction, causing excessive risk exposure
  • Fixed-point stop loss/take profit does not adapt to different market volatility, potentially causing frequent stop-outs in volatile markets
  • The negative-value design of the MM parameter can be misused, potentially leading to unexpectedly large lot sizes

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness3.0
Innovation3.0
Documentation2.0
Overall2.7

Parameters

ParameterDefaultDescription
MM-0.1Money management ratio or fixed lot size
StopLoss_1000Stop loss in pips
TakeProfit_2000Take profit in pips
Deviation_10Maximum allowed slippage
BuyPosOpentrueAllow opening buy positions
SellPosOpentrueAllow opening sell positions
BuyPosClosetrueAllow closing buy positions on signal
SellPosClosetrueAllow closing short positions
ModeBREAKDOWNEntry algorithm mode: breakout or reversal
SignalBar1Bar index for entry signal
InpInd_TimeframePERIOD_H4Indicator timeframe
LRMAPeriod13LRMA period
MA_Method1MODE_SMAMoving average smoothing method
Length13Moving average initial smoothing depth
Phase115Moving average smoothing parameter
MA_Step10Smoothing depth increment step
MA_Count10Number of smoothing steps
MA_Method2MODE_JJMAIndicator smoothing method
Length220Indicator smoothing depth
Phase2100Indicator smoothing parameter
IPCPRICE_CLOSEPrice constant type
UpLevel+10Upper level (range 0/+100)
DnLevel-10Lower level (range -100/0)
MPeriod1Momentum period
Short6Short-term volatility period
Long100Long-term volatility period
MaxTrendLevel60Trend level required to execute trades (0-100)

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.