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

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 adeelshahzad, Today, 03:54 AM
        4 responses
        20 views
        0 likes
        Last Post adeelshahzad  
        Started by merzo, 06-25-2023, 02:19 AM
        10 responses
        823 views
        1 like
        Last Post NinjaTrader_ChristopherJ  
        Started by frankthearm, Today, 09:08 AM
        5 responses
        15 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        43 views
        0 likes
        Last Post jeronymite  
        Started by yertle, Today, 08:38 AM
        5 responses
        16 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X