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

Marginal Drawdown Contribution Analyzer - MetaTrader 5용 스크립트

Real Author
게시자:
Cristian David Castillo Arrieta
Cristian David Castillo Arrieta
재무 및 국제 비즈니스 전문가로 재무 관리를 전공했습니다. MQL5와 Python 독학 개발자로서 알고리즘 트레이딩, 멀티에셋 포트폴리오 구축, 정량적 리스크 관리에 집중하고 있습니다.
저의 작업은 개별 전략이 아닌 조율된 포트폴리오로 작동하는 Expert Advisor의 설계, 최적화 및 검증에 중점을 두고 있습니다. 상관관계 분석, 시간대 커버리지 매핑, 자산군 분산화를 적용하여 단일 상품이나 단일 접근 방식에 의존하지 않는 시스템을 구축합니다.
조회수:
165
평가:
(1)
게시됨:
MarginalDD.mq5 (25.91 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동



Standalone drawdowns and correlation matrices do not show which configuration of a multi-configuration portfolio deepens its drawdown. This script answers that question from daily results.

The script reads one of three sources and prints a full report in the Experts tab:

  • Drawdown added: The portfolio maximum drawdown minus the drawdown without the configuration (leave-one-out).
  • Share of the worst drawdown: The configuration's result between the peak and the trough of the portfolio's worst drawdown, as a share of that loss.
  • Euler variance share: Cov(x_i, P) / Var(P), shown next to the share of net profit.
  • A composite score (A+ to F): It combines drawdown compression, risk spread, drag-free share, and net profit to drawdown, with KEEP, REDUCE, and REMOVE verdicts and written recommendations.

Input. Select the source with InpSource. The demonstration source builds a reproducible portfolio of 12 configurations over 520 trading days, so the output is visible immediately. The account source reads the trading deals of the current account (profit + swap + commission + fee) and groups them by magic number, or by magic number and symbol. Deals closed by hand (magic 0) are assigned to the magic of the deal that opened the position. The CSV source reads a file from MQL5\Files with the header Date,Config,Profit and one row per closing deal or per day. The separator (comma or semicolon) is detected from the header, and numbers with spaces, a decimal comma, or accounting brackets are accepted.

Parameters. InpMinDays sets the minimum sample. InpReduceRatio and InpImproveMin control the REDUCE verdict, and InpMaxWindowShare controls the worst-drawdown alert. InpCompTarget, InpNeffTarget, InpDragTol, and InpRetDDTarget scale the four score dimensions. The four weights and the five grade boundaries are inputs too.

GDS Renko Trade Manager — MetaTrader 5 GDS Renko Trade Manager — MetaTrader 5

A manual-trade manager for MetaTrader 5: completed Renko bricks, configurable break-even and trailing Stop Loss, plus an on-chart Renko dashboard. No automatic entries.

CLiveTradeInfo - CHistoryTradeInfo CLiveTradeInfo - CHistoryTradeInfo

The library reconstructs a complete MQL4-style order model on top of the native MQL5 Position, Order, Deal, and History APIs. This design allows legacy MQL4 Expert Advisors to operate with minimal code changes while preserving MQL5.

Monday Dip EA- Index Mean Reversion D1 Monday Dip EA- Index Mean Reversion D1

Monday Dip EA is a quantitative, time-based long-only trading strategy designed primarily for major stock index CFDs (such as US500, UK100) with complete daily history. It operates purely as a time-restricted buy-on-dip system rather than a trend-following indicator.

ATR Monitor — Daily, Weekly and Monthly Range ATR Monitor — Daily, Weekly and Monthly Range

Displays daily, weekly and monthly ATR, the current high–low range, the range as a percentage of ATR, and price movement from each period's open.