Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 4 Scripts | Period Converter | Source Code Included

Explore the latest free tools from the MQL5 community. Here's a new indicator, expert advisor, or script for MetaTrader.

Image for Period Converter


Use this script to make nonstandard timeframe of symbol based on standard timeframe. For example, to make 3-hours timeframe H3 for selected symbol you should:

  1. Open H1 chart.
  2. Attach to chart 'Period_converter.mq4' MQL4 file from 'Script' folder of 'Navigator' window.
  3. On 'Common' tab check 'Allow DLL imports' and clear 'Confirm DLL function calls' checkbox.
  4. On 'Inputs' properties tab please set 'ExtPeriodMultiplier' variable value to 3 (you'll get H1*3 = H3).
  5. Click OK.
  6. Open H3 chart in offline mode ('File – Open Offline'). H3 chart will be updated every 2 sec (by default) while H1 chart with attached 'Period_converter.mq4' will be opened.

Unique stair-step trend trading with the Stairsteps Expert Advisor. Innovative approach for consistent results. Learn more.

Level up your trading with professional RobotFX expert advisors and indicators. Visit robotfx.org for proven MT4/MT5 tools.

7936

Best MetaTrader Indicators + Profitable Expert Advisors