거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
스크립트

Portfolio Scorer — Multi-EA Correlation and Coverage Analyzer - MetaTrader 5용 스크립트

조회수:
192
게시됨:
업데이트됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Portfolio Scorer evaluates multi-EA portfolios by measuring three dimensions: inter-strategy correlation, temporal coverage, and asset class diversity. It produces a composite grade from A+ to F.

The script reads daily P&L data from CSV files located in the MQL5\Files\ folder. If no files are found, it automatically generates sample data for five EAs (forex, index, metal, energy, and forex-JPY) so the user can see the full output immediately.

Input parameters:

InpFileList — comma-separated list of CSV filenames to analyze. Default: EA_EUR.csv, EA_NDX.csv, EA_XAU.csv, EA_OIL.csv, EA_JPY.csv.

InpSeparator — delimiter character used to split the file list. Default: comma.

InpMinDays — minimum number of trading days required per EA to be included in the analysis. Default: 60.

InpCorrThresh — absolute correlation threshold above which a pair is flagged as dangerously correlated. Default: 0.35.

InpWeightCorr — weight assigned to the correlation dimension in the composite score. Default: 0.50.

InpWeightCov — weight assigned to the coverage dimension. Default: 0.25.

InpWeightDiv — weight assigned to the diversity dimension. Default: 0.25.

Output (Experts tab):

Full NxN Pearson correlation matrix with threshold flags. Hour-by-hour coverage map (0-23 UTC) showing active EAs per hour. Weekday coverage breakdown (Mon-Fri). Composite score report with individual dimension scores and letter grade. Actionable recommendations based on detected weaknesses.

CSV format expected: Each file must have a header row followed by one row per trading day with four columns: Date, DailyPnL, TradeHour, TradeWeekday. A companion function (ExportDailyPnL) for generating these files from EA backtests is described in the accompanying article.

Attach the script to any chart and run. No specific symbol or timeframe is required — the script operates on CSV data, not on chart prices.


PorfolioScore Result


Candle Body Ratio Candle Body Ratio

An original indicator designed to analyze price action and provide buy/sell signals.

ASQ Divergence Detector ASQ Divergence Detector

ASQ Divergence Detector scans your chart for regular and hidden RSI divergences and marks them with color-coded, non-repaint arrows.

ASQ Spread Logger ASQ Spread Logger

Real-time spread monitor with statistics panel, CSV logging & alerts

ASQ Trading Journal Export ASQ Trading Journal Export

One-click CSV export of trade history with P&L, duration & stats