Can I open from my script 'Optimize' window?

Questions about MultiCharts .NET and user contributed studies.
bandito
Posts: 7
Joined: 23 Apr 2013

Can I open from my script 'Optimize' window?

Postby bandito » 05 May 2013

Hi,

Can I open or run optimization from my script? I'd like to run 2 MAs, and I want to optimize best values from script.

regards,
Bandito

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Can I open from my script 'Optimize' window?

Postby Henry MultiСharts » 06 May 2013

Hello Bandito,

There is no way to open and run optimization from the script at the moment.

TraderWalrus
Posts: 63
Joined: 13 Sep 2016
Has thanked: 30 times
Been thanked: 8 times

Re: Can I open from my script 'Optimize' window?

Postby TraderWalrus » 06 Dec 2017

Any news on this? Either in MC or MC.NET, or with API?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Can I open from my script 'Optimize' window?

Postby Henry MultiСharts » 06 Dec 2017

Hello TraderWalrus,

This is something that can be expected in one of the future versions of the platform:
https://www.multicharts.com/pm/public/m ... es/MC-2017

TraderWalrus
Posts: 63
Joined: 13 Sep 2016
Has thanked: 30 times
Been thanked: 8 times

Re: Can I open from my script 'Optimize' window?

Postby TraderWalrus » 06 Dec 2017

Hello TraderWalrus,

This is something that can be expected in one of the future versions of the platform:
https://www.multicharts.com/pm/public/m ... es/MC-2017
I read the comments there. Of course, optimization is the heaviest computational task in the platform and the benefits of the asynchronous approach in utilizing all cores by multi-processing are clear.

However it will be good if there will be also access from the EasyLanguage version - without asynchronous processing. Naturally this will be useful for cases where the number of iterations isn't large, or the lookback period isn't long.

I have a case where I need to frequently optimize a single parameter with total of 15 possible values over say 1,500 bars. Optimization takes a second. So currently I can either just manually optimize again and again, or I will need to evaluate those values as part of my strategy while simulating past trades, this will not be trivial to write, and the execution speed will probably be much slower than what it takes in the platform.


Return to “MultiCharts .NET”