Linear Regression Intercept ?

Forums ProRealTime English forum ProBuilder support Linear Regression Intercept ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • #44994
    xel

    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!

    #71368

    Hi xel,
    Are you still interested or is it already obsolete?

     

    #71463

    Hi Vagus, do you have any answer to the Xel question? Even if he doesn’t respond, any given reply would be of interest for future purpose, thank you.

    #71526

    Hi Nicolas,
    I am currently working on that topic but I am still struggling with an inaccuracy. In the following lines you can see that the line of Linear Regression made by coding is not the same as made with the function of the ProRealTime Toolbar. The lines starts at the same point[1] but ends at different values. If you vary the depth of calculation the mistake also varies.

     

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login