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

StdError problem.

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

    StdError problem.

    i was checking out stderror bands.
    i thought about incorporating the idea.

    i realized i could use "StdError"
    however when i plot StdError(Input,period)
    the plot is exactly = LinReg.

    is it safe to assume this is an error?

    #2
    Hello JCrown,

    Thanks for your post.

    The description of the indicator (in the indicators panel, upper pane, left click on Std. error to select, then left click on the "i" above to show) "Standard Error shows how near prices go around a linear regression line. The closer the prices are to the linear regression line, the stronger is the trend."

    It is expected that the center line of the StdError indicator would match a similar period LinReg indicator.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      i think you misunderstand me. im not talking about the indicator.

      im talking about ninjascript when i use StdError in another indicator. standard error should be the distance between the LinReg and the bands, just like StDev. It should not plot LinReg. could you guide me on how to code a standalone stderror just like stdev so i could just plug the calculation into other indicators and if i want standard error bands ill just make a linreg + stderror sort of scenario?

      Comment


        #4
        Hello JCrown,

        Thanks for your reply.

        Yes, you can use either of the overloads shown here:

        Returns upper value
        StdError(int period).Upper[int barsAgo]
        StdError(ISeries<double> input, int period).Upper[int barsAgo]

        Returns lower value
        StdError(int period).Lower[int barsAgo]
        StdError(ISeries<double> input, int period).Lower[int barsAgo]

        Please see the helpguide here for reference: https://ninjatrader.com/support/help...r_stderror.htm
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          nvm i found a solution
          Last edited by JCrown; 11-16-2017, 02:42 AM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by jclose, Today, 09:37 PM
          0 responses
          4 views
          0 likes
          Last Post jclose
          by jclose
           
          Started by WeyldFalcon, 08-07-2020, 06:13 AM
          10 responses
          1,413 views
          0 likes
          Last Post Traderontheroad  
          Started by firefoxforum12, Today, 08:53 PM
          0 responses
          10 views
          0 likes
          Last Post firefoxforum12  
          Started by stafe, Today, 08:34 PM
          0 responses
          10 views
          0 likes
          Last Post stafe
          by stafe
           
          Started by sastrades, 01-31-2024, 10:19 PM
          11 responses
          169 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X