Monte Carlo Risk Simulator

  • 유틸리티
  • Mohamed-amine Baddir
    Mohamed-amine Baddir
    MetaTrader 5용 Expert Advisor(EA)를 개발하고, 실제 거래에 사용하기 전에 충분히 테스트합니다.
    제가 제공하는 작업:
    고객의 전략, TradingView 스크립트 또는 문서화된 규칙을 깔끔한 MT5 Expert Advisor로 구현
    기존 EA 수정 및 문제 해결: % 기준 리스크 포지션 사이징, 트레일링 스톱, 세션 및 시간 필터, 스프레드 필터, 멀티 심볼 포트폴리오, 드로다운 보호 기능
  • 버전: 1.0

Monte Carlo Risk Simulator shows how much worse a backtest could have gone with the same trades in a different order, and what more or less risk per trade does to its growth and drawdown. It reads saved Strategy Tester reports or the history of your account, runs thousands of simulations and writes one HTML page.

How To Use

  • Backtests: in the Strategy Tester, right click on the Backtest tab > Report > save it as HTML into MQL5\Files\RiskSimulator (File > Open Data Folder).
  • Account: set "Trades to simulate" to the history of this account; filter by start date, magic number and symbol if needed.
  • Attach Monte Carlo Risk Simulator to any chart. Open MQL5\Files\RiskSimulator\RiskSimulator.html in any browser. Choose the report and the number of simulations at the top of the page.

What The Page Shows

  • The balance of the test and a fan of simulated balances: the 5% to 95% band, the median and sample paths.
  • The distribution of the maximal drawdown of the simulations, with the drawdown of the test marked.
  • Headline figures: final balance and drawdown as tested, median drawdown of the simulations, the drawdown exceeded in 1 simulation out of 20, the share of simulations that lost half the starting balance, and the growth-optimal risk multiplier.
  • A table for 0.25, 0.5, 0.75, 1, 1.5, 2, 3 and 4 times the tested risk: final balance and drawdown in the tested order, median final balance, the final balance of the worst 5%, median and 95th percentile drawdown, the share of simulations with a drawdown over 20%, that lost half the starting balance, or that were wiped out.
  • A chart of median final balance and 95th percentile drawdown by multiplier.

How It Works

  • Each trade keeps its result as a percent of the balance before it. The simulations draw the trades at random with replacement (bootstrap) and compound them.
  • The multiplier scales that percent, like trading larger or smaller lots in proportion to the balance. A multiplier of 1 in the tested order reproduces the final balance and the maximal balance drawdown of the Strategy Tester report.
  • The simulations use a fixed seed, so the same report always gives the same page.

Good To Know

  • Closed trades only: the drawdown inside open trades is not included, and trades are assumed independent of each other.
  • A simulation shows what the same trades could have done; it does not say that future trades will be like them.
  • Up to 12 reports at once. Reports of any terminal language are read. The page is one file with no internet access needed.
  • The demo runs in the Strategy Tester: put saved reports into the common folder Files\RiskSimulator (File > Open Common Data Folder); the page is written when the test ends.
  • The utility reads files and history only. It does not trade and does not change any setting.
  • The screenshots show a test of an example strategy. They show the page, not trading results to expect.
  • To see how far each trade went against you and in your favour before it closed, and where a stop-loss could be, see Trade Excursion Analyzer by the same author.

Inputs

  • Trades to simulate: saved Strategy Tester reports, or the history of this account
  • Folder in MQL5\Files with the saved reports, or the report files separated by ;
  • Folder in the common Files folder of all terminals
  • Account history: from date, magic number, symbol
  • Page title
제작자의 제품 더 보기
Account Performance Report turns the history of your account into one HTML report that you open in any browser: balance and drawdown, the result of each Expert Advisor and each symbol, a daily P&L calendar, monthly returns and the usual statistics. The main figures are also shown on the chart, and the report is kept up to date while the terminal runs. How To Use Attach Account Performance Report to any chart of the account. It does not trade, so any symbol and timeframe will do. The report is wr
FREE
Prop Risk Guard
Mohamed-amine Baddir
Prop Risk Guard 는 계좌의 리스크 관리 규칙을 자동으로 적용합니다. 차트 하나에 추가하기만 하면 계좌의 모든 포지션을 감시합니다. 한도에 도달하면 포지션을 청산하고 대기 주문을 삭제한 뒤 거래를 잠급니다. 이를 통해 한 번의 큰 손실 거래나 통제 불능 상태의 EA가 평가 계좌 또는 펀딩 계좌의 규칙을 위반하는 것을 방지합니다. 일일 손실 한도 백분율, 고정 금액 또는 두 가지를 함께 설정할 수 있습니다(더 엄격한 한도가 적용됩니다). 하루 시작 시점의 잔액, 하루 시작 시점의 자산(Equity) 또는 두 값 중 더 높은 값을 기준으로 계산합니다. 일일 초기화 시간은 서버 시간을 기준으로 직접 선택할 수 있습니다. 거래 잠금은 다음 초기화 시점까지 유지되며, 초기화 후 거래가 자동으로 재개됩니다. 입금과 출금은 일일 손실로 계산되지 않습니다. 최대 드로다운 고정형: 초기 잔액을 기준으로 계산합니다. 트레일링형: 자산(Equity)의 최고 도달점을 기준으로 계산합니다. 초기
The Strategy Tester runs one Expert Advisor at a time. If you run several EAs on one account, their separate reports do not tell you the combined drawdown, the margin they need together, or whether the account can carry them at all. Portfolio Backtest Combiner answers that from the reports you already have. How It Works Backtest each Expert Advisor as usual and save the report as HTML (Strategy Tester > Backtest tab > right click > Report > save as HTML) into the MQL5\Files folder of the termina
Backtest Report Compare puts several Strategy Tester reports side by side on one HTML page: growth and drawdown curves on one chart, the main statistics in one table, the correlation of their daily results, monthly returns and results by weekday and hour. Use it to choose between Expert Advisors, between settings of one Expert Advisor, or to see which strategies lose on the same days. How To Use In the Strategy Tester, after each test: right click on the Backtest tab > Report > save it as HTML i
FREE
Trade Excursion Analyzer measures how far every closed trade went against you (maximum adverse excursion, MAE) and in your favour (maximum favorable excursion, MFE) before it closed. It reads saved Strategy Tester reports or the history of your account, measures each trade on the price history of your terminal and writes one HTML page: where your stop-loss could be, how much open profit your exits give back, and what a fixed stop-loss or take-profit would have changed. How To Use Backtests: in t
Optimization Robustness Map reads the results of a Strategy Tester optimization and shows whether the best pass sits on a plateau, where nearby inputs give similar results, or on a lone spike that a small change destroys. It draws a heat map of any two inputs, compares every pass with its neighbours, shows how each input moves the result and, when a forward period was tested, how well the back test predicted it. Everything is written to one HTML page. How To Use In the Strategy Tester, after an
FREE
Trade History to Excel turns saved Strategy Tester reports, or the trading history of your account, into a real Excel workbook (.xlsx). Every report goes into the same file: one summary row per report, every closed trade with its entry and exit price, every deal, and the results of each day and month with the balance. Dates are Excel dates, numbers are numbers, the header row is frozen and every sheet has filters, so you can sort, filter, build pivot tables and charts right away. How To Use Back
FREE
Backtest vs Live
Mohamed-amine Baddir
Backtest vs Live explains why an Expert Advisor earns a different amount live than in the Strategy Tester. It matches every live trade with its twin in the backtest, then splits the whole difference of the results, to the cent, into entry prices, exit prices, swap and commission, lots and currency conversion, trades the backtest made that live trading missed, and live trades the backtest never made. It can also compare two backtests, for example the same Expert Advisor with and without execution
필터:
리뷰 없음
리뷰 답변