Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

High[0] (Low[0] Error CS0021

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

    High[0] (Low[0] Error CS0021

    Hi all,

    I'm trying to code an indicator that uses high[] and low[] in calculations. Nothing very difficult, but I really seem to miss something. I get an CS0021 error everytime I use high[] or low[]. Even when I just set a plot to the high[] value I get the error. I don't get it with Open[] or Close[].

    I tried to add a DateSeries that holds the high (low) value but the calculations don't seem to work.

    I'm thankfull for any help,

    Marco

    #2
    Hello Marco,
    To assist you further please send a toy code* reproducing the scenario to support[AT]ninjatrader[DOT]com

    Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

    I look forward to assisting you further.

    *The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Hi Joydeep,

      Sorry for having bothered you, I found it myself. I used invalid variable names.

      Thanks for your quick reply.

      Marco

      Comment


        #4
        Hello Marco,
        Glad to know you could resolve it.

        Please let me know if I can assist you any further.
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        579 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X