• 概述
  • 评论
  • 评论 (1)

Custom HLOC pro

The library has been designed for background generation of non-standard timeframes' history files and their application on the entire depth of the available history via the functions similar to standard MQL4 ones used to access the time series. Standard timeframes' data can also be used.

Unlike Custom HLOC containing only some of the functions, the current product contains all function equivalents for accessing the time series. Also, this product allows you to generate history files for any timeframes except 30-day one and the ones multiple to a month. The detailed description of the library functions can be found in the documentation (in Russian).


Importing Library Functions

(in brief)

#import "\\Market\\CustomHLOC-pro.ex4"
void SetPathLib(string path);
string GetLibInfo();
void InitHistory(string symbol,uint timeframe);
int uBars(string symbol,uint timeframe);
datetime uTime(string symbol,uint timeframe,int shift);
double uHigh(string symbol,uint timeframe,int shift);
double uLow(string symbol,uint timeframe,int shift);
double uOpen(string symbol,uint timeframe,int shift);
double uClose(string symbol,uint timeframe,int shift);
long uVolume(string symbol,uint timeframe,int shift);
int uBarShift(string symbol,uint timeframe,datetime time,bool exact=false);
int uHighest(string symbol,uint timeframe,ENUM_SERIESMODE type,int count=WHOLE_ARRAY,int start=0);
int uLowest(string symbol,uint timeframe,ENUM_SERIESMODE type,int count=WHOLE_ARRAY,int start=0);
int uCopyRates(string symbol,uint timeframe,int start_pos,int count,MqlRates &rates_array[]);
int uCopyRates(string symbol,uint timeframe,datetime start_time,int count,MqlRates &rates_array[]);
int uCopyRates(string symbol,uint timeframe,datetime start_time,datetime stop_time,MqlRates &rates_array[],bool full_bar=false);
int uCopyTime(string symbol,uint timeframe,int start_pos,int count,datetime &time_array[]);
int uCopyTime(string symbol,uint timeframe,datetime start_time,int count,datetime &time_array[]);
int uCopyTime(string symbol,uint timeframe,datetime start_time,datetime stop_time,datetime &time_array[],bool full_bar=false);
int uCopyOpen(string symbol,uint timeframe,int start_pos,int count,double &open_array[]);
int uCopyOpen(string symbol,uint timeframe,datetime start_time,int count,double &open_array[]);
int uCopyOpen(string symbol,uint timeframe,datetime start_time,datetime stop_time,double &open_array[],bool full_bar=false);
int uCopyHigh(string symbol,uint timeframe,int start_pos,int count,double &high_array[]);
int uCopyHigh(string symbol,uint timeframe,datetime start_time,int count,double &high_array[]);
int uCopyHigh(string symbol,uint timeframe,datetime start_time,datetime stop_time,double &high_array[],bool full_bar=false);
int uCopyLow(string symbol,uint timeframe,int start_pos,int count,double &low_array[]);
int uCopyLow(string symbol,uint timeframe,datetime start_time,int count,double &low_array[]);
int uCopyLow(string symbol,uint timeframe,datetime start_time,datetime stop_time,double &low_array[],bool full_bar=false);
int uCopyClose(string symbol,uint timeframe,int start_pos,int count,double &close_array[]);
int uCopyClose(string symbol,uint timeframe,datetime start_time,int count,double &close_array[]);
int uCopyClose(string symbol,uint timeframe,datetime start_time,datetime stop_time,double &close_array[],bool full_bar=false);
int uCopyTickVolume(string symbol,uint timeframe,int start_pos,int count,long &volume_array[]);
int uCopyTickVolume(string symbol,uint timeframe,datetime start_time,int count,long &volume_array[]);
int uCopyTickVolume(string symbol,uint timeframe,datetime start_time,datetime stop_time,long &volume_array[],bool full_bar=false);
#import
无评论