Period Converter script for MetaTrader 4

Use this script to make nonstandard timeframe of symbol based on standard timeframe. For example, to make 3-hours timeframe H3 for selected symbol you should:

  1. Open H1 chart.
  2. Attach to chart ‘Period_converter.mq4’ MQL4 file from ‘Script’ folder of ‘Navigator’ window.
  3. On ‘Common’ tab check ‘Allow DLL imports’ and clear ‘Confirm DLL function calls’ checkbox.
  4. On ‘Inputs’ properties tab please set ‘ExtPeriodMultiplier’ variable value to 3 (you’ll get H1*3 = H3).
  5. Click OK.
  6. Open H3 chart in offline mode (‘File – Open Offline’). H3 chart will be updated every 2 sec (by default) while H1 chart with attached ‘Period_converter.mq4’ will be opened.

Period Converter script for MetaTrader 4

Free Download

Send Period Converter script for MetaTrader 4

MT4 Forex Robot Characteristics

Platform: Metatrader 4

Type: Script

Time frames: any.

How to install Screenshot Script in MetaTrader 4 / MT4:

Copy and paste the Period_converter.mql4 into the MQL4 Scripts folder of the Metatrader 4 trading platform.

Restart your MetaTrader 4 application (assuming it’s currently open) … or Launch your MetaTrader 4 application

You can access this folder from the top menu as follows:

File > Open Data Folder > MQL4 > Script (paste here)

On the left hand side, look for the “Navigator” window and under the “Common” tab, look into the “Scripts” section

Locate the indicator which you have just downloaded into the folder stated in Step 1

Drag (Click and drag) the Script onto the chart (when you want the task to be performed)

your task should now be executed…

Leave a Comment