racer8

Average Force

racer8 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.
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?