TradesLuci1

Candle Colours and EMA Colours [LuciTech]

TradesLuci1 Uppdaterad   
this indicator assigns a colour to each candle based on the relationship between the price and the EMAs, The indicator first checks whether the close price is above or below the first EMA, If the close price is above the first EMA the candle is coloured green. If the close price inbetween both EMAs the candle is colored gray. If the close price is below the second EMA, the candle is coloured red.

the indicator also colours the EMAs based on the closed price, if closed price is above the EMAs its coloured green and if price is closed below the EMA is coloured red.

The colours of the candles and EMAs can be changed in "style" and the periods of the EMAs can be changed in inputs.
Versionsinformation:
Made the colours more vibrant (grey replaced with purple).

added another EMA with 3rd now being invisible so you can adjust the length of the purple candle (purple candles meaning neutral in market direction)
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?