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

Broker Tick and Rollover Spread Forensic Auditor - MetaTrader 5용 스크립트

Denis Remy Khansa
Denis Remy Khansa
Founder of Azimuth Studio — Compiled CPU Walk-Forward & Multi-EA Portfolio Studio for MetaTrader 5
조회수:
121
평가:
(1)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Why do many MetaTrader 5 strategies produce a smooth equity curve on OHLC M1 bars, yet hit unexpected Stop-Losses or breach daily floating drawdown limits on live accounts?

In practice, the discrepancy usually comes from three hidden factors inside historical broker tick feeds:
1. Rollover spread widening between 23:00 and 00:15 server time (often 3x to 8x wider than London liquidity).
2. Unnoticed weekday intraday feed blackouts (> 15 minutes) where stops jump across price gaps.
3. Inverted (Ask < Bid) or single-sided ticks in cached history containers.

How It Works (100% Read-Only, Zero DLLs, Memory-Safe):
Attach Azimuth_Tick_Audit_Exporter.mq5 to any chart in MetaTrader 5. It streams up to 120 months of real broker Bid/Ask ticks via CopyTicksRange in 15-day memory-safe chunks and produces:

1. Session-by-Session Real Spread Percentiles (Median P50 and P95 in Pips):
- London + NY Overlap (12:00 - 16:00)
- London Session (07:00 - 12:00)
- Asian Session (01:00 - 06:00)
- Rollover Window (23:00 - 00:15): Median, P95, Max spread, and exact Rollover Widening Ratio vs London.

2. Feed Integrity and Weekday Blackout Audit:
- Counts inverted quotes (Ask < Bid), out-of-order millisecond timestamps, and single-sided quotes.
- Detects weekday intraday feed blackouts above your threshold (ignoring weekend closures and Dec 25 / Jan 1 bank holidays) and prints the Top 3 longest blackouts with timestamps.

3. Clean Chunked CSV Export (Optional, Enabled by Default):
- Writes a standalone human-readable forensic report (MQL5\Files\TickAudit_SYMBOL_DATE.txt).
- Writes a clean UTF-8 millisecond tick CSV (MQL5\Files\Azimuth_SYMBOL_TICKS_DATE.csv) with self-describing symbol, digits, and contract metadata (#AZIMUTH_META) for quantitative Walk-Forward and slippage stress analysis.

Input Parameters:
- InpMode: Audit Real Ticks + Export Clean CSV | Audit Only (No CSV) | Export M1 OHLC + Spread CSV
- InpMonthsBack: History depth to analyze (1 to 120 months, default 12)
- InpCustomSymbol: Target symbol (empty = current chart; auto-resolves broker suffixes)
- InpGapThresholdMinutes: Minimum weekday blackout duration to flag (default 15 minutes)

- InpShowSummaryDialog: Display summary popup when completed

Azimuth_Tick_Audit_Chart_WhiteBG_750px.png


Azimuth_Tick_Audit_WhiteBG_750px.png

Relative Volume (RVOL) Indicator in a Subwindow Relative Volume (RVOL) Indicator in a Subwindow

Relative Volume (RVOL) in a subwindow: the volume of every bar divided by its normal volume, drawn as a color-coded histogram with reference levels and a live text label.

Point of Control (POC) and Value Area Lines for the Day Point of Control (POC) and Value Area Lines for the Day

Builds a volume profile for every day and draws its Point of Control (POC) and the Value Area boundaries (VAH and VAL) as horizontal lines on the chart. The levels of the current day are updated as the day develops.

Gold Donchian Breakout Channel (non-repainting, with HTF trend filter) Gold Donchian Breakout Channel (non-repainting, with HTF trend filter)

Donchian channel of the N bars before each bar, midline and confirmed breakout arrows that never repaint. Optional D1 EMA-slope filter shows only breakouts in the higher-timeframe trend. Alerts and push. Any symbol.

Volatility Squeeze Scanner — Bollinger inside Keltner, with momentum histogram Volatility Squeeze Scanner — Bollinger inside Keltner, with momentum histogram

Shows when volatility is compressed (Bollinger Bands inside the Keltner Channel) and which way it releases. Red dots = squeeze on, green = released, four-colour momentum histogram. Wilder ATR, closed bars, no repaint.