Alex_K13

Custom Candle Body Color and EMA Crossover Indicator

We determine if the price is below EMA 9 by comparing the close price with EMA 9.
We determine if the current candle body is huge compared to the previous candle's body.
We plot EMA 9 in black color and EMA 200 in green color.
We plot blue triangles below the bars for EMA crossover above and red triangles above the bars for EMA crossover below.
We set the color of the candle body to red if the price is below EMA 9 and to green if the price is above EMA 9, only when the current candle body is huge compared to the previous candle's body.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?