• 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

Strategy tab and workspace problem?

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

    Strategy tab and workspace problem?

    When I save a workspace with my strategys and I close nt8 it wont reopen til the time I saved the workplace

    #2
    Hello rickyblah12,

    Thank you for the post.

    I am not certain I understand the way you worded this:

    it wont reopen til the time I saved the workplace
    Can you detail further what you are seeing happen here?

    Are you seeing the workspace does not open at all or it is not being saved?

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

    Comment


      #3
      it is not being saved

      Comment


        #4
        Hello rickyblah12,

        Thank you for clearing that up.

        Are you seeing any errors in the control centers log tab if you manually save the workspace? If you are, please provide either an image or copy/paste of line of the error. You can select rows and Control + C to copy them from the log.

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

        Comment


          #5
          no im not seeing that

          Comment


            #6
            Hello rickyblah12,

            Thank you for checking that.

            You may need to do some more testing to find what controls the scripts not saving.

            You noted you are saving multiple strategies in the workspace. Does this happen with 1 specific script or have you further tested to isolate an offending strategy? If so, is this one you have created yourself that you can debug further?

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

            Comment


              #7
              yes i created it myself how can i debug

              Comment


                #8
                Hello rickyblah12,

                Thank you for checking that.

                If this is a manually coded strategy, the easiest way is to comment out parts of the script until you see the problem resolves. This will help to point a direction toward the offending syntax. Often when workspaces cannot save or restore it is caused by public properties in the script. I generally suggest to just comment out the OnBarUpdate code and leave only the OnStateChange logic/properties and test from there. If the problem still exists, do this again by commenting out the public properties and leaving OnStateChange. This will help identify a baseline of where the problem starts. With that known, it would be more easy to locate the syntax.

                You may additionally check if the problem is during loading the workspace, the error would be in the log after loading the workspace.

                For a strategy builder strategy, you have the option of saving conditions as templates which you can then remove them. However it may be easier to create a new strategy, and then load in templates or configure it, in the same way, to see where the failure occurs.


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

                Comment


                  #9
                  Originally posted by NinjaTrader_Jesse View Post
                  Hello rickyblah12,

                  For a strategy builder strategy, you have the option of saving conditions as templates which you can then remove them. However it may be easier to create a new strategy, and then load in templates or configure it, in the same way, to see where the failure occurs.


                  I look forward to being of further assistance.
                  can you tell me how I do that step by step...what you said has no direction at all LOL

                  Comment


                    #10
                    Hello rickyblah12,

                    There are more details on how to use the builder's templates in the following link: https://ninjatrader.com/support/help...dActionsScreen

                    I can suggest saving templates of your conditions to make testing easier, this would mainly be so you don't have to rebuild each step manually if you remove a condition for testing.

                    Creating a new script is also a good way to go about testing this situation. Mirroring each step of what you did in the failing script one step at a time and retesting the new script is likely the easiest way to isolate the problem. Once you find that you have added the failing part to the new script we can review that together to see why that's happening. I would generally not expect a strategy builder script to fail to save in the workspace but I also do not know what was created at this point. This is very likely related to a specific condition, action or configuration used which we can troubleshoot once found.

                    Please let me know if I may be of further assistance.
                    JesseNinjaTrader Customer Service

                    Comment


                      #11
                      that says nothing about debuging

                      Comment


                        #12
                        Hello rickyblah12,

                        Correct, this link explains using templates in the builder but does not have any information about debugging. This page has information about a part of the builder which can help you while you are testing. Templates allow you to save conditions preventing duplicate work. At this time we don't have a specific step by step guide toward debugging in the builder that I can provide for this situation.

                        The previous description of ways you can approach this problem would be a good place to start. Finding what demonstrates the problem would be the first step and will allow us to further explore a solution.


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

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by YevhenShynkarenko, Yesterday, 01:22 AM
                        2 responses
                        36 views
                        0 likes
                        Last Post NinjaTrader_ChelseaB  
                        Started by testingsarasa, 05-20-2018, 02:50 PM
                        11 responses
                        733 views
                        0 likes
                        Last Post NinjaTrader_ChelseaB  
                        Started by martyn73, Today, 05:27 PM
                        2 responses
                        8 views
                        0 likes
                        Last Post martyn73  
                        Started by MichaelAlexander, 02-22-2017, 05:06 AM
                        5 responses
                        1,402 views
                        0 likes
                        Last Post NinjaTrader_ChelseaB  
                        Started by walter739, Today, 11:56 AM
                        3 responses
                        11 views
                        0 likes
                        Last Post NinjaTrader_ChelseaB  
                        Working...
                        X