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.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?