OPEN-SOURCE SCRIPT

Two Poles Trend Finder MTF [BigBeluga]

1 602
🔵 OVERVIEW
Two Poles Trend Finder MTF [BigBeluga] 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.

    Pine Script®
    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 [BigBeluga] 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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。