RSD Fractal Dimension Moving Average
Jun 23, 2016

The RSD Fractal Dimension Moving Average indicator provides an adaptive moving average that dynamically adjusts its sensitivity based on fractal dimension and a composite trend-momentum metric. It aims to offer a reactive trend-following tool that minimizes "yo-yo" price action and lag during high volatility periods.
Usage
The Usage section describes how the script can be used to identify market trends and potential reversal points. Because the indicator adapts its smoothing factor based on market complexity, it stays closer to the price during trending phases and flattens out during consolidated or noisy periods.
- Trend Identification: When the price is trading above the moving average and the line is colored green, the market is considered to be in a bullish trend. Conversely, when the price is below the moving average and the line is red, the market is in a bearish trend.
- Adaptive Smoothing: The indicator utilizes "powered" range values. Users can adjust the min and max range settings to define the bounds of the moving average's speed. A lower "Min Range" allows the indicator to become extremely fast (reactive), while the "Max Range" prevents it from becoming overly sluggish.
- Momentum Filtering: By incorporating RSI, Stochastic, and ADX components into the calculation, the script filters out minor price fluctuations that do not align with broader momentum, providing a cleaner signal than standard moving averages.
Details
The RSD Fractal Dimension Moving Average is based on the concept of Fractal Dimension Index (FDI), which measures the "roughness" or complexity of price action. The calculation determines whether price is moving in a linear (trending) or planar (mean-reverting/noisy) fashion.
The script calculates the dimension ($D$) using the highest highs and lowest lows over specific segments of the lookback period. This is then combined with an efficiency ratio derived from a composite of the Relative Strength Index (RSI), Stochastic oscillator, and the Directional Movement Index (+DI from ADX). The resulting smoothing constant ($sc$) is applied to an exponential moving average formula, allowing the tool to adapt its period length in real-time based on both market geometry and momentum.
Settings
- Price: Determines the source data used for the moving average calculation (default is hl2).
- Len Period: The lookback period used to calculate the fractal dimension and price change.
- Max Range MA(Powered): Defines the slowest possible state of the moving average. Higher values result in a slower, more smoothed output.
- Min Range MA(Powered): Defines the fastest possible state of the moving average. Lower values allow the indicator to react more quickly to price changes.
- Period Rsi, Stch, Adx: The lookback period used for the internal momentum and trend filters (RSI, Stochastic, and ADX components).
FAQ
How do I interpret the color changes on the RSD FD? The color transition typically indicates a change in trend bias; green indicates the average is below the price (bullish), while red indicates the average is above the price (bearish).
What makes this different from a standard EMA? Unlike a standard EMA which uses a fixed smoothing constant, the RSD FD calculates a new smoothing constant for every bar based on market volatility and trend strength.
How can I access this indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.