Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Standard Error returns Linear Regression line???
Collapse
X
-
Standard Error returns Linear Regression line???
I am new at NT. I am calling StdError from within OnBarUpdate but I am not getting the Standard Error. It appears to be returning the linear regression value that the Standard Error indicator uses. I have sent it to an output window and I am not getting standard error values. Can you comment on this please? I am happy to calculate the standard error myself but maybe there is something that I am not understanding in Ninja Script. Does StdError return multiple values in something like a structure that I need to access? Thanks.
Tags: None
-
imported post
Correct. The default value of Standard Error is LinReg. I just realized that our Help Guide section on this indicator is not complete.
You can access values for this indicator:
I will update our documentation on the next release.StdError(periodValue).Upper[0]
StdError(periodValue).Lower[0]
Ray
RayNinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
568 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
548 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment