• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how do I open strategy to edit code?

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

    how do I open strategy to edit code?

    Hi,

    I have compiled and saved a strategy.
    Now that the ninjascript editor window is closed I cannot find how to open up my saved strategy in the editor again to modify the code.

    Thank you,
    Jesse

    #2
    Hello,

    Thank you for the post.

    To edit the file again, it should be listed in the Tools -> Edit NInjaScript -> Strategy menu option.

    If you had given the strategy a different Class name than the file name, it may be named differently in the editor versus what you would see in the Strategy analyzer or chart.

    If you are unable to locate the file in the list, you can also see if you can locate the file in windows explorer by opening the folder: Documents\NinjaTrader 7\bin\Custom\Strategy

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      thanks for the quick reply.

      when I click tools I don't see the "edit ninjascript" option.
      Just opened the ninjascript in VS and looks like the class name is the same as the filename I find here:
      C:\Users\NinjaTrader\Documents\NinjaTrader 8\bin\Custom\Strategies

      when I tried to export just now it says that there is an error that needs to be resolved before I can export. is this part of why I cannot see it?...

      Comment


        #4
        Hello,

        Yes if you have a compile error, there is a chance the file would not be accessable from a menu.

        You said that you can not see Tools -> Edit NInjaScript menu option, depending on the license you are using this may be the cause. Could I have you email me at: platform support @ ninjatrader.com for further assistance?

        Please include 1526824 in the email so it gets referenced back to me.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by SAILIKITY, 05-22-2019, 05:41 PM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by rmillar, 01-09-2019, 06:02 PM
        6 responses
        58 views
        1 like
        Last Post eDanny
        by eDanny
         
        Started by mlarocco, Today, 11:39 AM
        4 responses
        18 views
        0 likes
        Last Post mlarocco  
        Started by roblogic, Today, 11:19 AM
        2 responses
        14 views
        0 likes
        Last Post roblogic  
        Started by saeed, Today, 10:17 AM
        8 responses
        39 views
        0 likes
        Last Post NinjaTrader_Kate  
        Working...
        X