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 gentlebenthebear, Today, 01:30 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by Aviram Y, Today, 05:29 AM
        2 responses
        7 views
        0 likes
        Last Post Aviram Y  
        Started by cls71, Today, 04:45 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by TradeForge, Today, 02:09 AM
        1 response
        23 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by elirion, Today, 01:36 AM
        2 responses
        14 views
        0 likes
        Last Post elirion
        by elirion
         
        Working...
        X