Skip to content
All library documents

Displaying Ask and Bid Bars in an Inverted Price Chart

Article MQL5 code base

Summary

This indicator displays an inverted view of the current instrument's chart, showing Ask and Bid price levels as colored bars in a separate window. Its settings let users independently show or hide each side, choose colors and line styles, and set the displayed precision. The example defaults to showing both prices, using blue for Ask and red for Bid.

The document is a short description of a charting aid rather than a trading strategy or empirical study. It may help traders inspect the relationship between quoted Ask and Bid levels, but it gives no guidance on interpreting the display, measuring spread behavior, or making trade decisions from it. No testing evidence or performance results are provided.

Key ideas

  • The indicator plots Ask and Bid levels as colored bars in an additional chart window.
  • Users can toggle the display of each quote side and configure its color and line style.
  • A precision setting controls how many digits appear in the indicator display.
  • The document provides no strategy rules or evidence that the display improves trading results.

Tags

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