Meta trader 4 , tips and tricks, period converter ?!!

Hello everyone..

In this blog I'm gonna explain how create additional time frame not supported by meta trader 4, we all know that meta trader only supports, M1,M5,M15,M30,H1,H4,D1,W1 and MN?!!

If we wanna create another time time not supported by meta trader such as H2 , H8 , D2 or yearly chart, then we need " period converter " indicator , by multiplying H1 with 2 we can get the H2 time frame for example..

First of all download P4L PeriodCon indicator from the link below:

then put the indicator in this directory :

C:\Program Files (x86)\MetaTrader 4\experts\indicators, If you use windows 7 64 bit or

C:\Program Files \MetaTrader 4\experts\indicators, If you use windows 7 32 bit

Remember MetaTrader 4 in program files might be your broker name !!

After that close meta trader and open it once again..

Now I'm gonna explain how to create the yearly chart:

1- Open new window with monthly time frame for any pair you want.

2- Go to custom indicators, look for P4L PeriodCon indicator, double click on it , under common, make sure that " Allow dll imports" is checked , under inputs, we will change period multiplier to 12 since we need the yearly chart which is 12 times of the monthly, then click OK.

3- Then go to File , choose "open offline " double click on it , then a small window will open, look for EURUSD x12,Monthly , and click on open, a new chart will open named "EURUSD x12,Monthly offline" now you can add your indicators or template or customize the chart as you want .

Note: You should keep the original chart that we added to it "P4L PeriodCon "indicator open , If you close it , then price won't move at the offline chart...


The last point , go to Tools> Options > Charts , we wanna change "Max bars in history & Max bars in chart " to the maximum number we can use for example : 9999999999 then OK!

We do this step to let meta trader use all the data in the history , this step is useful if you wanna create big time frames such as yearly or for back testing !!

If you don't have too much data in meta trader , simply you can download old data from meta quotes server , go to Tools> History center , click on the pair you want, then click the download button , and meta trader will start downloading old database from meta quotes server, It's recommended to use this step on a demo account...

Best Regards


Views: 9365

Comment by xtian21 on January 4, 2013 at 2:45am

Thank you so much

Comment by Rosdi Chik on January 4, 2013 at 3:59am

Dear Haitham..

How to create multiply TF in 1 screen


Comment by Haitham653 on January 4, 2013 at 7:45am

Hi Rosdi

You have 2 options:

1- You need MTF indicator, search google and you'll find a lot !!

2- The second tip is by multiplying the time frame on your screen with the time frame you want to show on your screen, example:

 If you open the 1 hour time frame and you wanna show the 50 EMA of the 4 hour on the 1 hour screen , 4 hour is 4 times of the 1 hour , then we multiply 50 with 4 = 200, so the 200 EMA on the 1 hour time frame is the same as the 50 EMA on the 4 hour chart, another example, If you wanna show the 20 SAM of the daily chart on the 1 hour chart, 20 X 24 = 480, so the 480 SMA of the 1 hour chart is exactly the same as the 20 SMA of daily chart...

And so on..!!!

Comment by Kurjanovich on January 4, 2013 at 9:37am

thanks for sharing this information )

Comment by spikeone on January 4, 2013 at 8:09pm

very useful.   how to add 10 second chart?

Comment by Jose on January 4, 2013 at 10:47pm

Hi Haitham,

Thx this, im set up.

are you know (or somebody) what is the method in android mt4?

(and change black backgound color in chart panel????.....)

Comment by Haitham653 on January 5, 2013 at 6:20pm

Hi Jose

Unfortunately,,Zoom into charts to check the close/open/high/low of previous charts.draw lines, change chart candle colors, back grounds, turn off grid etc!!!

All these basic features are missing!!

Metaquotes said "6 months ago" These problems will be resolved in the future!!! 


Comment by Vincent Kuan on January 6, 2013 at 9:08am

Thanks Haitham! very useful support. :)

Comment by Lucas Nguyen on November 20, 2014 at 2:53am

Dear Haitham,

I follow your guide but i cant open the indicator.

I added P4L indicator to "Custom indicator" in MQL4, after i restart MT4, P4l still cant not open. Please help me show this problem, i'm really interest with this indicator.

Thank you.

Comment by Haitham653 on November 20, 2014 at 5:59am

Hello Nguyen 

Mq4 files stopped working with MT4 starting from MetaTrader 4 Build 600, Meta quotes make such change , just to make trade execution faster than before ...

To make mq4 files work with MT4 , you need to compile them to ex4 files ..........

Anyway , you can download  P4L PeriodCon.ex4 from this link :

It works 100%.............If it doesn't work with you for any reason , tell me and I'll show you how to force it to work....   

Good luck 


You need to be a member of Forex Social Network to add comments!


© 2019   Created by FXStreet.   Powered by

Badges  |  Report an Issue  |  Terms of Service