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 jeronymite, 04-12-2024, 04:26 PM
          3 responses
          40 views
          0 likes
          Last Post jeronymite  
          Started by bill2023, Today, 08:51 AM
          2 responses
          16 views
          0 likes
          Last Post bill2023  
          Started by sidlercom80, 10-28-2023, 08:49 AM
          167 responses
          2,260 views
          0 likes
          Last Post jeronymite  
          Started by warreng86, 11-10-2020, 02:04 PM
          7 responses
          1,362 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by Perr0Grande, Today, 08:16 PM
          0 responses
          5 views
          0 likes
          Last Post Perr0Grande  
          Working...
          X