OPEN-SOURCE SCRIPT

Sell / Buy Rates

Updated
This script finds sell / buy rates and adds its linear regression to the chart. its aim is finding buying and selling power, then you can try to find trend reversals. Also you can find divergences, it's very important signal for trend reversal.

Linear regression is a basic and commonly used type of predictive analysis.

if you choose lower periods then it will be more sensitive. I choose 34 as it's one of fibonnaci number.


If you find my works useful, please consider a donation
BTC: 16XRqyS3Vgh1knAU1tCcruqhUrVm4QWWmR

Release Notes
Shorter code and some improvements
buybuysignalMoving AveragesSELLsellsignalTrend AnalysisVolume

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