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. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الرمز في المنشور يخضع لقواعد‎‎قوانين الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟

إخلاء المسؤولية