Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

stripdown the NT script

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

    stripdown the NT script

    Is it possible to stripdown the NT script and run it on a different system such as visual studio, excel or else?
    The script includes multi time frames. thanks

    #2
    Hello Semion.AI.,

    Thanks for your post.

    NinjaScripts must be run on the NinjaTrader platform and cannot be run outside of NinjaTrader.

    It would be possible to use Visual Studio for debugging a custom NinjaScript. Once changes are made to the script in Visual Studio, you would need to save the script and then compile the script in a NinjaScript Editor window, not in Visual Studio. This is because the NinjaScript Editor includes necessary code in the script when a compile is run.

    See this help guide page for information about debugging with Visual Studio: https://ninjatrader.com/support/help..._debugging.htm

    If you want to store information related to certain market conditions or trades outside of NinjaTrader to a file then you could use a StreamWriter. The formatting of the text file can also make for easy importing into Microsoft Excel in the future.

    See this reference sample for an example of using a StreamWriter in a NinjaScript: https://ninjatrader.com/support/help...o_write_to.htm

    Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

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