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 sjsj2732, Yesterday, 04:31 AM
        0 responses
        33 views
        0 likes
        Last Post sjsj2732  
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        286 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        284 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        133 views
        1 like
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        91 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Working...
        X