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

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.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Lumbeezl, 01-11-2022, 06:50 PM
    31 responses
    817 views
    1 like
    Last Post NinjaTrader_Adrian  
    Started by xiinteractive, 04-09-2024, 08:08 AM
    5 responses
    14 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by swestendorf, Today, 11:14 AM
    2 responses
    6 views
    0 likes
    Last Post NinjaTrader_Kimberly  
    Started by Mupulen, Today, 11:26 AM
    0 responses
    7 views
    0 likes
    Last Post Mupulen
    by Mupulen
     
    Started by Sparkyboy, Today, 10:57 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X