portfolio scorer: comprehensive multi-ea correlation and coverage analysis

portfolio scorer: comprehensive multi-ea correlation and coverage analysis
Download ALL MT5 scripts (351)
YouTube Video Thumbnail



Similar MetaTrader Tools

portfolio scorer: comprehensive multi-ea correlation and coverage analysis

Info

The portfolio scorer: comprehensive multi-ea correlation and coverage analysis is a Script for MetaTrader 5 that portfolio scorer is a powerful tool designed to assess multi-ea portfolios, focusing on inter-strategy correlation, temporal coverage, and asset class diversity. it generates a comprehensive composite grade, ranging from a+ to f, providing a clear evaluation of portfolio performance.

Usage

This tool is typically used for enhancing chart analysis and decision making.

Platform

This Script works exclusively on MetaTrader 5 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL5/Scripts folder via File ? Open Data Folder in MetaTrader 5.


How to Install and Use portfolio scorer: comprehensive multi-ea correlation and coverage analysis

1. Installation: Move your script file into the MQL/Scripts directory and restart the platform.

2. Execution: Drag the script onto a chart; it will perform a one-time action, such as closing all open orders or clearing chart objects.

3. Editing: Use MetaEditor (F4) to modify code, click "Compile," and verify no errors appear in the terminal before running.

4. Removing: Scripts stop automatically, but you can remove them manually by right-clicking the chart and choosing "Remove Script."

Frequently Asked Questions

Q: How are scripts different from EAs? A: Scripts execute a single action and then stop; EAs monitor the market and trade continuously.

Q: Can I assign a hotkey to a script? A: Yes, right-click the script in the Navigator, select "Set Hotkey," and define your preferred keyboard shortcut.

Q: Why did my script stop? A: Scripts are designed to stop immediately after finishing their programmed command; this is normal behavior.

What this tool does

portfolio scorer is a powerful tool designed to assess multi-ea portfolios, focusing on inter-strategy correlation, temporal coverage, and asset class diversity.

Typical Use Case

This Script excels in automated trading and technical analysis on MetaTrader 5.

Compatible Platform & Setup

This Script works on MetaTrader 5. Place the file in the MQL5/Scripts folder and restart the terminal.

Description & Settings

Related: Portfolio Correlation Analyzer - another powerful script for MetaTrader 5 traders.

portfolio scorer is a powerful tool designed to assess multi-ea portfolios, focusing on inter-strategy correlation, temporal coverage, and asset class diversity. it generates a comprehensive composite grade, ranging from a+ to f, providing a clear evaluation of portfolio performance.

Also recommended: bulk information 1. 0 - similar script with strong performance on MetaTrader 5.


this script efficiently processes daily p&l data from csv files stored in the mql5\files\ directory. in the absence of specified files, it automatically generates sample data for five diverse eas, covering forex, index, metal, energy, and forex-jpy, allowing users to instantly preview the complete output.


input parameters:

- inpfilelist: a comma-separated list of csv filenames for analysis. default: ea_eur.csv, ea_ndx.csv, ea_xau.csv, ea_oil.csv, ea_jpy.csv.
- inpseparator: delimiter character for file list separation. default: comma.
- inpmindays: minimum trading days per ea for inclusion in the analysis. default: 60 days.
- inpcorrthresh: absolute correlation threshold to flag highly correlated pairs. default: 0.35.
- inpweightcorr: weight assigned to correlation in the composite score. default: 0.50.
- inpweightcov: weight given to coverage in the composite score. default: 0.25.
- inpweightdiv: weight assigned to diversity in the composite score. default: 0.25.


output (experts tab):

- comprehensive nxn pearson correlation matrix with threshold flags.
- hourly coverage map (0-23 utc) indicating active eas per hour.
- weekday coverage breakdown (mon-fri).
- composite score report with individual dimension scores and letter grade.
- practical recommendations based on identified portfolio weaknesses.

csv format requirements:

each csv file should adhere to the following structure:

- header row with column names.
- one row per trading day.
- four columns: date, dailypnl, tradehour, and tradeweekday.

a complementary function, exportdailypnl, detailed in the accompanying article, facilitates the generation of these csv files from ea backtests.

usage:

attach the script to any chart and execute. the script is independent of symbol or timeframe, relying solely on csv data, not chart prices.

You may also like: third party ticks - excellent alternative for script users on MetaTrader 5.

Source Code

яю/

.......

Leave your opinion, ask a question, share some knowledge

Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.