Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problems in Optimization

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

    Problems in Optimization

    I try to create a strategy and when I try to optimize, one of those parameters didnīt appears the range of optimization (Min, Max & Increment).

    I will be very glady if someone can help me.

    Thanks,
    Eros


    #2
    Hello Eros Lima ,

    Can you provide a copy/paste of your properties for me to test? I don't see what may be the specific problem in the image provided, the [NinjaScriptAttribute] would be needed to make it optimization which is there.


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

    Comment


      #3
      As requested ...
      Attached Files

      Comment


        #4
        Hello Eros Lima,

        I looked at the properties however I don't see the property from your image here.

        Can you isolate the specific property your are having trouble with for me and provide that by its self?

        Could you also provide the private variables required for the properties so it is a complete sample?

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

        Comment


          #5
          In the image, I round in red a variable that I canīt put Min, Max & Increment. In green, other variable that itīs ok.
          Attached Files

          Comment


            #6
            Hello Eros Lima,

            Unfortunately this does not help. I would need the code for just the specific public property which is having a problem. If that includes a private variable, please also include that. I do not need to see the other properties or variables for the script, just the syntax which is having a problem. In what you have provided so far the syntax you have circled has not been included.


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

            Comment


              #7
              Dear Jesse,

              I dontīt code anything. I just start to ajust some parameters in the code and when I put this lines in the code, they didnīt work well. I donīt have any other lines in the code with this variables.

              Sorry if I canīt help you more.

              Many Thanks,

              Eros

              Comment


                #8
                Dear Jesse,

                I fix it !!!
                I just remove all line from de code, keeping only variables and properties. And then compile; everything goes ok. And them I back all lines and recompile.

                Now, all parameters are ok.

                Regards,
                Eros

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by CortexZenUSA, Today, 12:53 AM
                0 responses
                1 view
                0 likes
                Last Post CortexZenUSA  
                Started by CortexZenUSA, Today, 12:46 AM
                0 responses
                1 view
                0 likes
                Last Post CortexZenUSA  
                Started by usazencortex, Today, 12:43 AM
                0 responses
                5 views
                0 likes
                Last Post usazencortex  
                Started by sidlercom80, 10-28-2023, 08:49 AM
                168 responses
                2,266 views
                0 likes
                Last Post sidlercom80  
                Started by Barry Milan, Yesterday, 10:35 PM
                3 responses
                13 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Working...
                X