OPEN-SOURCE SCRIPT

Klinger Oscillator Advanced

已更新
The Klinger Oscillator is not fully implemented in Tradeview. While the description at de.tradingview.com/chart/?solution=43000589157 is complete, the implementation is limited to the pure current volume movement. This results in no difference compared to the On Balance Volume indicator.

However, Klinger's goal was to incorporate the trend as volume force in its strength and duration into the calculation. The expression ((V x [2 x ((dm/cm) - 1)] x T x 100)) for volume force only makes sense as an absolute value, which should probably be expressed as ((V x abs(2 x ((dm/cm) - 1)) x T x 100)). Additionally, there is a need to handle the theoretical possibility of cm == 0.

Since, in general, significantly more trading volume occurs at the closing price than during the day, an additional parameter for weighting the closing price is implemented. In intraday charts, considering the closing price, in my opinion, does not make sense.

The TradeView implementation is displayed on the chart for comparison. Particularly in the analysis of divergence, significant deviations become apparent.
版本注释
The Klinger Oscillator is not fully implemented in Tradeview. While the description at de.tradingview.com/chart/?solution=4... is complete, the implementation is limited to the pure current volume movement. This results in no difference compared to the On Balance Volume indicator.

However, Klinger's goal was to incorporate the trend as volume force in its strength and duration into the calculation. The expression ((V x x T x 100)) for volume force only makes sense as an absolute value, which should probably be expressed as ((V x abs(2 x ((dm/cm) - 1)) x T x 100)). Additionally, there is a need to handle the theoretical possibility of cm == 0.

Since, in general, significantly more trading volume occurs at the closing price than during the day, an additional parameter for weighting the closing price is implemented. In intraday charts, considering the closing price, in my opinion, does not make sense.

The TradeView implementation is displayed on the chart for comparison. Particularly in the analysis of divergence, significant deviations become apparent.

Update
Deleting debugging info's an renew the char
CyclesOn Balance Volume (OBV)

开源脚本

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

想在图表上使用此脚本?

免责声明