OPEN-SOURCE SCRIPT

KST-Based MACD

Zaktualizowano
As a follow-up to my previous script:
Know Sure Thing + Ribbon

I am posting a stand-alone KST-based MACD.

Note that this indicator is highly laggy. Specific care must be taken when using it.
The MACD-Signal crossing is quite delayed but it is a definite confirmation.

For earlier signs, the Histogram must be analyzed. A shift from Green-White signals the 1st Bear Signal.
A MACD-Signal crossing signals the 2nd Bear SIgnal.
The same applies for bull-signs.

This indicator is useful for long-term charts on which one might want to pinpoint clear, longterm divergences.

Standard RSI, Stochastic RSI and MACD are notoriously problematic when trying to pinpoint long-term divergences.

Finally, this indicator is not meant for pinpointing entry-exit positions. I find it useful for macro analysis. In my experience, the decreased sensitivity of this indicator can show very strong signs, that can be quite laggy.

Inside the indicator there is a setting for "exotic calculations". This is an attempt to make this chart work in both linear/negative charts (T10Y2Y) and log charts (SPX)

Tread lightly, for this is hallowed ground.
-Father Grigori
Informacje o Wersji
Minor code change.
Informacje o Wersji
Added a ribbon, I love that stuff...
Informacje o Wersji
Aesthetic changes.
Informacje o Wersji
Updates in default values to make the indicator more responsive, while keeping it beautiful.
Informacje o Wersji
Added copyright. I love that indicator.
Informacje o Wersji
Now KST is calculated using EMA by default. This is done for increased sensitivity. You can always revert back to SMA.
Know Sure Thing (KST)KSTMoving Average Convergence / Divergence (MACD)Relative Strength Index (RSI)SPX (S&P 500 Index)

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności