Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

problems with optimizer

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

    problems with optimizer

    I want to optimize a strategy
    I go to strategy analyzer , and set different parameters with ranges to optimize.
    When I click run, there is a message saying that i am not optimizing any parameters !!! see picture.
    There you can see all the ranges set for fifferent parameters !!
    What happens ??​
    Attached Files

    #2
    Hello,

    You will need to set a 'range' of test parameters you would like to optimize so it can run different iterations by changing the values of one of your variables. For instance, changing the 'quantity 1' setting to 1:10:1 will run a backtest for that setting being set to each number between 1 and 10, giving you 10 iterations.

    Comment


      #3
      Yes, and that is what I have done .
      See in that attached picture the different parameters with a range of values to optimize.

      Comment


        #4
        Hello Parmenides48,

        The error mentions that you need to specify a range, that could be if you specify a range outside of the min/max. Your image has a lot of parameters so you would need to simplify the script to find which parameter is having a problem with optimization. You can simplify the script by commenting out your code and leaving just a shell of a strategy that has no parameters, then uncomment 1 parameter at a time and test it in the optimizer to make sure it works. When you find the one causing the issue you could post that code here so we can get a better idea of why thats happening.

        Comment


          #5
          ok,
          Iwill do it and post the result of that. thanks a lot

          Comment


            #6
            The problem is that this strategy is not mine, I bought it from architectsai.com,
            and I can´t access to the code.
            I looked the parameters ranges and all are correct.
            Now there is a message about increment in the Entry3 parameter, that must be greater that cero, but I set range from cero to cero with increment cero because I don´t want to optimize that entry .
            I want to leave that 3rd entry to cero contracts.
            see picture below.
            Is correct to set that parameter as I do ???
            Attached Files

            Comment


              #7
              Hello Parmenides48,

              In this case you may need to contact the developer of that item for further assistance.

              Regarding the error, if it says a range needs to be greater than 0 you need to set a minimum of 1 as the value. A range from 0 to 0 is not valid. If you don't want to optimize value you can leave it as its default value with no changes to the range.

              0 contracts is also not valid, if the developer made it so that it has a parameter with a minimum value that would be required to be used. They would have to make an additional bool property if you wanted to have that not used in the logic in some way. When trading you will always use at least 1 as the amount of contracts.

              If you are unsure of the scripts capabilities you will need to reach out to the developer to see how it can be used correctly and if any of the items you want are able to be accomplished using its existing settings.

              Comment


                #8
                ok, I will talk to them again
                Thanks .

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                106 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                54 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                36 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                38 views
                0 likes
                Last Post TheRealMorford  
                Started by Mindset, 02-28-2026, 06:16 AM
                0 responses
                74 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Working...
                X