Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Barnumber

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

    Barnumber

    If I want to reference a particular bar is there a barnumber / barindex that I can go to or do I have to make my own index as such?

    2nd point - sugggestion really. More help/ samples required and a much bigger dictionary of NinjaScript/C# words. eg looking up Math.Round reveals absolute zero. It's like walking through treacle for us newbie people trying to learn how to code.
    I have begun to decipher some of the samples on the forum but every now and again I am just stumped. Very frustrating.

    #2
    Please try CurrentBar.

    As far as resources for the C# aspect of documentation, we suggest you head over to MSDN. They have every C# property and method documented very well there. There is no way we can cover the whole breadth of C# with our own documentation, especially when it is already so well documented by Microsoft.

    Rounds a value to the nearest integer or to the specified number of fractional digits.


    Also, google is a great resource for general programming.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Follow up

      Appreciate the comments Josh..
      As a programmer you don't look at things with my "non programming" eyes.
      I don't expect all of the more esoteric commands and references to be available in the help (MSDN is good for that) - but Math.Round? - seems basic and something every trader would use. That's just an example there are dozens of others. It makes the learning process so slooooooow.
      I'm not having a go just trying to pass on something that would help if you are trying to make NT more user friendly.

      Comment


        #4
        Thank you for the suggestion. I will put them on the list of future considerations.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        571 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        330 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        549 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        549 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X