• 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

can not optimize due to no parameters, problem

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

    can not optimize due to no parameters, problem

    i am having trouble optimizing a strategy.. it keeps coming with the error that there is no parameter to optimize.

    but there parameters to optimize.

    i might be doing something wrong but I have never had this issue before


    best regards

    Simon Thompson


    Click image for larger version

Name:	platform.png
Views:	50
Size:	178.0 KB
ID:	1078064

    #2
    Hello Simon Thompson,

    Thank you for the post.

    Can you check if this also happens with the SampleMACrossover or does this only happen with your strategy?

    If this is only happening with your strategy, was this built using the wizard or did you manually code this? I would likely need to see the properties in the script to better understand the problem if this is isolated to one strategy.

    I can also suggest trying to restart the analyzer tool if you had not tried that already.

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

    Comment


      #3
      Add [NinjaScriptProperty] to any parameter you want exposed to the analyzer. Hmm, I see it is NT7 you are working with. Make sure you set [GridCategory("xxx")] for the parameters you want to use.
      Last edited by eDanny; 11-18-2019, 12:36 PM.
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment


        #4
        Jesse it still does it on the sample..

        the strategy was done on ninja trader wizard, and I have no error logs..

        also currently i am struggling to get a backtest done on the sample

        Click image for larger version

Name:	strategy 1.png
Views:	29
Size:	180.0 KB
ID:	1078232Click image for larger version

Name:	strategy 2.png
Views:	27
Size:	232.5 KB
ID:	1078233Click image for larger version

Name:	strategy 3.png
Views:	31
Size:	261.7 KB
ID:	1078234

        Comment


          #5
          Hello Simon Thompson,

          Thanks for trying that.

          Are you able to pull up a chart for the time period you have selected and see the full period from the start date? I see you are using range bars, if you use a small period like 10 - 20 days do are you able to backtest the sample? Tick data is generally limited on the historical data servers so selecting a large amount of time may fail to download depending on what is available.

          The progress bar should pop up when starting the test however if the instrument you have selected has no data or cannot be downloaded that would cause what you are describing or a quick test with no results.

          I look forward to being of further assistance.

          JesseNinjaTrader Customer Service

          Comment


            #6
            hi Jesse

            it was funny that i disconnected from the live feed and the results came up... so i have been testing again and it seems to be working again.. thank you for your effort Jesse.. although I do have another question for you. i built a strategy and I get these overfill alerts.. I do not what this means nor it is a strategy problem?

            Click image for larger version

Name:	2019-11-20_065544.png
Views:	30
Size:	11.7 KB
ID:	1078334Click image for larger version

Name:	2019-11-20_063329.png
Views:	26
Size:	11.7 KB
ID:	1078335Click image for larger version

Name:	2019-11-20_070522.png
Views:	26
Size:	151.2 KB
ID:	1078336


            if you could shed some light on the subject jesse that would be great.

            best regards

            Simon Thompson

            Comment


              #7
              Hello Simon Thompson,

              From our help guide An overfill is categorized as when an order returns a "Filled" or "PartFilled" state after the order was already marked for cancellation.

              An overfill occurs when conflicting actions are sent which will result in an incorrect fill. From the image it appears that may be one of your other conditions, the error shows buy to cover which would generally be a short exit. Without more details from the log it is hard to say what specifically happened aside from there was a conflicting action that happened which generated the overfill warning.

              You may be able to locate more specific details by looking at the trades the strategy placed after closing the error to see what specific order of operations happened.

              I look forward to being of further assistance.


              JesseNinjaTrader Customer Service

              Comment


                #8
                thank you Jesse.. i worked it out that is a conflict with two strategies at 1 time.. all fixed


                best regards

                simon Thompson

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by lunardiplomacy, Today, 08:09 AM
                0 responses
                3 views
                0 likes
                Last Post lunardiplomacy  
                Started by YevhenShynkarenko, Yesterday, 06:07 PM
                1 response
                13 views
                0 likes
                Last Post NinjaTrader_PaulH  
                Started by akuntysh, 07-23-2019, 09:41 PM
                4 responses
                31 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Started by Goolden, Today, 05:47 AM
                2 responses
                15 views
                0 likes
                Last Post Goolden
                by Goolden
                 
                Started by mestril, Today, 06:00 AM
                7 responses
                23 views
                0 likes
                Last Post mestril
                by mestril
                 
                Working...
                X