Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Std Error ()

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

    Std Error ()

    This indicator did not work for me. Maybe it was a simple mistake on my part. But it looks to me that the for loop on line 58: for (int count = 0; count < Period && CurrentBar - count >= 0; count++) might be missing its subsequent curly braces.
    Last edited by Jan Gullett; 08-05-2011, 07:04 AM.

    #2
    Jan Gullett,

    Thank you for your post.

    Was this an indicator you were working on, or was it developed by someone else? Are you receiving an error when compiling? If so, what is the exact compile error you are receiving?
    MatthewNinjaTrader Product Management

    Comment


      #3
      @StdError. Isn't that a standard NinjaTrader Indicator? Anyway, it didn't want to compile when I called from another indicator to operate on my DataSeries so I looked at the code. I copied a version into the calling indicator, added the braces and it seems to work fine in the new indicator. So I am fine, but thought you might want to look at the code for others. Thanks!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      129 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      74 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      116 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      111 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      89 views
      0 likes
      Last Post CarlTrading  
      Working...
      X