racer8

Baseline Summation [racer8]

racer8 Updated   
Baseline Summation is a trend indicator that takes the summation of the true ranges above the current close and subtracts that from the summation of the true ranges below the current close over 30 periods back. The result is then smoothed out with a smoothing parameter and plotted. Green means buy, red means sell. Enjoy :)
Release Notes:
Added feature that colors price bars according to indicator.
Release Notes:
...
Baseline Summation has now been simplified from 123 lines to 29 lines of code.
And finally, the Baseline Summation parameter is no longer fixed at 35 period lookback...it can be changed to whatever the user prefers.
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?