Scripts with the same name can estimate different quantities
TradingView search results include multi-scale R/S implementations, single-scale approximations and detrended fluctuation analysis. QuantNomad describes dividing a lookback into shorter samples for R/S analysis; RC Tools explicitly describes a single-scale approximation. Their numbers need not match. Record the author and version before comparing settings or colors.
- Weron compares R/S, DFA and periodogram methods using Gaussian white noise and finds finite-sample behavior matters. Do not transfer a published interval to a different algorithm.
- The Fractal Dimension Index describes path roughness under its own estimator. D = 2 − H requires a suitable self-affine model; it is not an unconditional conversion between two TradingView indicators.
| Method | Calculation | Limit to check |
|---|---|---|
| Multi-scale R/S | Regress log mean rescaled range on log block length. | Small blocks and a short sample can bias the slope. |
| Single-scale approximation | Infer H from one R/S value and an assumed scaling constant. | One point cannot estimate both the slope and intercept. |
| Corrected R/S | Adjust for the expected finite-sample R/S behavior under a reference model. | State the correction, variance divisor and fitted scales. |
| DFA | Fit scaling of fluctuations after removing a polynomial trend from an integrated profile. | Detrending order and stationary versus integrated input affect interpretation. |
| Lo modified R/S test | Adjust the normalization for short-range dependence. | This is a memory test with a lag choice, not a drop-in H slope estimate. |