Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Standard Error returns Linear Regression line???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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:

    StdError(periodValue).Upper[0]
    StdError(periodValue).Lower[0]
    I will update our documentation on the next release.

    Ray

    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      Thank you for the help. I'm really liking what I'm seeing so far in NinjaTrader.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by f.saeidi, Today, 12:14 PM
      0 responses
      1 view
      0 likes
      Last Post f.saeidi  
      Started by giulyko00, Today, 12:03 PM
      0 responses
      4 views
      0 likes
      Last Post giulyko00  
      Started by AttiM, 02-14-2024, 05:20 PM
      12 responses
      213 views
      0 likes
      Last Post DrakeiJosh  
      Started by cre8able, 02-11-2023, 05:43 PM
      3 responses
      238 views
      0 likes
      Last Post rhubear
      by rhubear
       
      Started by frslvr, 04-11-2024, 07:26 AM
      8 responses
      117 views
      1 like
      Last Post NinjaTrader_BrandonH  
      Working...
      X