20 lines
735 B
Markdown
20 lines
735 B
Markdown
# Strategy Analysis
|
|
|
|
## Combine Backtest Results
|
|
|
|
The [```combine_backtest_results.py```](https://moshferatu.dev/moshferatu/ninjatrader/src/branch/main/utilities/strategy-analysis/combine_backtest_results.py) script will combine backtest results from the NinjaTrader Strategy Analyzer and plot them.
|
|
|
|
Backtest results can be exported from the Strategy Analyzer by right-clicking on the table in the Analysis tab and selecting "Export...".
|
|
|
|
Prior to running the script, make sure to set the following variables:
|
|
|
|
```python
|
|
backtest_results_path = ''
|
|
backtest_result_plot_title = ''
|
|
```
|
|
|
|
The first variable defines the path where the exported CSV files are stored.
|
|
|
|
The second defines the title of the combined backtest result plot.
|
|
|
|
--- |