OPEN-SOURCE SCRIPT

Dynamic Range Filter with Trend Candlesticks (Zeiierman)

3 456
Overview
Dynamic Range Filter with Trend Candlesticks (Zeiierman) is a volatility-responsive trend engine that adapts in real-time to market structure, offering a clean and intelligent visualization of directional bias. It blends dynamic range calculation with customizable smoothing techniques and layered trend confirmation logic, making it ideal for traders who rely on clear trend direction, structural range analysis, and momentum-based candlestick signals.
快照

By measuring scaled volatility over configurable lengths and applying advanced moving average techniques, this indicator filters out market noise while preserving true directional intent. Complementing this, a dual-trend system (range-based and candle-based) enhances clarity and responsiveness, particularly during shifting market conditions.
快照

How It Works
Scaled Volatility Band Calculation
At the core lies a volatility engine that constructs adaptive range bands around price using smoothed high/low calculations. The bands are dynamically adjusted using:
  • High/Low Smoothing – Applies a moving average to the raw high and low data before calculating the range.
  • Scaled Range Volatility – A 2.618 multiplier scales the distance between smoothed highs and lows, forming a responsive volatility envelope.
  • Band Multiplier – Controls how wide the upper/lower range bands extend from the mean.

This filtering process minimizes false signals and highlights only structurally meaningful moves.

Multi-Type Smoothing Engine
Users can choose from a wide array of smoothing algorithms for trend construction, including:
  • HMA (default), SMA, EMA, RMA
  • KAMA – Adapts to market volatility using efficiency ratios.
  • VIDYA – Momentum-sensitive smoothing using CMO logic.
  • FRAMA – Dynamically adjusts to fractal dimension in price.
  • Super Smoother – Ideal for eliminating aliasing in range signals.
  • This provides the trader with fine-tuned control over reactivity vs. smoothness.

Trend Detection (Dual Engine)
The indicator includes two independent trend tracking systems:
  • Main Trend Filter – Based on adaptive volatility band shifts.
  • Candle Trend Filter – A second-tier confirmation using smoothed candle data, ideal for directional candles and confirmation entries.

How to Use

Trend Confirmation
Use the Trend Line and colored candlesticks for high-probability entries in the trend direction. The more trend layers that align, the higher the confidence.
快照

Reversal Zones
When the price reaches the outer bands or fails to break them, look for candle color shifts or a crossover in the range to anticipate possible reversals or consolidations.
快照

Settings
  • Scaled Volatility Length – Controls the lookback used to stabilize the base volatility band.
  • MA Type & Length – Choose and fine-tune the smoothing method (HMA, EMA, KAMA, etc.)
  • High/Low Smoother – Pre-smoothing for structural high/low banding.
  • Band Multiplier – Adjusts the width of the dynamic bands.
  • Trend Length (Candles) – Length used for candle-based trend confirmation.


-----------------
Disclaimer

The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.

All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.

免責聲明

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