How to use custom timeframes in MetaTrader. PeriodConvertor script

Published: 18.01.2019
Reading time: 9 minutes
how to use custom timeframes

Sometimes it becomes necessary to change the standard time frame of the MT4 platform to a different, custom one. This may be due to the fact that some trading systems (indicators or experts) show the best results on other timeframes that differ from those offered in MT4.

Suppose that we need to set the H2 timeframe. To do this, do the following:

STEP 1. Open the Navigator by clicking the appropriate icon in the menu or by pressing CTR + N:


STEP 2. In the Scripts section, select PeriodConvertor and set it to the H1 chart:


STEP 3. Set the value to "2". This will correspond to the H2 timeframe (H1 x 2 = H2), as follows from this list:

1 minute x 2 = M2

1 minute x 3 = M3

1 minute x 4 = M4

5 minute x 4 = M20

1 hour x 2 = H2

1 hour x 3 = H3

4 hour x 2 = H8

and etc.


STEP 4. Now you need to set the timeframe we converted in the platform. To do this, open File / Open Offline:


STEP 5. In the window that opens, find and open the EURUSD, H2 time frame:


Now you can access the H2 timeframe for trading:


And although there is an inscription (offline) it does not affect the performance of the schedule, it will work and be updated, as well as standard timeframes.

Successful trading and profits to you!

Related Post
  • Alex
    Published: 01.02.2019 Reply to the message

    Thank You! *YAHOO*

  • Axel
    Published: 12.02.2019 Reply to the message

    where i can download this script bro ?

    • Daniel
      Published: 13.02.2019 Reply to the message

      This script is in each MT4

  • Raymond Emereuwa
    Published: 06.04.2019 Reply to the message

    Please Dan , send this script to me .

  • WildEagle
    Published: 22.04.2019 Reply to the message


  • Navdeep
    Published: 07.05.2019 Reply to the message

    Hi how’s going I like this system but does it feel like repaint %)

    Published: 26.10.2019 Reply to the message

    hi daniel,
    please provide me perriod convertor ex4 file.
    i want M10 timeframe in mt4,
    thanks. *IN LOVE*

  • Charles
    Published: 03.05.2021 Reply to the message

    I think after we close the metatrader 4 . and tomorrow turn on again, the time frame that we set use this method , the price of each pairs no update at all. still use the price yesterday before we close the apps

  • Thinus
    Published: 25.09.2021 Reply to the message

    please send thanks

Please enter your last name and first name
No spam, we promise
Message text
By submitting this form, you agree to the political confidentiality and rules of our site.