OPEN-SOURCE SCRIPT
Adaptive Nexus Line

Adaptive Nexus Line
Overview
The Adaptive Nexus Line is not just another moving average. It's a next-generation, composite indicator designed to provide a comprehensive and visually intuitive baseline for trend analysis and momentum.
At its core, the Adaptive Nexus Line synthesizes a "cluster" of multiple moving averages into a single, cohesive line. This "average of averages" approach reduces market noise and provides a more stable and reliable representation of the trend than a traditional, single MA. The name reflects its core strengths: "Adaptive" for its intelligent Kalman filter smoothing, and "Nexus" because it serves as a central point, bringing together a wide array of moving average types.
________________________________________
Key Features
• Composite Engine: Instead of a single MA, the Adaptive Nexus Line averages a user-defined cluster of MAs (e.g., 20 MAs with lengths from 5 to 105). This significantly smooths out price action and reduces false signals.
• Universal MA Selection: The engine supports a comprehensive suite of moving average types, including SMA, EMA, WMA, HMA, VWMA, RMA, ZLMA, and ZMA.
• Momentum Gradient: The indicator's most unique feature is its visual momentum coloring. The line smoothly transitions from red (bearish momentum) through yellow (neutral/indecision) to green (bullish momentum) based on the real-time ratio of rising vs. falling MAs within the cluster.
• Change-Point Signals: A white dot is plotted at the very start of a color change, and a yellow dot is plotted at the end, providing clear signals of potential shifts in momentum.
• Multi-Timeframe (MTF) Support: View the Adaptive Nexus Line from any timeframe directly on your current chart (e.g., plot the 4H line on a 15m chart) to get a better perspective of the higher-level trend.
• Adaptive Kalman Filter: An optional, switchable Kalman filter is included to provide an additional layer of intelligent, adaptive smoothing to the final output line. Its sensitivity is fully adjustable.
________________________________________
Settings Explained
• Moving Average Settings: Control the core engine. Choose your preferred MA Type, the Number of MAs in the cluster, the Start Length, and the Step between lengths.
• Time Frame: Set the indicator to a higher timeframe for a broader market view. Leave blank to use your chart's current timeframe.
• Kalman Filter Settings: Toggle the Use Kalman Filter on or off. Adjust the Kalman Smoothing Period (higher = smoother) to fine-tune the adaptive smoothing to your preference.
Overview
The Adaptive Nexus Line is not just another moving average. It's a next-generation, composite indicator designed to provide a comprehensive and visually intuitive baseline for trend analysis and momentum.
At its core, the Adaptive Nexus Line synthesizes a "cluster" of multiple moving averages into a single, cohesive line. This "average of averages" approach reduces market noise and provides a more stable and reliable representation of the trend than a traditional, single MA. The name reflects its core strengths: "Adaptive" for its intelligent Kalman filter smoothing, and "Nexus" because it serves as a central point, bringing together a wide array of moving average types.
________________________________________
Key Features
• Composite Engine: Instead of a single MA, the Adaptive Nexus Line averages a user-defined cluster of MAs (e.g., 20 MAs with lengths from 5 to 105). This significantly smooths out price action and reduces false signals.
• Universal MA Selection: The engine supports a comprehensive suite of moving average types, including SMA, EMA, WMA, HMA, VWMA, RMA, ZLMA, and ZMA.
• Momentum Gradient: The indicator's most unique feature is its visual momentum coloring. The line smoothly transitions from red (bearish momentum) through yellow (neutral/indecision) to green (bullish momentum) based on the real-time ratio of rising vs. falling MAs within the cluster.
• Change-Point Signals: A white dot is plotted at the very start of a color change, and a yellow dot is plotted at the end, providing clear signals of potential shifts in momentum.
• Multi-Timeframe (MTF) Support: View the Adaptive Nexus Line from any timeframe directly on your current chart (e.g., plot the 4H line on a 15m chart) to get a better perspective of the higher-level trend.
• Adaptive Kalman Filter: An optional, switchable Kalman filter is included to provide an additional layer of intelligent, adaptive smoothing to the final output line. Its sensitivity is fully adjustable.
________________________________________
Settings Explained
• Moving Average Settings: Control the core engine. Choose your preferred MA Type, the Number of MAs in the cluster, the Start Length, and the Step between lengths.
• Time Frame: Set the indicator to a higher timeframe for a broader market view. Leave blank to use your chart's current timeframe.
• Kalman Filter Settings: Toggle the Use Kalman Filter on or off. Adjust the Kalman Smoothing Period (higher = smoother) to fine-tune the adaptive smoothing to your preference.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。