Difference between revisions of "Using Optimization Report"

From MultiCharts
Jump to navigation Jump to search
Line 78: Line 78:
 
The 2D Graph can also be opened in a separate window. To do that in the Optimization Report window click on this icon: [[File:CopyWindow-20-125.png]].
 
The 2D Graph can also be opened in a separate window. To do that in the Optimization Report window click on this icon: [[File:CopyWindow-20-125.png]].
  
The graph can be zoomed in and out using the scroll wheel, and moved within the window using the keyboard arrows. Resetting the graph to its original view requires double-clicking on it or clicking on the reset button that’s found in the upper left corner: [[File:reset-20-125.png]].
+
The graph can be zoomed in and out using the scroll wheel, and moved within the window using the keyboard arrows. Resetting the graph to its original view requires double-clicking on it or clicking on the reset button that’s found in the upper left corner: [[File:reset-20-150.png]].
  
 
Each indice line can be moved up and down separately with the help of the left mouse button. Right-clicking on one of the lines displays the function’s value in that particular point.
 
Each indice line can be moved up and down separately with the help of the left mouse button. Right-clicking on one of the lines displays the function’s value in that particular point.
Line 84: Line 84:
 
===2D Graph Settings===
 
===2D Graph Settings===
  
The indices lines can be added and removed. Click on the gear icon [[File:Settings-16-125.png]] or on the legend area in the upper right corner to open the '''2D Graph Settings''' window.  
+
The indices lines can be added and removed. Click on the gear icon [[File:Settings-16-175.png]] or on the legend area in the upper right corner to open the '''2D Graph Settings''' window.  
  
 
===Graph tab===
 
===Graph tab===

Revision as of 14:13, 12 July 2019

After an optimization process is complete then a detailed Strategy Optimization Report is available for reviewing.

The Strategy Optimization Report allows to review the results of all the test combinations tested (in tabular view).

Columns represent 18 strategy performance fields as well as all the inputs which were optimized during the current run for each inputs combination tested.

Each row represents a set of test results for a given inputs combination.

Tip: The data in any column can be selected as the optimization criteria.


Note: The Strategy Optimization Report contains the results of the last optimization run only.

Accessing Strategy Optimization Report

To open a Strategy Optimization Report:

  1. Apply a strategy to a chart.
  2. Run an optimization. The report will be opened as soon as the optimization is completed. After that the report of the completed optimization can be accessed from the View menu -> Strategy Optimization Report, or from the Chart Analysis -> Strategy Optimization Report Strategy Optimization Report.png.

Strategy Optimization Report can be viewed as a Spreadsheet, 2D or 3D Graph.

Note: Only one optimization report can be opened at a time.

Spreadsheet view

Report Fields

The performance indices include:

Net Profit
Gross Profit
Gross Loss
Total Trades
% Profitable
Winning Trades
Losing Trades
Avg Trade
Avg Winning Trade
Avg Losing Trade
Win/Loss ratio
Max Consecutive Wins
Max Consecutive Losses
Avg # of Bars in Winners
Avg # of Bars in Losers
Maximum Intraday Drawdown
Profit Factor
Return on Account
Input Values

Note: The performance indices are identical to those in the Performance Report.


Sorting the Strategy Optimization Report

It is possible to sort out the Optimization Report by any combination of 3 criteria in either Descending or Ascending order.

To modify the sorting order:

  1. In the Optimization Report set the criterion and sorting order from the Sort by drop-down list.
  2. Repeat for the second drop-down list.
  3. Repeat for the third drop-down list.
  4. Check “Use as Default” to save settings for future use.


Applying an Inputs Combination to a Chart

It is possible to apply the inputs combination that produced the best strategy results after the last optimization to the strategy.

To apply the best inputs combination:

  1. Double-click on the desired row in the report.
  2. Click Yes in the confirmation window.


Working with 2D Graphs

To display a Strategy Optimization Report as a 2D select the 2D Graph tab. In the 2D Graph view the results of the report are presented as lines. The lines represent the performance indices per one or several strategy inputs. The base input selector is located in the lower part of the window, additional inputs are configured in the graph settings. The 2D Graph can also be opened in a separate window. To do that in the Optimization Report window click on this icon: CopyWindow-20-125.png.

The graph can be zoomed in and out using the scroll wheel, and moved within the window using the keyboard arrows. Resetting the graph to its original view requires double-clicking on it or clicking on the reset button that’s found in the upper left corner: Reset-20-150.png.

Each indice line can be moved up and down separately with the help of the left mouse button. Right-clicking on one of the lines displays the function’s value in that particular point.

2D Graph Settings

The indices lines can be added and removed. Click on the gear icon Settings-16-175.png or on the legend area in the upper right corner to open the 2D Graph Settings window.

Graph tab

- Show Legend. Check this option to display the legend in the upper right corner. - Smoothed Line. Check it to smooth the angles of the graph lines. - X Axis Input. Select one of the inputs to be displayed along the X Axis. - Single Function with Variable Inputs. If this option is selected it is possible to view how a performance index (function) is changing on different input values. Apart from Function and Input themselves such parameters as Gradient Range, Number of Values and Input Values Range can be configured. - Multiple Functions with Fixed Inputs. If this option is selected it is possible to view how several performance indices (functions) are changing on the fixed input values. The settings for this option include the choice of the set of functions and their colors. One can select all and clear the choice of all functions by clicking on the corresponding buttons Select All and Clear All.

Note: you can save the configuration of the settings for the future use with the help of the Use as Default option.

Fixed Inputs tab

This tab contains the inputs that weren’t selected on the Graph tab. The remaining inputs can be manually set to the desired values using the dropdown list.

Saving the Strategy Optimization Report

To store optimization report data for every chart through any chart copy or workspace save operations after being generated, click Preferences, select the Workspaces tab and check the Store Optimization Report check box.

Note: Store Optimization Report option may consume considerable amount of resources and is disabled by default.

Exporting the Strategy Optimization Report

It is possible to export the Optimization Report to a comma-separated file, which is preferred for importing into a spreadsheet application for further analysis.

To export the Optimization Report:

  1. In the Optimization Report click Save as button.
  2. In the Save As dialog window appeared navigate to the required file location.
  3. In the File Name field type in the file name.
    Note: By default the file name includes date and time information.
  4. Click Save.
    Note: The entire report information will be saved to the file.


Viewing the Strategy Optimization Report in the Optimization Result Visualizer

Exported Optimization Reports can be viewed in a separate application without any other MultiCharts components installed.

The links to download Optimization Results Visualizer:
32-bit: ORVisualizer32bit
64-bit: ORVisualizer64bit

Double click on the Optimization Report file will open it in the Optimization Result Visualizer application.