Optimization Error

Questions about MultiCharts .NET and user contributed studies.
User avatar
clint454
Posts: 40
Joined: 21 Jun 2022
Has thanked: 21 times

Optimization Error

Postby clint454 » 15 Feb 2023

I have not added any drawings that I am aware of. Where can I look to confirm? See attached.
Attachments
error.JPG
(15.24 KiB) Not downloaded yet

User avatar
ABC
Posts: 718
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 408 times
Contact:

Re: Optimization Error

Postby ABC » 16 Feb 2023

clint454,

check the code of the strategy that raised this error message. If the drawings are not used in the strategy logic itself, one idea could be to add code to only apply the drawings when the strategy is not optimized.

Regards,

ABC

User avatar
clint454
Posts: 40
Joined: 21 Jun 2022
Has thanked: 21 times

Re: Optimization Error

Postby clint454 » 17 Feb 2023

Per my developer, the Property “Environment.Optimizing” always returns false in an indicator (which is doing the drawing), even when optimizing a Signal that uses that indicator.

Any suggestions?

User avatar
ABC
Posts: 718
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 408 times
Contact:

Re: Optimization Error

Postby ABC » 20 Feb 2023

clint454,

from the screenshot you posted the error message appears to be triggered by a signal, and I would suggest to discuss this further with your developer.

Regards,

ABC


Return to “MultiCharts .NET”