barnabygraham

Fear and Greed Index Candlesticks

This colours the candlesticks based on my 'Fear and Greed Index'.

All calculations are explained in the code.

The index is mainly based upon the components of the popular fear and greed index website. I've annotated the components in the code for you to look at.

If you're interested, you can replace the final variable 'Total' (within the 'barcolor' function at the very end) with any of the final outputs of the subcomponents to see the results of that single part.

Red = Greed
Green = Fear

Enjoy!

Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?