Editors' picks
OPEN-SOURCE SCRIPT

Average Force

Updated
Average Force is an oscillator that calculates sentiment, then smooths the result to produce a nice indicator for determining the trend.
Release Notes
Indicator values are now multiplied by 100. Enjoy ;)
Release Notes
Added short title: "AF"
Added name for parameter 1: "Period"
Added name for parameter 2: "Smooth"
Special thanks to midtownsk8rguy for suggesting these names.
Release Notes
This new script is fool proof now thanks to midtownsk8rguy.
He told me in private chat how its possible for highest - lowest = 0 to occur.
This is bad because of the formula: (close - lowest)/(highest - lowest).
The denominator would equal 0...very bad indeed, so his new script he proposed to me fixes this problem.
OscillatorsTrend 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?

Disclaimer