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 de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?