Blog / Strategy
Strategy

Forecast Baseline Reclaim

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?

Forecast Baseline Reclaim is a trend-pullback trading strategy built around a least-squares Time Series Forecast (TSF) baseline — a statistical "fair value" line that many discretionary traders never see on a standard chart. Instead of relying on a conventional moving average like the EMA or Hull, the strategy fits an ordinary least-squares regression line to the last several closing prices and uses the end-point of that line as its reference level. Because the regression end-point is projected onto the newest bar rather than trailing behind it, it behaves as a near zero-lag estimate of where price "should" be sitting right now.

The strategy is designed for trending markets that experience healthy pullbacks — the everyday two-steps-forward, one-step-back rhythm you see in liquid instruments. It only looks for entries when the regression slope confirms a genuine trend, and it deliberately stays flat when the slope is too shallow to matter. The core idea is a classic one dressed in more rigorous statistics: buy a temporary dip in an uptrend the moment price reclaims its fair-value line, and mirror that logic for downtrends.

As a learning tool, Forecast Baseline Reclaim is well suited to traders who want to understand how linear regression, slope filtering, and volatility normalization can be combined into a single rules-based system. It is not a shortcut or a promise of any outcome — it is a transparent framework for studying how a zero-lag baseline behaves relative to price. Beginner and intermediate traders can use it to see, step by step, how a mechanical entry filter is constructed and why each condition exists.

How It Works

The strategy recalculates everything once per completed bar. From a single least-squares regression over the last RegPeriod closes, it derives three quantities: the Baseline (the regression end-point), the Slope (price change per bar), and the Forecast Oscillator — the distance from price to the baseline measured in ATR units. Average True Range (ATR) is a volatility measure, and using it to normalize distances lets the same rules behave consistently whether the market is quiet or busy.

Regime filter (are we trending?)

Long entry conditions (buy the dip in an uptrend)

Short entry conditions (mirror image)

Exit and reversal logic

Stop-loss and take-profit logic

forecast baseline reclaim MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
RegPeriod 20 8 60 Number of closing prices in the least-squares regression window — the baseline's "memory." Larger values produce a smoother, slower baseline.
SlopeThreshold 0.05 0.00 0.30 Minimum absolute slope (in ATR-per-bar units) required to classify the market as trending. Higher values demand stronger trends before trading.
PullbackDepth 0.50 0.10 2.00 How far (in ATRs) the prior bar must sit off the baseline to count as a genuine pullback. Higher values require deeper dips.
AtrPeriod 14 5 40 Lookback window for the ATR used in normalization and stop sizing.
AtrStopMult 2.0 0.5 5.0 Stop-loss distance as a multiple of ATR.
RewardRatio 1.8 0.8 4.0 Take-profit distance as a multiple of the stop distance (reward-to-risk ratio).
Lots 0.10 0.01 1.0 Fixed position size in lots.
forecast baseline reclaim MT5 EA — MQL5 source code

Recommended Chart Settings

Forecast Baseline Reclaim was designed with liquid forex pairs and index CFDs in mind, on the M15 to H1 timeframes, where trends develop with regular, tradeable pullbacks. That said, the strategy never hardcodes a timeframe — it runs on whatever chart period you attach it to, so you are free to study its behavior on other markets and intervals.

As a practical starting point for exploration, consider a major pair such as EUR/USD on the M15 or H1 chart. Keep in mind that trend character, spread, and volatility differ enormously across instruments and sessions, so results will vary across different market conditions. Always test any configuration on historical data and a demo account before drawing conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Every mechanical strategy has strengths and blind spots, and Forecast Baseline Reclaim is no exception.

Strengths of this approach

Known limitations

The strategy is best understood as a structured study of trend-pullback timing, not a finished, hands-off system. Thoughtful parameter testing and ongoing observation are essential.

Risk Management Tips

Sound risk management matters far more than any single entry rule. 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