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

Monte Carlo Drawdown from Your Account History, with Capital Check - MetaTrader 5용 스크립트

Frederick David Diaz Arenas
Frederick David Diaz Arenas
  • MT5 & NinjaTrader 8 Developer | Strategy Validation 에  Global Traders
  • 칠레
  • 137
I turn your trading rules into a working Expert Advisor for MetaTrader 5 (or a NinjaTrader 8 strategy), and I test whether the strategy has a real edge before you risk money.
What I can do for you:
조회수:
89
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Your historical drawdown is only one possible path. The same trades in a different order could have produced a deeper one. This script shuffles your trades thousands of times and shows how deep the drawdown can realistically get, and whether your account size can carry it.

Simulated drawdown histogram with p50, p95 and p99 lines

It reads the closed trades directly from your account history (with optional filters by symbol, magic number and dates) or from a CSV file in Common\Files. No other tool is needed.

Results:

  • Historical maximum drawdown and the 50th, 95th and 99th percentiles of the simulated drawdowns.
  • A second variant that also removes a random share of trades, to test dependence on a few big winners.
  • Profit percentiles and the probability of touching a chosen loss (for example 5 % of the account).
  • Capital check: for your account size and maximum acceptable drawdown, it says whether the account supports the strategy, the maximum position-size factor and the minimum capital needed.

The results are printed in the Experts log, saved to a CSV file and drawn on the chart as a histogram. Each percentile line has its own line style and label, so the chart does not rely on colour.

It also writes a readable HTML report to Common\Files (English or Spanish): results explained in plain language, a big YES/NO capital check, the histogram as SVG and a short limitations section. Open it in a browser or print it to PDF.

Limitations: it uses closed trades only, so it does not see floating drawdown inside a trade, and it treats trades as independent.

OnTester Robustness Score with Simulated Commission and Trade CSV Export OnTester Robustness Score with Simulated Commission and Trade CSV Export

A custom OnTester() criterion that ranks optimisation passes by net profit factor, number of trades, drawdown and equity-curve linearity. Includes simulated commission, trade export to CSV and a readable HTML report.

Smart Money Concepts MT5 Smart Money Concepts MT5

Smart Money Concepts MT5 — BOS / CHoCH structure, Order Blocks, Equal Highs/Lows, Fair Value Gaps and Premium/Discount zones. MT5 adaptation of the MAJID Smart Money Concepts indicator, free for non-commercial use under CC BY-NC-SA 4.0.

ATR Stop Loss Take Profit Levels ATR Stop Loss Take Profit Levels

ATR stop loss and take profit levels for Gold (XAUUSD) and any symbol on MT5. Draws the stop and two targets from the ATR for a buy at the ask and a sell at the bid, with the lot for your risk in percent of the balance. Open source code.

Pivot Points Daily Weekly Monthly Pivot Points Daily Weekly Monthly

Pivot points for Gold (XAUUSD) and any symbol on MT5. Classic or Fibonacci P, R1 to R3 and S1 to S3 from the previous day, week or month, one set per period, with an optional alert when a candle closes across a level. Open source code.