OPEN-SOURCE SCRIPT

HLC MA One Line

HLC MA is a simple Moving Average which compares x period close and hlc3 averages and takes the greater one. So, it's a pretty fast Moving Average. It's also color coded. Green, white, and red used for up trend, possible correction or transition area and down trend, respectively. It's smoothed by using a simple method, color of the indicator only changes when its value higher or lower than its n period earlier value. By doing this, HLC MA manages to be fast and and less prone to false trend changes.
Moving AveragesSimple 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