MQL4 Event Functions

Overview

This section details MQL4 functions for managing custom and timer events on charts. It complements predefined event handling.

Functions

  • **EventSetMillisecondTimer**
  • * Action: Launches a high-resolution timer event generator with a period less than 1 second for the current chart. * Link: /eventfunctions/eventsetmillisecondtimer
  • **EventSetTimer**
  • * Action: Starts a timer event generator with a specified periodicity for the current chart. * Link: /eventfunctions/eventsettimer
  • **EventKillTimer**
  • * Action: Stops timer event generation for the current chart. * Link: /eventfunctions/eventkilltimer
  • **EventChartCustom**
  • * Action: Generates a custom event for a specified chart. * Link: /eventfunctions/eventchartcustom

    Related Concepts

  • [Types of Chart Events](/constants/chartconstants/enum_chartevents)