OPEN-SOURCE SCRIPT

Fear and Greed Index

Aktualisiert
I couldn't find one based on the original, so I made my own, it's not quite identical, but it does the job.

Red = greed
Green = fear

I updated a lot of the subcomponents and fixed a bug. I've reduced the smoothing to 1, it was previously 5 if you prefer smoother signals. Also added a McClellan oscillator.

I've commented out the plotting of individual sub-components, just uncomment them to see what they do. Some look like pretty useful indicators on their own.

Enjoy!
Versionshinweise
Added built in divergence lines and bollinger bands. Made some minor changes.

Regarding the divergence lines, the fear and greed index which this is based on is, apparently, supposed to be a market timing indicator, although it may well be better off being used as a momentum indicator. Because of this I am not certain that the upper divergence lines should be red to indicate bearish divergences and green for bullish ones. Let me know if you have any thoughts about that.
ANDfearfearandgreedfearandgreedindexgreedOscillators

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss