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

My regular problem...

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

    My regular problem...

    Again...the manual is useless to me.

    When I try to do anything the f#$%$#ig thing says, it get errors...none of the examples are written or explained clearly

    pic 1: what the manual says to do

    pic 2: when I try to do what the manual says...i get errors.


    Grrr.....
    Attached Files

    #2
    Hello Darth_Trader,

    Thank you for your post.

    Notice the use of Closes, Highs, Lows, Opens, not Close, High, Low or Open. When referencing price data for the multiple series scripts you need to pluralize the name. So instead of Close[0], I would say Closes[0][0] for the current bar close of the primary bar series, Closes[1][0] for the secondary, and Closes[2][0] for the third bar series.

    I recommend reviewing the information at the following link for more details: http://ninjatrader.com/support/helpG...nstruments.htm

    Please let me know if you have any questions.

    Comment


      #3
      Originally posted by Darth_Trader View Post
      Again...the manual is useless to me.

      When I try to do anything the f#$%$#ig thing says, it get errors...none of the examples are written or explained clearly

      pic 1: what the manual says to do

      pic 2: when I try to do what the manual says...i get errors.


      Grrr.....
      It can get really frustrating, can it not? Especially when we do not do what the "f#$%$#ig thing says", no?

      Highs is not the same as High, etc.

      Comment


        #4
        Originally posted by koganam View Post

        Highs is not the same as High, etc.
        I'll have to check later, but as a recommendation if not already done, the documentation that uses Highs/plurals should also contain a warning/info notice/reference link to the multi instrument page.

        Comment


          #5
          LOL...YES IT IS quite frustrating.

          I was dead tired and looking at that thing for nearly 45 minutes with zero clue how it wasn't working.

          Not seeing the plural is kinda embarrassing, but why wouldn't the error message at least suggest something like that?

          While I understand and appreciate it's my fault for not seeing the plural, this also sort of proves my point that the manual/error codes didn't help me find the problem myself.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by techgetgame, Today, 11:42 PM
          0 responses
          6 views
          0 likes
          Last Post techgetgame  
          Started by sephichapdson, Today, 11:36 PM
          0 responses
          1 view
          0 likes
          Last Post sephichapdson  
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,612 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          9 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          19 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Working...
          X