Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

References/Explanations of NT methods/classes?

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

    References/Explanations of NT methods/classes?

    Hi there,

    At one point during my exploration of NT coding in C#, I found a forum thread (forget where) that explained what to call if you wanted the output window to show at the beginning of the strategy. The following code illustrates this:

    Code:
    protected override void OnStartUp() 
    		{
    			//  Show the output window on startup
    			NinjaTrader.Gui.Globals.OutputWindow.Show();
    		}
    My question is: Is there an online resource for NT that outlines all the options in a method/class as referenced above? Usually, I'll just do a bit of self-discovery in the code editor by typing 'NinjaTrader.Gui.' Then, I'll scan different options that pop-up in the context window next to my cursor. Still, I'd like an exhaustive reference if there is one.

    Any direction or reference URL's would be much appreciated!

    Yours,
    Spider

    PS - I've looked in the NT 7 Help Guide, but it doesn't include things like the Output window appearing on startup, or the other options within NinjaTrader.Gui.Globals.

    #2
    Spiderbird,

    Unfortunately this is considered an unsupported method, as such there wouldn't be any documentation on it really outside the support forum or BigMikes Trading forum.

    You could used something like Visual studio however to look at some things in memory while your code executes and learn more about it, as well as the self-discovery method you described (called intellisense).
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Adam!

      Is there an alternative to Visual Studio for visualizing the code execution while in memory? I'd like to take advantage of a VS-viewer rather than install that beast on a free PC.

      - Spider

      Comment


        #4
        Spiderbird,

        Actually yes, I use SharpDevelop.

        ICSharpCode has 20 repositories available. Follow their code on GitHub.


        If you attach your code to the NinjaTrader.exe process you can basically set some breakpoints and "Stop" the execution of the indicator at that point. You won't see it plot on your chart, but you can then view all the objects, etc. in memory and sort of see how things are structured at that one point in your code. I had to use that to figure some stuff out in the past.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          Great, I'll check that out. Thanks again!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          571 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          330 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          549 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          549 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X