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 Jonker, 04-27-2024, 01:19 PM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by businessman1929, 04-29-2024, 01:28 PM
        2 responses
        21 views
        0 likes
        Last Post businessman1929  
        Started by bltdavid, 03-27-2023, 05:32 AM
        18 responses
        347 views
        0 likes
        Last Post ETFVoyageur  
        Started by NM_eFe, Today, 05:15 PM
        0 responses
        5 views
        0 likes
        Last Post NM_eFe
        by NM_eFe
         
        Started by vitaly_p, Today, 05:09 PM
        0 responses
        7 views
        0 likes
        Last Post vitaly_p  
        Working...
        X