OPEN-SOURCE SCRIPT

Trend Candles

Updated
This indicator uses simple moving average and exponential moving average to calculate the trend of the symbols.

If the trend is BULL, the bars' color will be lime(green).

If the trend is BEAR, the bars' color will be black.

Otherwise, the bars' color will be gray.

Enjoy it!
Release Notes
Adding alert when candle turns green or black.
Exponential Moving Average (EMA)Simple Moving Average (SMA)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer