Skip to content
All library documents

Inspecting Tick History and Bid–Ask Spread Changes

Article MQL5 code base

Summary

The document describes an indicator for viewing historical tick data, showing both Ask and Bid prices. Comparing the two series lets a trader inspect how the spread changes over time. It uses a date query to retrieve ticks and can display a selected number of ticks, with a timer controlling how quickly the history is updated on screen.

A default date is provided to view GBPUSD price action during a GBP decline, but the document gives no performance analysis or trading rules based on that example. The indicator’s inputs control the requested tick count, query date, refresh interval, and number of visible ticks. Its usefulness is therefore primarily visual and diagnostic: it can help examine quote history and spreads, but the source does not establish that such observations predict future price movements or improve execution.

Key ideas

  • The indicator displays historical Ask and Bid prices from tick data.
  • Comparing Ask and Bid makes spread changes visible.
  • Users can configure the tick count, query date, refresh interval, and visible history.
  • The example focuses on GBPUSD during a GBP decline but reports no strategy results.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.