Multiple timeframes in one window.

 
Hi, does anyone know how to place two or more different Timeframes in one single chart window?
An example is, i can have daily and hourly current price data in one window.
I'm not familiar with codes, Hope you can help me. Thanks!
 

Very Easy, here a example how to write datas in array:


for(int i=0; i<Bars-2; i++)ValuesTimeframe1[i]=iOpen(symbol,Timeframe1,i);
for(int i=0; i<Bars-2; i++)ValuesTimeframe2[i]=iOpen(symbol,Timeframe2,i);
You can choose which Data you want have with the parameters from the i...() Functions.
 
Thanks Heino for sharing! but as i mentioned i'm not familiar with codes...can you show me how to do this step by step in meta-editor? if theres a ready made code i really would appreciate it so that i could just copy&paste it and compile. The multiplew timeframe code is a "script" right? pardon me i'm really am not good at codes. :)