OPEN-SOURCE SCRIPT

Klinger Oscillator Advanced

Telah dikemas kini
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.
Nota Keluaran
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)

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian