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!

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 ?