Z-Score for Trailing Linear Regression

Optuma Forums Optuma Scripting Z-Score for Trailing Linear Regression

  • This topic has 2 replies, 2 voices, and was last updated 2 weeks ago by Tim.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #72061
    Tim
    • Topics: 48
    • Replies: 46
    • Posts: 94

    Is it possible to calculate the Z-Score for say a 42 bar trailing liner regression line. The “standard” Z-Score tool only seems to support MA’s.

    Thanks

    Tim

    #72097
    Darren
    • Topics: 76
    • Replies: 1,059
    • Posts: 1,135

    Hi Tim,

    Linear Regressions are classed as drawing tools so I can’t think of an easy way to calculate the Z-Score in a script – but I’m not a mathematician!

    #72099
    Tim
    • Topics: 48
    • Replies: 46
    • Posts: 94

    Hi Darren,

    Me either. I can understand with regards to the Linear Regression tool, where the tool is applied manually, but the Trailing Linear Regression applies to the chart automatically, with the bar properties determining how far back the line extends from the last bar on the chart. As Optuma is calculating the Trailing Linear Regression (much like a MA) I would have thought it could calculate the Z-Score to show how far price is above or below the regression line.

    Anyway thanks for the rely.

    Tim

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest