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

Period converter - script for MetaTrader 4

2016.06.30 17:20

     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 Ltd.
Original code:

Trade Trade

Trade - script sending BUY order and printing selected order data to the log.

LotSize LotSize

The EA suggests the optimal lot size depending on the deposit size.

Transfer trades from the tester report to the chart Transfer trades from the tester report to the chart

The script is designed to transfer trades from the standard report of the MetaTrader 4 tester to the chart.

Grouping account history Grouping account history

The script reads the list of deals from the account history, groups them by the sign specified in the parameters and outputs to a file.