EA-13793 · Trend Following

Exp_HullTrendOSMA

This EA trades based on the HullTrendOSMA custom indicator, which applies Hull moving average smoothing to an OSMA-style oscillator. It opens buy positions when the oscillator turns upward and sell positions when it turns downward, with configurable money management and separate open/close controls.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH4, H8, D1
IndicatorsHullTrendOSMA, Hull Moving Average, OSMA
Author—

Backtest results (H1, about 1 year)

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

Strategy analysis

The strategy concept is based on trend reversal signals from the HullTrendOSMA oscillator indicator, which uses double smoothing algorithms (XMA_Method and XMA_Method1) to reduce noise and generate trading signals. Entry conditions: a buy position opens when Value[1]<Value[2] (oscillator declining) and Value[0]>=Value[1] (starting to rise); a sell position opens when Value[1]>Value[2] (oscillator rising) and Value[0]<=Value[1] (starting to fall). Exit conditions rely on reverse signals triggering position closure, supplemented by fixed pip-based stop loss and take profit levels. Position sizing supports multiple modes including fixed lot, balance percentage, and free margin percentage. Money management is controlled by the MM parameter for risk ratio and MMMode for lot calculation mode, but lacks dynamic adjustment based on market volatility.

Strengths

  • Double Hull moving average smoothing reduces false signals and improves signal quality
  • Independent open/close signal controls provide high flexibility, allowing separate disable of buy or sell direction
  • Multiple money management modes accommodate traders with different risk preferences
  • SignalBar parameter confirms signal on completed candles, avoiding false signals from uncompleted bars
  • New bar detection mechanism (IsNewBar) prevents duplicate trades within the same bar

Weaknesses

  • Fixed pip stop loss and take profit do not account for market volatility (e.g., ATR), which may be inappropriate in different market conditions
  • Lacks position count checking, potentially leading to over-positioning from repeated entries across signal periods
  • Depends on the custom HullTrendOSMA indicator file; EA fails if the indicator is missing
  • No maximum position limit or maximum drawdown protection mechanism
  • Trend-following strategy prone to frequent stop-outs in choppy/ranging markets

Possible improvements

  • Introduce ATR-based dynamic stop loss and take profit to automatically adjust distances based on market volatility
  • Add position count limits and maximum drawdown protection to prevent over-trading and excessive capital loss
  • Add a range/choppy market filter (e.g., ADX or volatility threshold) to pause trading when no clear trend exists

Risk assessment

Overall risk: Medium

  • Fixed stop loss/take profit does not consider market volatility; in high-volatility conditions stops may be too tight causing frequent stop-outs
  • Lacks position count checks; consecutive signals may lead to repeated entries and over-positioning
  • Trend-following strategy generates consecutive losing signals in ranging/choppy markets

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness3.0
Innovation3.0
Documentation1.0
Overall2.5

Parameters

ParameterDefaultDescription
MM0.1Money management: lot size or margin ratio control
MMModeLOTMoney management mode: lot or margin ratio
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage in points
BuyPosOpentrueAllow opening buy positions
SellPosOpentrueAllow opening sell positions
BuyPosClosetrueAllow closing buy positions
SellPosClosetrueAllow closing sell positions
InpInd_TimeframePERIOD_H8Indicator calculation timeframe
XLength20Hull trend main smoothing period
IPCPRICE_CLOSEApplied price type
XMA_MethodMODE_LWMAMain smoothing method
XPhase15Main smoothing phase parameter
XLength15Signal line smoothing period
XMA_Method1MODE_JJMASignal line smoothing method
XPhase1100Signal line smoothing phase parameter
SignalBar1Signal confirmation bar index (0=current, 1=last completed)

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.