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 shorty, Today, 06:20 PM
    0 responses
    9 views
    0 likes
    Last Post shorty
    by shorty
     
    Started by dweems, Yesterday, 02:11 PM
    1 response
    46 views
    0 likes
    Last Post NinjaTrader_Angelica  
    Started by Skechers, Today, 02:31 PM
    2 responses
    35 views
    0 likes
    Last Post Skechers  
    Started by njmeyer713, Today, 04:10 PM
    0 responses
    22 views
    0 likes
    Last Post njmeyer713  
    Started by ラリー, 10-03-2022, 09:32 PM
    7 responses
    133 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X