OPEN-SOURCE SCRIPT

Forecast Trend Filter ~ CharonQuant

163
The Forecast Trend Filter (FTF) is a trend and momentum confirmation indicator built on the original Forecast Oscillator concept developed by Tushar Chande.

The original Forecast Oscillator measures how far price deviates from a linear regression forecast to highlight momentum shifts.
This version extends that foundation and restructures it into a practical, signal-quality focused trend filter designed for real trading conditions.

What’s different in this implementation:
• Forecast Oscillator combined with slope confirmation to ensure momentum is accelerating, not stalling
• Trend alignment filter using a user-selectable moving average (SMA, EMA, WMA, HMA, ALMA, VWMA)
• Minimum deviation threshold to filter out weak or noisy signals
• Directional state logic that clearly defines bullish, bearish, or neutral conditions
• Visual trend context using adaptive colors, background bias, and overlay plots

Signals are only generated when all conditions align:
• Price deviates meaningfully from its linear regression forecast
• Oscillator slope confirms momentum continuation
• Deviation exceeds the minimum quality threshold
• Price is aligned with the higher-level trend filter

If one condition fails, the signal is ignored.
This design prioritizes signal quality over signal frequency.

Development and usage notes:

This indicator was developed and calibrated on the 1D INDEX:ETHUSD chart.
You must tweak the parameters to fit your market, timeframe, and trading style.
If you do not read this description or do not understand what the indicator is designed to do, do not use it.
Indicators amplify both discipline and mistakes.
Important reminder: No single indicator is sufficient on its own.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.