Skip to content
All library documents

Displaying Arbitrary-Second Bars on a Standard Chart

Article MQL5 code base

Summary

This indicator draws bars or candlesticks for a user-selected interval measured in seconds. Its settings include the interval and the number of days to calculate; requesting more historical days can make calculation take longer. The author says the resulting candlesticks appeared correct when compared with charts from a reference utility, though no detailed validation results are provided.

The document emphasizes that this is a visual indicator rather than a full seconds-based chart. Other indicators cannot be applied to the generated bars in a way that reads their values: they instead use the underlying chart’s timeframe. As a result, the display can help inspect price movement at a custom seconds interval, but it does not create a complete charting environment for analysis or automated strategies. The source offers no trading rules or evidence that seconds-based viewing improves trading outcomes.

Key ideas

  • The indicator draws bars or candlesticks using a configurable interval in seconds.
  • Users can set how many historical days to calculate, and larger ranges may take longer.
  • A comparison with a reference utility is reported, but detailed validation evidence is absent.
  • The display is not a complete seconds chart, and other indicators read the underlying chart timeframe.

Tags

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