TradingStrategyCheck

EMA deviation & Range with barcolor change

This indicator includes an EMA, a range and outer lines similar to the Bollinger Bands, but with a different calculation (which also becomes apparent once you compare the two). This indicator fits very well with the EMA pullback strategy.

The color of the candles changes depending on where it is located.
Above the EMA - green
Below it - red
Inside the range - black

All colors as well as lines are customizable under the Style tab.
The "Deviation" can be set to 0, here there are only slight deviations.
The EMA range can be adjusted in 0.1 steps to achieve the highest possible accuracy of the pullbacks.

If you have any questions, please don't hesitate to contact me.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?