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

Is any complete document about data model used in Ninjascript ?

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

    Is any complete document about data model used in Ninjascript ?

    Subj themself History of my problem: reading Help I found information about Positions... Excellent, I thought. Now I can write an indicator, which will show info about current status of all my positions and orders... but I was wrong. Simply add Positions[0] to the new indicator script always return error. Oh, I see... I must add corresponding "using" where it described, but... which one?! There no any mention about this in help (or may be I not find it yet). So question: is the any (except internal Help system) full description of "data model" using in Ninjatrader? The complete list of all classes, its members and methods, etc...

    #2
    zencoder, accessing positions is only possible from a NinjaScript strategy and this would only include positions the strategy is managing itself. The complete language reference of NinjaScript is found in our help guide under the 'NinjaScript' entry, you can access it easily via F1 pressed in your NS editor.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      The complete language reference of NinjaScript is found in our help guide under the 'NinjaScript' entry, you can access it easily via F1 pressed in your NS editor.
      Thanks for reply. But my question was not about abstract obtaining help from internal system
      I need a simple list of namespaces, classes, its properties and methods with arguments list which is used NinjaScript engine.

      Something like here in msdn.

      As far as I see there is nothing except Help and this Forum? Is this correct?

      Comment


        #4
        That's correct, the best reference of our documented NS methods would be - http://www.ninjatrader.com/support/h..._reference.htm

        Other more advanced resources are our tips and reference samples here on the forums - http://www.ninjatrader.com/support/f...splay.php?f=29
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          That's correct, the best reference of our documented NS methods would be - http://www.ninjatrader.com/support/h..._reference.htm
          This is simple online version on local offline Help system. No any additional information.

          Other more advanced resources are our tips and reference samples here on the forums - http://www.ninjatrader.com/support/f...splay.php?f=29
          This is examples, but not documentation...

          Thanks once more. The only way left - is self-study on self-errors ))

          Comment


            #6
            To get started in our NinjaScript, those tutorials would be the best place - http://www.ninjatrader.com/support/h.../tutorials.htm

            Then gradually build on those concepts and check into the reference samples I linked you in my prior post. This will give you a good solid foundation for custom work.

            There are also lots of readymade custom scripts available from users in our sharing section that you can study and modify for your use :

            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by algospoke, Yesterday, 06:40 PM
            2 responses
            21 views
            0 likes
            Last Post algospoke  
            Started by ghoul, Today, 06:02 PM
            3 responses
            14 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            45 views
            0 likes
            Last Post jeronymite  
            Started by Barry Milan, Yesterday, 10:35 PM
            7 responses
            21 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by AttiM, 02-14-2024, 05:20 PM
            10 responses
            181 views
            0 likes
            Last Post jeronymite  
            Working...
            X