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 309338, Today, 12:06 PM
    0 responses
    6 views
    0 likes
    Last Post 309338
    by 309338
     
    Started by AaronKoRn, Yesterday, 08:38 PM
    2 responses
    51 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by rocketstock, 08-05-2022, 09:36 PM
    2 responses
    75 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by ronyggg83, Yesterday, 03:48 PM
    4 responses
    53 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by preqc, 08-05-2022, 09:10 AM
    1 response
    36 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X