Blog / Strategy
Strategy

Close Location Pressure Trend

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 Close Location Pressure Trend strategy is a trend-following system built around the Close Location Value (CLV) — a signed, scale-free measure of where price finished inside each bar's high-to-low range. For every completed candle, CLV is calculated as ((Close − Low) − (High − Close)) / (High − Low), producing a number between −1 and +1. A reading near +1 means price settled at the very top of the bar (buyers absorbed every dip), a reading near −1 means it closed at the very bottom (sellers dominated), and a value near zero means the close finished mid-range in indecision. Because CLV ignores volume entirely, it stays clean on forex, where only tick-volume is available and true traded volume is not.

By averaging CLV with an exponential moving average (EMA) — a moving average that weights recent bars more heavily — the strategy builds a "pressure" line. A run of top-of-range closes drives that line positive; a run of bottom-of-range closes drives it negative. When the pressure line makes a fresh surge through a threshold, it flags the moment one side has just taken decisive intrabar control. Unlike Balance of Power (which uses the open) or Internal Bar Strength (a 0-to-1 mean-reversion gauge), CLV is a signed reading of where the market accepted value inside each bar.

This strategy is best viewed as a learning tool for traders who want to understand price-acceptance concepts, EMA-based trend filtering, and ATR-based risk brackets. It is designed for trending market conditions and is not a guaranteed edge — it is a structured example of how intrabar location can be turned into a systematic, symmetric long-and-short trend filter.

How It Works

The strategy acts once per completed bar. On each new bar it recomputes the pressure line, checks the trend baseline, and looks for a fresh threshold cross. Here is the logic in plain English:

All calculations use a single, configurable timeframe — the strategy runs on whichever timeframe the chart is set to.

close location pressure trend EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
PressurePeriod 10 3 30 EMA length used to smooth raw CLV into the pressure line. Lower values react faster; higher values are smoother.
Threshold 0.15 0.0 0.60 How far from zero the pressure must cross to count as a decisive shift. Higher values demand stronger, rarer signals.
BaselinePeriod 50 20 150 EMA length of the trend baseline used for direction and the price-side filter.
SlopeLookback 3 1 10 Number of bars back used to measure whether the baseline is rising or falling.
AtrPeriod 14 5 30 Lookback period for the ATR that sizes the protective stop.
AtrMult 2.0 1.0 4.0 Stop distance as a multiple of ATR. Larger values give the trade more room but risk more per unit.
RewardRisk 1.8 1.0 4.0 Take-profit distance as a multiple of the stop distance (reward-to-risk ratio).
Lots 0.10 0.01 1.0 Fixed trade volume in lots.
close location pressure trend EA — MQL5 source code

Recommended Chart Settings

This strategy is symbol- and timeframe-agnostic by design — every calculation reads from the chart's primary timeframe, so it runs on whatever timeframe you attach it to. As a starting point for study, many trend-following systems of this type are explored on major forex pairs (such as EUR/USD or GBP/USD) on intraday timeframes like H1 or H4, where trends have room to develop but noise is reduced compared to very short frames. The default parameters (a 10-period pressure EMA and 50-period baseline) suit a mid-frequency swing style.

Keep in mind that results will vary considerably across different symbols, timeframes, and market regimes. What behaves well on one instrument during a trending period may perform very differently on another instrument or during a range. 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

Strengths of the approach. The Close Location Pressure Trend logic is transparent and pairs two complementary ideas: a price-acceptance oscillator (CLV) for timing, and an EMA baseline for context. Requiring both a fresh threshold cross and trend alignment is a disciplined double-filter that can reduce impulsive, counter-trend entries. Because CLV is volume-free, it behaves consistently on forex data, and the ATR-based stop lets risk scale with current volatility rather than a fixed pip distance.

Known limitations. Like all trend-following systems, this strategy is vulnerable to choppy, sideways markets, where the baseline flips direction frequently and pressure crosses generate signals that quickly reverse — the classic "whipsaw" problem. The fresh-cross requirement helps but does not eliminate this. The CLV reading is also sensitive to bars with unusually wide ranges or gaps, which can distort a single reading before the EMA smooths it. Finally, a fixed reward:risk take-profit means the strategy will exit winning trends early if the target is set too tight, or give back open profit if a trend reverses before hitting target.

When it may underperform. Expect weaker behavior during low-volatility consolidation, during major news spikes that blow through stops, and on very low timeframes where spread and noise dominate the CLV signal. No single parameter set is optimal across all conditions, and over-optimizing on past data ("curve-fitting") can produce settings that look strong historically but fail to generalize.

Risk Management Tips

Sound risk management matters more than any single entry signal. Consider these general principles as part of your education:

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