NexusFi: Find Your Edge


Home Menu

 





How to iterate the optimization report after performing the strategy optimization


Discussion in MultiCharts

Updated
    1. trending_up 2,197 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
regress2money
china, shenzhen city
 
Posts: 4 since Mar 2016
Thanks Given: 1
Thanks Received: 1

Hi everyone,

after the optimization of strategy, MC will generate the optimization results
listing many parameter sets, but lacking corresponding equity curves.

Then I may have to iterate the optimization report to get the specific equity
curve. Do you guys have any idea/method that I am not aware of?

Thanks in advance.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
After $87M Settles NO: Irans Nuclear Redline Sets Up the …
Prediction Markets & Event Contracts
April Jobs Beat Flips Fed Hike Odds Past 52% for First T …
Traders Hideout
The June 15 Resolution Trap: Irans Agreed Text Still Pri …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
2 thanks
30 Sessions
1 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

regress2money,

I am not sure what equity curves you are looking for, but the strategy performance report contains several.
When you are looking at a performance report the curves are located under the "Strategy Analysis" entry following "Time Analysis".


Does this provide the curves you have been looking for?

Regards,

ABCTG


Follow me on X Reply With Quote
  #3 (permalink)
regress2money
china, shenzhen city
 
Posts: 4 since Mar 2016
Thanks Given: 1
Thanks Received: 1



ABCTG View Post
regress2money,

I am not sure what equity curves you are looking for, but the strategy performance report contains several.
When you are looking at a performance report the curves are located under the "Strategy Analysis" entry following "Time Analysis".


Does this provide the curves you have been looking for?

Regards,

ABCTG

Hello ABCTG,

it's very happy to hear from you^_^. Thanks for your answer. Sorry for my
unclear expression in the last post.

Exactly, if applying/double-clicking some parameter set in the optimization
report, the "detailed equity curve" in the performance report of the strategy
would be the target. But optimization report does not provide that, as below



I hope that, after optimization, I can automatically iterate the optimization
report to extract the equity curve of each parameter set, and output to a
file for further analysis.

For example, after the optimization, there are 100 solutions in the report. I
hope to find a way to automatically output each equity curve for the 100 solutions.


Thanks in advance.


Reply With Quote
Thanked by:
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

regress2money,


I am afraid I am not aware of a method other than go through each performance report manually one by one for each parameter combination. You might be able to automate this with a macro tool to some extend, but even then it wouldn't be very convenient unfortunately.

It might be simpler to write strategy metrics to files during the optimization and then have Excel (or any other software) draw equity curves from that data.

Regards,

ABCTG


Follow me on X Reply With Quote
  #5 (permalink)
regress2money
china, shenzhen city
 
Posts: 4 since Mar 2016
Thanks Given: 1
Thanks Received: 1


ABCTG View Post
regress2money,


I am afraid I am not aware of a method other than go through each performance report manually one by one for each parameter combination. You might be able to automate this with a macro tool to some extend, but even then it wouldn't be very convenient unfortunately.

It might be simpler to write strategy metrics to files during the optimization and then have Excel (or any other software) draw equity curves from that data.

Regards,

ABCTG

Hello ABCTG,

Thanks for you reply.

"write strategy metrics to files during the optimization" looks good, so could you
please expand your explanation in more details if convenient?

Thanks.


Reply With Quote
  #6 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

regress2money,

this would be something you'd have to code, but you have several reserved words that you can use to track performance metrics of a strategy bar by bar (or even tick by tick):

Category:Strategy Performance - MultiCharts
Category:Strategy Position Trades - MultiCharts

Using the Print command you can output these metrics to a file and have other software draw an equity curve (for example) out of this data.

By the way you can show your appreciation for a post on NexusFi by clicking the "Thanks" button next to that post.

Regards,

ABCTG


Follow me on X Reply With Quote
Thanked by:




Last Updated on August 1, 2016


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts