This Pine Script™ is designed for traders seeking advanced statistical analysis based on autoregressive (AR) models, with automatic filtering of significant lags according to a customizable confidence threshold.
Key Features:
AR(p) Model with Significance Filtering: Only statistically significant lags (based on the selected confidence level) are included in the model calculations. Coefficient Weighting Options: Uniform weighting. Weighting based on the t-statistic. Visualization of Key Indicators: Dynamic plotting of autoregressive values, upper and lower bounds (based on standard deviation). Buy ("Buy") and Sell ("Sell") signals when values exceed the defined bounds. Robust Analysis: Calculation of statistical parameters: T-stat, p-value, skewness, kurtosis, r², and the Jarque-Bera test to assess the robustness and normality of residuals. Summary of results displayed in a visual table for simplified interpretation. Interactive Tables: Display of lags, coefficients, t-statistics, p-values, and their significance via a dynamic table. Overall robustness indicator and interpretation of results ("Good," "Non-significant," etc.). Easy Customization: Adjustable confidence level (90% to 99%). Configurable lengths for moving average and standard deviation to fine-tune signal thresholds.
Benefits for Traders: Effortless Analysis: Automatically identifies significant relationships between past and present values, removing unnecessary assumptions. Enhanced Accuracy: Filters signals based on rigorous statistical criteria to avoid false signals. Clear Visualization: Interactive tables and plots to quickly understand critical parameters.
Default Configuration: Confidence level: 95%. Lag weighting: Uniform. Moving average length: 20 periods. Standard deviation length: 15 periods. Usage Recommendations: Ideal for analyzing volatile assets or identifying potential reversal zones. Use alongside other indicators to confirm signals.
Skrip sumber terbuka
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Combining technical expertise with analytical precision.
Gaining experience and growing in the field.
📧 Contact: from the website
Juga pada:
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.