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

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 f.saeidi, Today, 12:14 PM
        0 responses
        1 view
        0 likes
        Last Post f.saeidi  
        Started by giulyko00, Today, 12:03 PM
        0 responses
        4 views
        0 likes
        Last Post giulyko00  
        Started by AttiM, 02-14-2024, 05:20 PM
        12 responses
        213 views
        0 likes
        Last Post DrakeiJosh  
        Started by cre8able, 02-11-2023, 05:43 PM
        3 responses
        238 views
        0 likes
        Last Post rhubear
        by rhubear
         
        Started by frslvr, 04-11-2024, 07:26 AM
        8 responses
        117 views
        1 like
        Last Post NinjaTrader_BrandonH  
        Working...
        X