Gabbo1064

Triple SWMA + EMA Crossover Color Candle+ ADX Color Candle V2

Gabbo1064 Uppdaterad   
! IMPORTANT !
To better see the color of the bars I suggest you deactivate the Borders option in the chart settings / Symbol, LIKE THIS:

════════════════════════════════════════════════════════════════════════════════════════════════════════════════════

The indicator is the same as the previous version, with the only difference that now the indicator is composed of an addition of secondary candles colored according to the EMA cross, while the main candles based on the ADX, the SWMA are inserted into secondary candles

════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
  • 1) SWMA
There are 3 SWMA , with the possibility of modifying the Source and the length of each one, also each SWMA can be removed or can all of them be removed with the ON / OFF option in Inputs-STYLE. (ALL SWMA?)

════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
  • 2) EMA Fast and Slow, Cross

There are two EMAs, fast and slow, both with the possibility of changing the source and length, in the chart settings it is possible to change the color of EMA Long and EMA Short:
  • EMA Long = Ema Fast > Ema Slow
  • EMA Short = Ema Slow > Ema Fast
Ema cross has a style choice option, the possible choices are:
  • NONE = nothing
  • ALL = all choices
  • LINE = ema200 colored based on Ema Long-Short
  • BAR COLOR = color candles based on Ema Long-Short
  • PLOTSHAPE = signals based on Ema Long-Short
  • LINE + BAR COLOR = line + bar color
  • BAR COLOR + PLOTSHAPE = bar color + plotshape

════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
  • 3) ADX Candle

The candles are colored according to 4 inputs:
  • Color 1 ( Silver ) = ADX < 20
  • Color 2 (Black) = ADX cross-ADX Index (adx+adx 14 period back) / 2
  • Color 3 (Lime) = ADX > 0 and DI delta (DI plus - DI minus) > 0
  • Color 4 (Red) = ADX > 0 and DI delta (DI plus - DI minus) < 0

all colors are editable and if you don't want to have ADX Candle on the chart, just remove the ON / OFF option in Inputs-STYLE. (BAR COLOR ADX )





Versionsinformation:
Added variable time frame for EMA cross
Versionsinformation:

Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
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?