Prices go up Friday 27 Nov · 00:00 New York 5d 00:34:00

Open-source

Two Poles Trend Finder MTF

Two Poles Trend Finder MTF is a refined trend-following overlay that blends a two-pole Gaussian filter with a multi-timeframe dashboard. It provides a smoo...

Two Poles Trend Finder MTF preview
Published Jul 4, 2025
2,18635,142

What this TradingView script does

Two Poles Trend Finder MTF is a refined trend-following overlay that blends a two-pole Gaussian filter with a multi-timeframe dashboard. It provides a smooth view of price dynamics along with a clear summary of trend directions across multiple timeframes—perfect for traders seeking alignment between short and long-term momentum.

🔵 CONCEPTS

- Two-Pole Filter: A smoothing algorithm that responds faster than traditional moving averages but avoids the noise of short-term fluctuations.

var float f = na var float f_prev1 = na var float f_prev2 = na

// Apply two-pole Gaussian filter if bar_index >= 2 f := math.pow(alpha, 2) * source + 2 * (1 - alpha) * f_prev1 - math.pow(1 - alpha, 2) * f_prev2 else f := source // Warm-up for first bars

// Shift state f_prev2 := f_prev1 f_prev1 := f

- Trend Detection Logic: Trend direction is determined by comparing the current filtered value with its value n bars ago (shifted comparison).

- MTF Alignment Dashboard: Trends from 5 configurable timeframes are monitored and visualized as colored boxes:   • Green = Uptrend   • Magenta = Downtrend

- Summary Arrow: An average trend score from all timeframes is used to plot an overall arrow next to the asset name.

🔵 FEATURES

How traders can use it

Use Two Poles Trend Finder MTF as a chart context layer inside TradingView: read the structure it highlights, compare it with your market bias, and let the script narrow which moves deserve attention.

The strongest workflow is to combine the script with higher timeframe structure, volume context, and a repeatable execution plan instead of treating any single label as a standalone trade.

Ready to level up your trading?

Get advanced indicators, backtesting and the BigBeluga community in one plan.

Get Access