footlz

Cumulative Volume Delta

This indicator is called Cumulative Volume Delta (CVD), and it is the cumulative difference between buying and selling pressure.
Note, however, that it is not an exact CVD, because Pine Script does not allow you to get the Bid Volume and Ask Volume.

Instead, it uses volume and candlestick length to determine the pressure.
Example: Volume is 100, price change is +1.0% → Buying pressure is 1
  Volume is 100, price change is -0.5% → Selling pressure is 0.5

このインジケーターは、Cumulative Volume Delta(CVD)と呼ばれるもので、買い圧力と売り圧力の差を累積したものです。
しかし、Pine Scriptでは買い圧力と売り圧力(Bid VolumeとAsk Volume)を取得することはできないため、正確なCVDではないことに注意してください。

代わりに出来高とローソク足の長さで圧力を判断判断しています。
例:出来高が100、価格の変動が+1.0% → 買い圧力は1
  出来高が100、価格の変動が-0.5% → 売り圧力は0.5

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?