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

votes: 15
2015.12.11 10:30

The converter of the tick files created with the Ticks collector into different data representation formats.

During the operation of the Ticks collector special tick files are created (TKS type). The main usage of the TKS files — creating non-standard charts in the MetaTrader 4. Those can be offline charts as well as non-standard strategy tester files.

Nevertheless, there is still a range of problems that can be solved with the real tick history at hand. The rest is up to the toolset. The ConvertTicksFile script tried to fill in that gap. It provides three ways of processing the tick files:

1. A simple rewriting of the data into a CSV file (a usual text file, that may be opened with either the Notepad or by using the Excel).

The resulting file will look like this:

The first column — date/time of the tick, the second — Bid price, the third — Ask price.

2. Into candlesticks of the specified chart period.

The data, as in the precious case, is written into a CSV file in such a format, that can later be read by the MetaTrader 4 terminal during a quotes import (Tools - History Center).

3. Into candlesticks of the specified chart period with a direct write of the quotes into the MetaTrader 4 terminal history.

Data is written directly into the HST files of the terminal. As a result, it is possible to change the current quotes history used by the terminal, which requires great caution from the user.

This method, for example, allows to fill in the gaps in the quotes history. So, if there is such a "gap":

then after the operation of the script and with the corresponding tick history file, the "gap" ceases to be such.

The full description of the script — Conversion of the tick stream files.

Translated from Russian by MetaQuotes Software Corp.
Original code:

ZigZag Signal ZigZag Signal

Signal based on the ZigZag indicator.

Ticks Volume Indicator 1.1 Ticks Volume Indicator 1.1

A small improvement of the little known TVI indicator (

On the MaZi On the MaZi

The Expert Advisor is based on the "On the MaZi" strategy.

ClusterBox - vertical cross-section of the market ClusterBox - vertical cross-section of the market

Tick volume of the candlestick drawn as clusters.