Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Command Line options for launching

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

    Command Line options for launching

    Hi. I know that, these days, everything is a GUI and most users
    have no idea what the command line really is...

    But in case of an issue with NinjaTrader startup; due, for example,
    to faulty indicator, I'd like to be able to start the platform without
    any user defined Charts or Indicators.

    Here's how I always start NinjaTrader:

    REM kill an existing process
    taskkill /f /IM ninjatrader.exe
    start "" /D "C:\ninja/bin64" "NinjaTrader.exe"

    In case of an urgent need to start NinjaTrader in what we could call
    a "safe mode" it could be:

    start "" /D "C:\ninja/bin64" "NinjaTrader.exe /safemode"

    But these command line options would have to be developed.

    The reason for this would be, for example; when it was URGENT
    to get the platform back up; say, to CLOSE out positions in a hurry.

    hyperscalper

    #2
    Hello Hyperscalper,

    There is no command line argument for starting in Safe Mode. Since we start in Safe Mode when the Ctrl key is pressed, you could consider emulating key presses with a PowerShell script, or simply holding the Ctrl key when you submit the command.

    I found a publicly available resource that discusses emulating key presses with PowerShell, but you may just want to hold Ctrl.

    https://superuser.com/questions/9925...e-command-line

    We typically advise calling the broker's Order Desk immediately if there is an issue with the platform where you cannot use it to manage your positions.

    We look forward to assisting.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    161 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    308 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    245 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    349 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X