Hello!
On must platforms, there is a way to know the value of a certain iteration from a linear regression calculation, on some platforms like AmiBroker this is called by Linregintercept function, in tradingview by offset as defined in the same linreg(array,lenght,OFFSET) function.
ProRealCode currently plots the last pont of the linreg. What should we do for calculate, for example, from a 30 period linreg, the value of the 21’st period (9 periods offset back from last point) and then plot the MA generated..?
Thanks in advance!