MetaTrader

Custom MT4 Timeframes: Offline Chart Guide

Create and verify custom MT4 timeframes using offline charts, with clear limits on updates, converter scripts, timestamps and safe demo testing.

Pinned chart cards show a triangle formation and a double-top pattern beside a pencil.

MT4's standard chart buttons do not include every possible minute interval. Custom intervals are commonly produced by a period-converter script and opened as offline charts; they require a functioning data-conversion process and should not be mistaken for ordinary live charts.

Know the standard-versus-offline distinction

The desktop platform normally offers M1, M5, M15, M30, H1, H4, D1, W1 and MN timeframes. A three-minute or two-hour chart is not simply another standard toolbar setting. An offline chart reads a locally generated history series, and a converter may update that series while the terminal is running. Offline therefore does not necessarily mean permanently static, but it does mean you must verify how updates occur. This guide concerns desktop MT4, not an assurance that web or mobile versions can open the same files. Start with a demo terminal rather than experimenting on an account with open financial exposure.

Inspect the converter before using it

Some desktop installations include a PeriodConverter example script in Navigator; others may not, depending on the distribution and build. Check the official documentation and the files actually installed. Do not assume a similarly named internet download is an official component. If you use a script, inspect its source and documented inputs or obtain help from a trusted developer. This page supplies no binary and does not require disabling security controls. Back up the data folder and record the terminal build. A converter that writes a chart file should not require your broker password or unexplained DLL permissions.

Build a multiple of a base period

A conventional converter takes a base chart and a multiplier. For a three-minute study, a one-minute base with multiplier three is the usual concept; a two-hour chart can be formed from H1 with multiplier two. The exact script interface and persistence behavior depend on the implementation, so follow its documented steps. Attach only on demo, inspect the input and permission dialogs, and check the terminal's Experts and Journal messages. Then use File, Open Offline to look for the generated symbol-period combination. Keep the base chart and conversion process running if the script requires them; closing either can leave the custom chart frozen.

Verify aggregation with a numerical example

Suppose three consecutive one-minute candles have opens of 1.1000, 1.1004 and 1.1002, highs of 1.1006, 1.1008 and 1.1005, lows of 1.0998, 1.1001 and 1.0999, and a final close of 1.1003. The combined candle should open at 1.1000, reach a high of 1.1008, reach a low of 1.0998 and close at 1.1003. Check actual timestamps as well as prices. A converter starting from a different minute boundary can generate different candles. Missing source bars, stale history and broker-server offsets can alter the output even when the multiplier is correct.

Record the timestamp of the first aggregated bar and verify the next several boundaries. A three-minute series aligned at 09:00 differs from one aligned at 09:01. If the converter's boundary convention is undocumented, treat the output as unverified rather than assuming the candles match another platform's custom timeframe.

Check refresh, restart and indicator behavior

Compare the last custom-chart candle time with the source chart while new ticks arrive. Restart the terminal and verify whether the converter resumes automatically or requires reattachment. Test what happens after a disconnection. Do not assume an indicator, alert or expert adviser works on an offline chart simply because it draws something. Some programs expect standard periods or ordinary tick events and may fail silently. For historical research, the manual backtesting guide explains the need to preserve decision-time information. A frozen custom chart can create false confidence by showing a clean picture while the actual market has already moved elsewhere.

Use custom bars as a research choice

An unusual timeframe can reorganize data, but it does not create new market information or a trading edge by itself. Specify the aggregation boundary before comparing results, include costs and reserve later data for validation. Your acceptance checklist is to verify script provenance, multiplier, source history, candle arithmetic, update behavior and restart recovery. Keep an ordinary chart available to cross-check quotes, and avoid live order automation from an unverified offline series. The trading-hours guide also matters because session boundaries can shift the patterns you see. Consult official MT4 help for platform-specific behavior rather than relying on screenshots from an older build.

Put this guide in context

Use the metatrader library to place this topic in a wider learning plan. Compare it with Trading Chart Timeframes: Choose a Workflow before deciding what to practise.

For the next part of your review, read Custom Currency Sets in MT4 Market Watch. Keep your assumptions in a trading journal; related explanations are not proof that a setup will work.

To explore the neighbouring questions, compare MT4 Forex Brokers: Five Checks Before Choosing and MetaTrader 4 Android: Setup and Safety Checks. Use these as learning references, not as confirmation that any individual trade is justified.

Sources and further checking

Primary sources support factual checking; they do not endorse this publication. Examples are educational, not trade recommendations.

Continue your learning