Blog / Strategy
Strategy

Bar Conviction Trend Rider

Disclaimer: This article is for educational and informational purposes only. It does not constitute financial or investment advice. Trading forex and CFDs carries significant risk of loss. Past performance of any strategy — including backtests — does not guarantee future results. Never trade with money you cannot afford to lose.

What Is This Strategy?

The Bar Conviction Trend Rider is a trend-following, momentum-continuation strategy built around the Close Location Value (CLV) — a candlestick metric that measures where inside its own high-low range a bar chooses to close. When a candle seals near its high, buyers have won that bar's auction; when it seals near its low, sellers have. By smoothing this reading over a short window, the strategy forms a running estimate of which side is decisively in control, then joins the higher-timeframe trend only when that conviction appears fresh and volume-backed.

This approach is designed for trending markets rather than choppy, range-bound conditions. It deliberately avoids two common temptations: it does not fade extremes (betting against a strong move), and it does not chase raw breakouts (jumping on a move that may already be exhausted). Instead, it waits for a stack of conditions to align — a defined trend regime, sustained conviction, a fresh ignition bar, and real participation — before it arms a trade. Because every calculation uses only fully-closed bars, the signals are non-repainting: a signal never changes after the fact.

As a learning tool, the Bar Conviction Trend Rider is well suited to traders who want to study how simple candlestick anatomy (where a bar closes) can be combined into a rules-based confluence filter. It is a clear, transparent example of multi-condition confirmation and volatility-based risk scaling. It is not a shortcut, and it is not appropriate for anyone expecting a mechanical system to remove the need for careful risk management and realistic expectations.

How It Works

The strategy evaluates its rules once per closed bar. It only opens a position when all of the entry conditions agree — this confluence stack is what filters out weak or ambiguous signals.

Entry conditions (a long trade signals when all are true; a short is the mirror image):

Exit and risk logic:

Bar Conviction Trend Rider EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
TrendEmaPeriod 50 20 200 Length of the slow EMA that defines the tradable trend regime.
ConvictionPeriod 5 2 20 Window over which the per-bar CLV is smoothed into a conviction reading.
ConvictionThreshold 0.30 0.05 0.80 How decisive smoothed conviction must be ( CLV beyond this) to arm a trade.
VolumeMaPeriod 20 5 60 Tick-volume moving-average window used as the participation filter.
AtrPeriod 14 5 30 ATR window used for stops, targets, and the trailing distance.
AtrMultSL 1.50 0.50 4.00 Stop-loss distance as a multiple of ATR.
AtrMultTP 2.50 0.50 6.00 Take-profit distance as a multiple of ATR (reward:risk = AtrMultTP ÷ AtrMultSL).
AtrMultTrail 1.50 0.50 4.00 Trailing-stop distance behind price as a multiple of ATR.
Lots 0.10 0.01 1.00 Fixed lot size used for each position.
Magic 5313 0 9,999,999 Magic number that tags and isolates this EA's trades.
Bar Conviction Trend Rider EA — MQL5 source code

Recommended Chart Settings

The Bar Conviction Trend Rider was designed with a trending FX major or metal in mind — for example EURUSD or XAUUSD (gold) — on the M30 to H1 timeframes, where the interplay of trend, conviction, and volume tends to be cleanest. That said, the logic reads only the chart's primary timeframe and is symbol- and timeframe-agnostic, so it will run on whatever instrument and timeframe you attach it to.

Keep in mind that results will vary considerably across different market conditions. A parameter set that behaves well on a strongly trending pair may behave very differently on a range-bound or news-driven instrument. Always test any configuration on your own broker's data before drawing conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Like any mechanical system, the Bar Conviction Trend Rider has clear strengths and equally clear limitations. Understanding both is part of using it responsibly.

Strengths of this approach:

Known limitations:

The strategy is best treated as a framework for learning how confluence filters and volatility-based exits behave — not as a set-and-forget solution.

Risk Management Tips

Sound risk management matters more than any single entry rule. As you study this or any strategy, keep these general principles in mind:

Risk Warning

Trading foreign exchange, CFDs, and other leveraged financial instruments involves substantial risk of loss and is not suitable for all investors. The strategies and tools discussed on this page are provided for educational purposes only and do not constitute financial advice, investment recommendations, or solicitation to trade. Always consult a qualified financial adviser before making trading decisions. Past backtest performance is not indicative of future results.

Downloads

← Back to Blog