OPEN-SOURCE SCRIPT

fartbomb

174
LinReg fit (history): solid line showing the best-fit linear trend over the last len bars.

Projected offset (visual): same line shifted h bars right so you can see direction.

Future projection (segments): the actual next-h forecast, drawn from the last bar.

Forecast made h bars ago: circle at each bar’s target showing what was predicted h bars earlier.

H / X markers: a hit if that earlier forecast fell inside the bar’s high–low range.

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.