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

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

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!

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