OPEN-SOURCE SCRIPT
已更新 CVD Signals Overlay

Cumulative Volume Delta — Signals Overlay plots CVD Cross Buy and CVD Cross Sell labels directly on your price chart bars. It is the companion to the CVD Candle Pane script and must be added to the existing price chart pane (not a new pane) so that the labels appear alongside your price action rather than in the sub-pane.
Signal logic. The indicator replicates the identical CVD calculation from the Pane script, then computes a moving average of that CVD. A CVD Cross Buy label fires when the CVD crosses above its MA — indicating that net buying pressure has turned upward relative to its recent average, which often precedes or confirms bullish price moves. A CVD Cross Sell label fires when the CVD crosses below its MA, signaling that net selling pressure is accelerating.
Signal gating — no repainting. Raw CVD/MA crossovers can be noisy, especially during choppy, low-volume periods. The Min Bars Between Signals input (default 10) suppresses a new signal unless the most recent opposite cross occurred at least that many bars ago. This gating is implemented exclusively using ta.barssince, a pure series function in Pine Script v5 that carries no stored state. Because it recalculates identically on every chart render, signals are fully deterministic — they will never shift, move, or disappear when you pan, zoom, replay, or refresh the chart.
Visual elements. A teal upward label marks each CVD Cross Buy signal below the bar. A fuchsia downward label marks each CVD Cross Sell signal above the bar. An optional background flash highlights the signal bar with a translucent color for added visibility. Both label colors and the background flash can be toggled in the settings.
Alerts. Two alert conditions are built in — one for CVD Cross Buy and one for CVD Cross Sell — compatible with TradingView's standard alert system.
Signal logic. The indicator replicates the identical CVD calculation from the Pane script, then computes a moving average of that CVD. A CVD Cross Buy label fires when the CVD crosses above its MA — indicating that net buying pressure has turned upward relative to its recent average, which often precedes or confirms bullish price moves. A CVD Cross Sell label fires when the CVD crosses below its MA, signaling that net selling pressure is accelerating.
Signal gating — no repainting. Raw CVD/MA crossovers can be noisy, especially during choppy, low-volume periods. The Min Bars Between Signals input (default 10) suppresses a new signal unless the most recent opposite cross occurred at least that many bars ago. This gating is implemented exclusively using ta.barssince, a pure series function in Pine Script v5 that carries no stored state. Because it recalculates identically on every chart render, signals are fully deterministic — they will never shift, move, or disappear when you pan, zoom, replay, or refresh the chart.
Visual elements. A teal upward label marks each CVD Cross Buy signal below the bar. A fuchsia downward label marks each CVD Cross Sell signal above the bar. An optional background flash highlights the signal bar with a translucent color for added visibility. Both label colors and the background flash can be toggled in the settings.
Alerts. Two alert conditions are built in — one for CVD Cross Buy and one for CVD Cross Sell — compatible with TradingView's standard alert system.
版本注释
Updated EMA to reset on Globex open开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。