OPEN-SOURCE SCRIPT

Tertiary Oscillator Cloud

Mis à jour
A centered oscillator, with three distinguishing features:
1) Tertiary logic is used to generate an oscillation signal
2) Multiple oscillation signals are displayed at the same time (a cloud of wavy, translucent bands)
3) A single oscillation signal shows the sum total of the individual oscillations

See the comments at the beginning of the script for a complete description.
Notes de version
Default behavior is the same...

Added a "Tertiary Filter" which averages the tertiary output of several bars. User option "Lookback" now defines how many bars to average (back in time), rather than the tertiary output of two bars, separated in time by Lookback bars.

If Lookback is set > 1, the Tertiary Filter brings back some high frequency content to the tertiary results, thus tracking price oscillations closer. Also, it can help bring back the convergence/divergence relationship previously obscured.

Start with Lookback = 2, and see if it helps your interpretation of oscillation results. Changes are more obvious in the "flow" based oscillation types (flow, power, admit, and resist). If Lookback is set too high, an error may occur because the Tertiary Filter is computationally intense.
Centered Oscillatorscloudtertiary

Script open-source

Dans le plus pur esprit 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 nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité