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

Magic Number Scorecard - win rate, profit factor and drawdown per EA - MetaTrader 5용 스크립트

Muhammad Muqeem Korejo
Muhammad Muqeem Korejo
Hi, I'm Muhammad Muqeem Korejo, an MQL4/MQL5 developer from Pakistan with 1.5 years of trading experience.
I build and fix trading tools for MetaTrader 4 and MetaTrader 5:
• Expert Advisors (EAs) built from your strategy rules
• Custom indicators, alerts and on-chart panels
조회수:
47
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Every Expert Advisor marks its trades with a magic number. Magic Number Scorecard groups the closed trades of the account by magic number, so you get one score line per EA (magic 0 = manual trades). It is a quick way to see which EA really earns, and which one only looks busy.

Magic Scorecard on a Strategy Tester history with four magic numbers

For each magic number

  • trades, wins, losses and win rate
  • gross profit, gross loss and profit factor
  • net profit and average trade
  • best and worst trade
  • maximum drawdown of its closed-trade equity curve
  • symbols traded

The table is printed in the Experts journal, shown on the chart, and written to a CSV file in MQL5\Files that opens in Excel. The rows are sorted by net profit.

How the trades are counted

  • A trade is a closed position. All of its deals are added up: profit, swap, commission (entry and exit) and fee. A position closed in parts counts as one trade.
  • The owner of a position is the magic number of its opening deal, so an EA trade that you close by hand still counts for that EA.
  • Positions that are still open, fully or partly, are left out.

Inputs

Input Default Meaning
From / To 2000.01.01 / 0 history range, To = 0 means now
Only this symbol empty empty = all symbols
Write CSV file / CSV file name true / MagicScorecard.csv saved in MQL5\Files
Show the table on the chart true false clears the chart comment

Run the script on any chart. It only reads the account history and never trades.

Calendar News Filter - pause any EA around high-impact news Calendar News Filter - pause any EA around high-impact news

A small include file that tells your Expert Advisor when it is inside a news window, using the economic calendar built into MetaTrader 5. No web requests and no DLL.

Compression Breakout Channels with Buy and Sell Volume Compression Breakout Channels with Buy and Sell Volume

Finds volatility compressions as they form, boxes each one as a channel with ATR edge bands and marks the bar that breaks out of it. Inside the live channels: buy and sell volume split from M1 bars, drawn as candles and text, plus a gauge of the current volume delta. Breakout arrows in buffers for EAs.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.