hugodanielcom

Rebalance Oscillator

hugodanielcom Mis à jour   
Rebalancing is a common strategy to reduce risk and achieve a constant portfolio ratio between two tokens. It shifts between two values in order to keep a static ratio between them as their value oscillates.

However what is less known about rebalancing is that it provides a way to remove the noise from a signal, effectively showing us the points where to buy and to sell.

This works best in highly volatile tickers, between two tokens that are not correlated and show a high std deviation between them (i.e. XTZUSD is a better signal for this than XTZBTC).

The buying bars are marked in blue, and the selling bars are marked in red, in a similar fashion to Trading View strategy orders.
Notes de version:
In this revision the chart is inverted (Top represent sales - red values; Bottom represent buys - blue values).

The code is simpler and uses two libraries.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?