Bar Color

Here is another indicator.

This indicator is useful from psychological point of view. It has a 20 EMA , which you can change to any value. The color of the candles or the bars will stay green unless and until we have a closing below 20 EMA , where it would give a red bar.
The tool has a great impact on psychology and keeps us in trade irrespective of the candlestick patterns.

Hope you will enjoy
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.

Want to use this script on a chart?