Two Poles Trend Finder MTF [BigBeluga]🔵  OVERVIEW 
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 
 
   Two-Pole Gaussian Filter  offers ultra-smooth trend curves while maintaining responsiveness.
  
   Multi-Timeframe Trend Detection: 
  • Default: 1H, 2H, 4H, 12H, 1D (fully customizable)
  • Each timeframe is assessed independently using the same trend logic.
   Visual Trend Dashboard  positioned at the bottom-right of the chart with color-coded trend blocks.
   Dynamic Summary Arrow  shows overall market bias (🢁 / 🢃) based on majority of uptrends/downtrends.
  
  
   Bold + wide trail plot  for the filter value with gradient coloring based on directional bias.
  
 
🔵  HOW TO USE 
 
  Use the  multi-timeframe dashboard  to identify aligned trends across your preferred trading horizons.
  Confirm trend strength or weakness by observing  filter slope direction .
  Look for  dashboard consensus (e.g., 4 or more timeframes green] ) as confirmation for breakout, continuation, or trend reentry strategies.
  Combine with volume or price structure to enhance entry timing.
 
🔵  CONCLUSION 
Two Poles Trend Finder MTF   delivers a clean and intuitive trend-following solution with built-in multi-timeframe awareness. Whether you’re trading intra-day or positioning for swing setups, this tool helps filter out market noise and keeps you focused on directional consensus.
