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

Set settings by script

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

    Set settings by script

    Is it possible to change settings (Tools > Options) by a script?

    #2
    Hello Bobin,

    There are no documented supported methods to change the system configuration.

    However, this may or may not be possible with undocumented code.

    The NinjaTrader.Core.Globals.GeneralOptions may have what you are looking for.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Bobin You may find some of the Options already supported in NinjaScript. The Strategies options, for example, already have supported NinjaScript for ConnectionLossHandling settings. It's worth exploring the online help to see if you can find what you want. If you cannot find something, then, as NinjaTrader_ChelseaB says, you could try the unsupported NinjaTrader.Core.Globals to see if you can find what you're after.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Columbcille, Today, 02:04 PM
      0 responses
      1 view
      0 likes
      Last Post Columbcille  
      Started by Bhavika, Yesterday, 09:03 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by slimcactus, Today, 10:26 AM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Monares, Today, 10:49 AM
      3 responses
      19 views
      0 likes
      Last Post NinjaTrader_JustinD  
      Started by d122y, Today, 10:20 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Working...
      X