Dear Users,
We have added the SetCustomFitnessValue keyword allowing you to specify custom optimization criteria in the PowerLanguage code.
See the following MC Wiki articles for instructions:
https://www.multicharts.com/trading-sof ... timization
https://www.multicharts.com/trading-sof ... tnessValue
Selecting Custom Criteria for Optimization
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
-
- Posts: 401
- Joined: 19 Jan 2011
- Location: Netherlands
- Has thanked: 85 times
- Been thanked: 124 times
Re: Selecting Custom Criteria for Optimization
Hi Dave,
I am curious if there also plans to get this functionality and all other functions of backtesting what is already in multicharts also in the portfolio backtester?
For example the walk forward option and the use of all the reserved words in the custom edit script. And on my wishlist, the option to save the optimizing report and be able to load it back in the optimizer at a later moment besides the option we have now to export this. (is also not in multicharts, new feature).
Thanks and keep up the great work!
Edwin
I am curious if there also plans to get this functionality and all other functions of backtesting what is already in multicharts also in the portfolio backtester?
For example the walk forward option and the use of all the reserved words in the custom edit script. And on my wishlist, the option to save the optimizing report and be able to load it back in the optimizer at a later moment besides the option we have now to export this. (is also not in multicharts, new feature).
Thanks and keep up the great work!
Edwin
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Selecting Custom Criteria for Optimization
This functionality is available in Portfolio Backtester.I am curious if there also plans to get this functionality and all other functions of backtesting what is already in multicharts also in the portfolio backtester?
Thank you for your suggestions. They have been forwarded to the developers.For example the walk forward option and the use of all the reserved words in the custom edit script. And on my wishlist, the option to save the optimizing report and be able to load it back in the optimizer at a later moment besides the option we have now to export this. (is also not in multicharts, new feature).
-
- Posts: 401
- Joined: 19 Jan 2011
- Location: Netherlands
- Has thanked: 85 times
- Been thanked: 124 times
Re: Selecting Custom Criteria for Optimization
Hi Dave,
I can not select the Custom Fitness Value from the list under the Standard Criteria section on the Optimization Criteria tab of the Exhaustive Search Properties window or on the Algorithm-Specific Properties tab of the Genetic Algorith Properties window in Portfolio backtester.
Is it not possible to use this in the portfolio backtester and only in multicharts via the chart?
I am using the MC8.0RC
I can not select the Custom Fitness Value from the list under the Standard Criteria section on the Optimization Criteria tab of the Exhaustive Search Properties window or on the Algorithm-Specific Properties tab of the Genetic Algorith Properties window in Portfolio backtester.
Is it not possible to use this in the portfolio backtester and only in multicharts via the chart?
I am using the MC8.0RC
-
- Posts: 742
- Joined: 09 Apr 2010
- Location: Texas
- Has thanked: 483 times
- Been thanked: 274 times
- Contact:
Re: Selecting Custom Criteria for Optimization
I think the ability to save current optimization parameters(separate defaults for each strategy input-just like default values for studies) should also be available.. (example: optimize input XYZ from 5 to 50 by 5) ..
- Katrin Yanenko
- Posts: 55
- Joined: 28 Nov 2011
- Has thanked: 18 times
- Been thanked: 23 times
Re: Selecting Custom Criteria for Optimization
Hi evdl,Hi Dave,
I can not select the Custom Fitness Value from the list under the Standard Criteria section on the Optimization Criteria tab of the Exhaustive Search Properties window or on the Algorithm-Specific Properties tab of the Genetic Algorith Properties window in Portfolio backtester.
Is it not possible to use this in the portfolio backtester and only in multicharts via the chart?
I am using the MC8.0RC
We've checked it on our end, the Custom Fitness Value is available for both optimization types.
Could you make screenshots that may help us to reproduce the issue?
Hi sptrader,I think the ability to save current optimization parameters(separate defaults for each strategy input-just like default values for studies) should also be available.. (example: optimize input XYZ from 5 to 50 by 5) ..
Do you want to save inputs that are applied on a chart and use them as Start Values?
Speaking about optimizing one input only, you can do it if you change the parameters for this only input in the Optimization Window.
Best Regards,
Katrin Yanenko
-
- Posts: 401
- Joined: 19 Jan 2011
- Location: Netherlands
- Has thanked: 85 times
- Been thanked: 124 times
Re: Selecting Custom Criteria for Optimization
Hi Katrin,
I am talking about the optimizing in the portfolio backtester. The optimizing on the chart in the main MC program has this option for both optimizing types, but I think the optimizing process in the portfolio backtester has not all the features that's in the main MC program.
My initial question was, if all the features of optimizing in the main MC program are going to be available for the portfolio backtester. That would be great, because you can use all the optimizing options and also trade in the main program.
I am talking about the optimizing in the portfolio backtester. The optimizing on the chart in the main MC program has this option for both optimizing types, but I think the optimizing process in the portfolio backtester has not all the features that's in the main MC program.
My initial question was, if all the features of optimizing in the main MC program are going to be available for the portfolio backtester. That would be great, because you can use all the optimizing options and also trade in the main program.
Re: Selecting Custom Criteria for Optimization
Hi Henry, I don' t find it under the standard criteria list. What I miss?
The code:
if portfolio_MaxIDDrawDown<>0 and portfolio_netprofit <>0 then
SetCustomFitnessValue (portfolio_netprofit / absvalue(portfolio_MaxIDDrawDown) );
Attached the image.
Thanks Riccardo
The code:
if portfolio_MaxIDDrawDown<>0 and portfolio_netprofit <>0 then
SetCustomFitnessValue (portfolio_netprofit / absvalue(portfolio_MaxIDDrawDown) );
Attached the image.
Thanks Riccardo
- Attachments
-
- Immagine.JPG
- (30.81 KiB) Downloaded 1794 times
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Selecting Custom Criteria for Optimization
Hello Ricardo,
Sorry for misinformation. Custom Fitness Value is not available with Portfolio Backtester at the moment. We are going to improve Portfolio Baktester in the future and it should be added as one of the improvements.
You can use Custom Fitness Value in MultiCharts.
Sorry for misinformation. Custom Fitness Value is not available with Portfolio Backtester at the moment. We are going to improve Portfolio Baktester in the future and it should be added as one of the improvements.
You can use Custom Fitness Value in MultiCharts.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Selecting Custom Criteria for Optimization
Hi, when will "Custom Fitness Value" be available with Portfolio Backtester?
It is a real MultiCharts drawback/flaw in comparison to Mechanica, PowerST or Trading System Lab...
Is there a workaround with the "Custom Criteria"?
Where can I post this wish?
Thank you!
It is a real MultiCharts drawback/flaw in comparison to Mechanica, PowerST or Trading System Lab...
Is there a workaround with the "Custom Criteria"?
Where can I post this wish?
Thank you!
-
- Posts: 4
- Joined: 08 Mar 2013
- Has thanked: 1 time
Re: Selecting Custom Criteria for Optimization
Perhaps I am just a new user who doesn't know the full functionality of this product, but the capability to rank a strategy (on a portfolio of securities) via the K-Ratio, or Sharpe Number, or Van Tharp's System Quality Number, etc. is a real feature gap.
If I can't do that in this product, it doesn't compare favorably with other similar products (AB, TraderStudio, Trading Blox, etc.).
If I can't do that in this product, it doesn't compare favorably with other similar products (AB, TraderStudio, Trading Blox, etc.).
-
- Posts: 4
- Joined: 08 Mar 2013
- Has thanked: 1 time
Re: Selecting Custom Criteria for Optimization
That's my whole point!
In many other products, you use a "portfolio" tester to see how one particular strategy works.
You rank one strategy over another based on certain characteristics (Sharpe Ratio, Van Tharp's number, K-Ratio, CAGR/MMD, etc.).
Furthermore, to get a real idea of how your strategy will really work in the real world, you use Walk Forward Testing, and then rank your strategies based on that characteristic that was calculated on the out of sample periods.
That's the best way that I know of to really analyze a strategy!
In many other products, you use a "portfolio" tester to see how one particular strategy works.
You rank one strategy over another based on certain characteristics (Sharpe Ratio, Van Tharp's number, K-Ratio, CAGR/MMD, etc.).
Furthermore, to get a real idea of how your strategy will really work in the real world, you use Walk Forward Testing, and then rank your strategies based on that characteristic that was calculated on the out of sample periods.
That's the best way that I know of to really analyze a strategy!
Re: Selecting Custom Criteria for Optimization
My questions again to MultiCharts developers :
1) When will "Custom Fitness Value" be available with Portfolio Backtester?
2) Is there a workaround with the Portfolio Backtester "Custom Criteria"?
Thanks
1) When will "Custom Fitness Value" be available with Portfolio Backtester?
2) Is there a workaround with the Portfolio Backtester "Custom Criteria"?
Thanks
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Selecting Custom Criteria for Optimization
Hello vindiou,My questions again to MultiCharts developers :
1) When will "Custom Fitness Value" be available with Portfolio Backtester?
2) Is there a workaround with the Portfolio Backtester "Custom Criteria"?
Thanks
1) This feature is planned for MultiCharts 9.0
2) Unfortunately, there is no workaround at the moment.
Re: Selecting Custom Criteria for Optimization
Is "Custom Fitness Value" for Portfolio Backtester still planned for 9.0?
My fellow traders and I believe that this is #1 MultiCharts flaw/blocking point for a serious Asset Manager...
My fellow traders and I believe that this is #1 MultiCharts flaw/blocking point for a serious Asset Manager...
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Selecting Custom Criteria for Optimization
Hello vindiou,Is "Custom Fitness Value" for Portfolio Backtester still planned for 9.0?
My fellow traders and I believe that this is #1 MultiCharts flaw/blocking point for a serious Asset Manager...
At the moment I cannot tell you exactly if this feature will be released in MC 9.0. However, I want to reassure you that we will do our best to make it available in v. 9.0.
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Selecting Custom Criteria for Optimization
Yes, since MC 9.0 Beta 1:Is "Custom Fitness Value" for Portfolio Backtester implemented now?
(source).Portfolio Trader now also has walk-forward optimization and custom fitness function.