PROTECTED SOURCE SCRIPT
FRACTAL-LAB

Advanced fractal analysis suite for detecting market memory and deviations from random walk behavior.
Features:
Hurst Exponent proxy via variance scaling with dynamic confidence intervals
DFA-Lite (two-scale Detrended Fluctuation Analysis)
Lo-MacKinlay Variance Ratio test
Volatility memory analysis on |returns|
Quality scoring system (A-F grades)
Regime classification: Persistent / Random Walk / Anti-Persistent
Interpretation:
H > 0.55 → Trending behavior (momentum)
H ≈ 0.50 → Random walk (no predictability)
H < 0.45 → Mean-reverting behavior
Important:
Screening tool only — validate results in Python/R
Does not test for short-range dependence (Lo, 1991)
Recommended sample size: N ≥ 300 bars
NOT a trading system — for research and education only
References: Hurst (1951), Lo & MacKinlay (1988), Peng et al. (1994)
Features:
Hurst Exponent proxy via variance scaling with dynamic confidence intervals
DFA-Lite (two-scale Detrended Fluctuation Analysis)
Lo-MacKinlay Variance Ratio test
Volatility memory analysis on |returns|
Quality scoring system (A-F grades)
Regime classification: Persistent / Random Walk / Anti-Persistent
Interpretation:
H > 0.55 → Trending behavior (momentum)
H ≈ 0.50 → Random walk (no predictability)
H < 0.45 → Mean-reverting behavior
Important:
Screening tool only — validate results in Python/R
Does not test for short-range dependence (Lo, 1991)
Recommended sample size: N ≥ 300 bars
NOT a trading system — for research and education only
References: Hurst (1951), Lo & MacKinlay (1988), Peng et al. (1994)
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Institutional-grade diagnostics: GARCH, HMM Regimes, Cointegration, Microstructure, Fractal Analysis | Research only
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Institutional-grade diagnostics: GARCH, HMM Regimes, Cointegration, Microstructure, Fractal Analysis | Research only
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.