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 Shansen, 08-30-2019, 10:18 PM
    24 responses
    938 views
    0 likes
    Last Post spwizard  
    Started by Max238, Today, 01:28 AM
    0 responses
    3 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by rocketman7, Today, 01:00 AM
    0 responses
    2 views
    0 likes
    Last Post rocketman7  
    Started by wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    27 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Working...
    X