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 | Trading Tool Update

Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.

Image for Period converter


The script is designed to create a non-standard symbol period based on the use of the standard period. For example, to create an H3 period of the selected symbol, it is necessary to:

  1. Open the H1 chart.
  2. Attach the 'Period_converter.mq4' script from the "Scripts" folder of the "Navigator" window to the chart.
  3. In the "General" tab flag the "Allow DLL imports" and unflag the "Confirm DLL function calls" parameter.
  4. In the "Inputs" tab of the script set the value 3 for the "ExtPeriodMultiplier" variable (to get the period H1*3 = H3).
  5. Press OK.
  6. Open the H3 chart in offline mode ("File - Open Offline"). The H3 chart will be updated every 2 seconds (by default) when the H1 chart is opened and the 'Period_converter.mq4' is attached to it.


Experience adaptive trading with the Fluid Expert Advisor for MT4/MT5. Dynamic money management and trend detection. Click for info.

Complement community code with advanced automation from RobotFX.

7935

Best MetaTrader Indicators + Profitable Expert Advisors