Skip to content
All library documents

Alerting When a New Trading Bar Appears

Article MQL5 code base

Summary

This document describes a simple indicator that signals when a new price bar has appeared. It offers two optional outputs: a platform alert and a sound played from a user-selected audio file. The listed settings let users enable or disable each output and choose the sound file.

The indicator is presented as a convenience for monitoring chart updates, and the document notes that it was first implemented in MQL4 and published in 2009. It does not explain how bars are detected, discuss alert timing or reliability, or provide trading rules or performance evidence. Its practical scope is limited to notifying users of a new bar, rather than generating market analysis or trade signals.

Key ideas

  • The indicator notifies the user when a new chart bar appears.
  • Alerts and sound playback can be enabled or disabled separately.
  • The sound output uses a configurable audio file.
  • The document gives no evidence that the indicator improves trading decisions or performance.

Tags

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