OPEN-SOURCE SCRIPT

Open Close Trend

Updated
This is a simple trend indicator that gives you a few options on how to view the data. The way this works is it takes the open, close, high and low and it smooths them with an exponential moving average. Next we smooth a bit with a simple moving average to clear up the data. Finally we normalize everything to the average high and low. With this you can compare the average closing price to the average opening price. If the closing price is greater than the opening price then it is in an up trend and visa versa. You can also find reversals by looking for divergences. I have included a few features in this script including: Normalization, 200ma centering, Background color divergence convergence, histogram to see convergence divergence, and custom colors. I hope you all enjoy this simple release! I know I had fun making this.
Release Notes
Added a feature to let you scale the hist instead of normalizing it.
Release Notes
hot fix
Release Notes
Added ma select and confirmation dots
Release Notes
fixed smoothing glitch
Bands and ChannelsOscillatorsTrend Analysis

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