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 CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        32 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        184 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        342 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        264 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X