time frames

 
hi all
kindly explain to me if it is possible to custome the timeframe for charts for example 5 hours 6 hours 720 minutes etc.
thanks
aftab
 
You can use 'Period_converter.mq4' script ("MQL4: Period Converter") to make nonstandard timeframes.

For example, to make M10 period you should:
1. Open M5 chart.
2. Attach the 'Period_converter.mq4' MQL4 file taken from the 'Script' list of the 'Navigator' window to the chart.
3. In the 'Common' tab, check 'Allow DLL imports' and clear 'Confirm DLL function calls'
4. In the 'Inputs' properties tab, please set 'ExtPeriodMultiplier' variable value to 2 (you'll get M5*2 = M10 data).
5. Click OK
6. Open M10 chart in offline mode ('File -> Open Offline' menu). M10 chart will be updated every 2 sec (by default) during M5 chart with the attached 'Period_converter.mq4' script is opened.
 
i'm using the period converter to get a 6hr chart but i only get 360 bars of data. Is there a way to get more past data? If so how?
Reason: