TradingView
LonesomeTheBlue
11 เมษา 2019 เวลา 8 นาฬิกา 8 นาที

Sell / Buy Rates 

Bitcoin / DollarBitfinex

คำอธิบาย

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

เอกสารเผยแพร่

Shorter code and some improvements
ความคิดเห็น
kvinayaks
Could you please say what do the colors mean
Green
Dark Green

Red
Dark Red
?
SUN0303
everget
Mate, you can simplify a life with:

tw = high - max(open, close)
bw = min(open, close) - low
body = abs(close - open)

_rate(cond) => 0.5 * (tw + bw + (cond ? 2 * body : 0)) / (tw + bw + body)

uprate = _rate(open <= close)
downrate = _rate(open >= close)

and add precision=0 to study() to avoid big numbers (see AAPL)
LonesomeTheBlue
@everget, thanks mate, OK I'm gonna make it shorter ;)
Geekyavi
@everget, @LonesomeTheBlue 2 pros who rule trading view.
muratmch
Can ı use this indikator?
kasirao
the graph not showing on my computer display
Mshaswat
@LonesomeTheBlue : Thanks for sharing the indicator,I appreciate your hard work.
Could you please suggest, which indicator you used in the main chart for showing the ARROW [Green & Red]
electricalDove59187
The graph is not displaying in my trading view
ViperFutures
Thank you Sir! I am no coder but I have a good backtest done here with this and think this may help scalp the Micro NQ pretty well. I will keep you posted. If you have recommendations I am all ears. And thank you for the dedicated work sir! From Austin TX USA!
เพิ่มเติม