Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2016.06.30 17:20
Period converter

Period converter - script for MetaTrader 4

| English Español Português 日本語 Deutsch Русский

votes: 10

     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.

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.