Period Converter Custom timeframe chart generator Source-verified data · REAL-DATA-SOURCE · mql5.com/en/code/7673

Period Converter Indicator

Custom non-standard timeframe chart generator · Continuously updating · Free · MT4

About Period Converter Indicator

The Period Converter indicator, documented on the MQL5 Code Base, is a MetaTrader 4 tool that creates an offline chart running a timeframe MT4 doesn't natively support — such as M3 or H6 — built from a lower, natively-available timeframe like M1 or H1.

Unlike the one-off "PeriodConverter" script that ships with MT4, this indicator version continuously updates the offline chart in real time rather than converting the data only once. It also offers two extra features: adjusting the time of each bar, and inverting or rescaling the price (e.g. to thousands). Once created, the offline chart behaves like any normal MT4 chart — most other indicators and EAs can be applied to it directly. The "period multiplier" input controls the conversion — e.g. setting it to 2 turns a 1-minute chart into a 2-minute one, or 1 hour into 2 hours.

Key Features

✓ Free and continuously updates — unlike MT4's built-in one-off conversion script
✓ Unlocks any custom timeframe from 1 minute onward, not just MT4's standard set
⚠ The resulting offline chart requires the indicator to remain running to stay updated in real time
Download EA WhatsApp Support Telegram Channel