Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter üzerinde bulun!
Fan sayfamıza katılın
Kodu ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Kodu beğendiniz mi? MetaTrader 5 terminalinde deneyin
Komut dosyaları

RealCost XAU Session Cost Snapshot MT5 - MetaTrader 5 için komut dosyası

Görüntülemeler:
476
Derecelendirme:
(1)
Yayınlandı:
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

RealCost XAU Session Cost Snapshot MT5 overview

RealCost XAU Session Cost Snapshot MT5 is a small open-source MetaTrader 5 script for checking the current chart symbol before trusting a backtest.

It is useful for XAUUSD, GOLD, and other symbols where broker-specific contract settings can materially affect a short-term EA test.

The script prints a compact report and can write a local CSV key/value file with:

  • bid and ask
  • current spread in points
  • digits and point size
  • tick size and tick value
  • contract size
  • minimum, maximum, and step lot
  • stop level and freeze level
  • long and short swap
  • trade mode
  • filling mode
  • order mode
  • profit and margin currencies
  • account balance, equity, currency, and leverage

Why this is useful

XAUUSD and GOLD symbols can differ between brokers. The symbol name, contract size, tick value, volume step, stop level, freeze level, spread, commission assumptions, and server time can all change the meaning of a Strategy Tester result.

Before comparing an EA result across brokers, it is useful to record the exact symbol settings.

Suggested workflow

  1. Open the broker's XAUUSD or GOLD chart.
  2. Run the script.
  3. Save the log or CSV output.
  4. Compare the values with the symbol used in your Strategy Tester report.
  5. Use realistic spread, commission, leverage, and server-time assumptions before trusting the final test.

Boundary

This is not a trading robot. It does not open trades, modify orders, close positions, use DLLs, use WebRequest, or provide buy/sell signals.

The script records a snapshot only. It does not measure slippage or future spread behavior. For spread distribution over time, use a spread logger and compare the CSV rows across brokers or sessions.

Profit Concentration Analyzer Profit Concentration Analyzer

A native MQL5 script that measures how concentrated a strategy's profit is — whether the edge is broad or rests on a few lucky trades. It reads a per-trade CSV (Date,Profit) and reports the share of net profit from the largest trades, the Gini coefficient of the winners, a concentration profile, a survival test that removes the best few trades and recomputes net profit and profit factor, and the largest single day versus a configurable consistency limit, combined into a concentration-and-consistency score (A+ to F) with recommendations. If no file is found it generates a sample set, so it runs out of the box. No external libraries, no Python, no AI. The helper ExportTrades.mq5 writes the file from your trade history.

Drawdown DNA Analyzer Drawdown DNA Analyzer

A native MQL5 script that analyzes the structure of an account's drawdowns, not just the single "maximum drawdown" figure. It reads a daily equity curve (Date,DailyPnL CSV), rebuilds the underwater curve, and splits it into individual drawdown episodes with their depth, duration and recovery time. It then reports the Ulcer Index, Pain Index, Recovery Factor and time spent underwater, and combines them into a single resilience score (A+ to F) with recommendations, printed in the Experts tab. No external libraries; if no file is found it generates a sample curve so it runs out of the box.

Premium Discount Range Mapper Premium Discount Range Mapper

A lightweight educational MetaTrader 5 indicator that maps Premium, Equilibrium and Discount areas from a selected market range.

MACD Signals MACD Signals

Indicator edition for new platform.