Simple tick data collector Indicator For MT4
The Simple tick data collector Indicator For MT4 is ideal for traders who do not have access to high frequency data. This simple indicator collects tick data for any symbol that you choose. The data file is saved in the sub-folder, expertsfiles.
Installing the Simple tick data collector Indicator For MT4
After you downloaded the indicator via the form above you need to unzip the zip-file. Then you need to copy the file TickDataCollector.mq4 into the folder MQL4\Indicators of your MT4 installation. After that please restart MT4 and then you will be able to see the indicator in the list of indicators.
Parameters of the Simple tick data collector Indicator For MT4
The Simple tick data collector Indicator For MT4 has 0 parameters to configure.
Buffers of the Simple tick data collector Indicator For MT4
The Simple tick data collector Indicator For MT4 provides 0 buffers.
Main Parts Of The Code
int start()
{
//int counted_bars=IndicatorCounted();
//----
if (handle gt 0) {
FileWrite(handle,iTime(symbol,PERIOD_M1,0), iOpen(symbol,PERIOD_M1,0),
iHigh(symbol,PERIOD_M1,0), iLow(symbol,PERIOD_M1,0),
iClose(symbol,PERIOD_M1,0), iVolume(symbol,PERIOD_M1,0));
}
//----
return(0);
}
//+------------------------------------------------------------------+