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 Belfortbucks, Today, 09:29 PM
        0 responses
        6 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Working...
        X