RafaelZioni

Back to the Future

Hallo, very simple indicator in order to view trends
we have two linear regressions
one is the regular one that we know at length 100
the other one is lagging or past linear which is shorter at length 30
the basic idea is that when we combine both we can see trend of the current and the past linear when they cross each other and from this we can make signals.
Assuming that past shorter trend has the value of resistance or threshold values, so cross of current linear of those points can show if the trend is to buy or to sell by signals seen in the arrows .
So past and present mix and give us the future.
need to solve issue when market goes sideways but it easy to see how the trend look by the signals .
past linear seen in concave lines the current is the other one.
signals of positive trends are arrow up green or blue. negative trend red or orange arrow down

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?