TradingView
RafaelZioni
19 Th02 2019 15:40

Linear regression slope as SAR 

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

Mô tả

This model calculate the slope of the linear regression and give you the uptrend or the down trend of the slope

red line are downtrend and green line are up trend
using len 1 you can make it longer or shorter (I put it on length of 40 but you can change that to what ever you want )
Similar to SAR it can give us the trends of buy and sell only by doing it by the linear way

try longer length to see if it smooth the signal

4 hour graph

Phát hành các Ghi chú

add color zone for berish and bullish area as option
Bình luận
jonas_y_la_ballena
I've been testing it in 1min MES and love it. Very accurate.
AltJams
Very cool, thanks for sharing.
RafaelZioni
@wroclai, Thanks, I think with real PSAR it can complement it, but I need to think on away to do it
AltJams
@RafaelZioni, I look forward to what you can cook up. I did compare this with your PSAR and I think they could compliment each other well, too. good luck!
RafaelZioni
@wroclai,
as you see here
costellomari
@RafaelZioni, How would we make an alert on the change from red to green etc? Mine seems to throw false alerts.. your help would be much appreciated.
Thêm nữa