You can try to use or to modify "MQL4: Period Converter" code.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Is there a way of programmatically setting timeframes not from the pull down? IN theory it should nto be difficult as anything could be a multiple of the one minute timeframe already available.
regards
dave