Skip to content
All library documents

MT4 New-Bar Alerts and Notification Setup

Article MQL5 code base

Summary

This document explains an MT4 indicator that signals when a new chart bar appears. Users can enable popup, sound, email, and push notifications, and configure a chart label to show which alert types are active. It describes a conflict in MT4 where popup alerts suppress sound alerts when both are enabled, reducing the possible effective combinations of four binary settings to twelve. Alerts use broker time, and changing the chart timeframe or loading MT4 may trigger an alert unexpectedly.

The setup notes cover configuring mobile push notifications through a MetaQuotes ID and testing delivery in MT4, plus configuring email through an external mail setup. Optional sound choices require WAV files placed in MT4's sounds folder. The indicator can also work with many Renko and constant-range synthetic charts. This is an operational guide rather than a trading method; it gives no evidence about trading performance, and notes unresolved alert behavior and dependence on device, network, and platform setup.

Key ideas

  • The indicator can send new-bar notices through popup, sound, email, or mobile push alerts.
  • Enabling popup and sound together leaves popup active and disables the sound alert.
  • Changing timeframe or starting MT4 can produce an alert even without a new bar.
  • Mobile push and email delivery should be tested in MT4 before enabling indicator alerts.
  • Optional sound selections require corresponding WAV files in the MT4 sounds folder.

Tags

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