Skip to content
All library documents

Monitoring Live Trading Spreads with a Chart Indicator

Article MQL5 code base

Summary

This MetaTrader indicator displays the current bid-ask spread on a price chart and refreshes the reading with each incoming tick. It can also place a label near the bid line, making the spread visible alongside price. The document highlights its potential usefulness when broker spreads vary or widen frequently, since current transaction costs can affect trade decisions and execution.

Settings allow traders to choose pip-size handling and decimal precision, set a threshold for alerts, and select popup, sound, email, or mobile notification methods. Display options control the text’s placement, color, font, and whether it appears behind chart elements. These are monitoring and presentation features; the document gives no guidance on choosing a spread threshold, no evidence about alert reliability, and no strategy or performance evaluation. The displayed spread reflects the current quote and may change as market conditions and broker pricing change.

Key ideas

  • The indicator shows the current spread on a chart and updates it on each tick.
  • A label can be placed near the bid line for convenient viewing.
  • Users can configure pip-size handling and alerts when spread exceeds a chosen threshold.
  • The tool supports monitoring transaction costs but provides no trading strategy or performance evidence.

Tags

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