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

Custom HLOC

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 Free using only available M1 chart data as the data source, the current product uses the entire minute history file of the appropriate symbol to generate non-standard timeframes' history file. Also, the product allows you to appeal to the data outside of the available chart bars both on standard and non-standard timeframes along the entire depth of the available history via the library functions. The detailed description of the library functions can be found in the documentation (in Russian).


Importing Library Functions

#import "\\Market\\CustomHLOC.ex4"
void SetPathLib(
string path // path to the library including the name
);
string GetLibInfo();
void InitHistory(
string symbol, // symbol
ENUM_TIMEFRAMES timeframe // timeframe
);
int uBars(
string symbol, // symbol
ENUM_TIMEFRAMES timeframe // timeframe
);
datetime uTime(
string symbol, // symbol
ENUM_TIMEFRAMES timeframe, // timeframe
int shift // shift
);
double uHigh(
string symbol, // symbol
ENUM_TIMEFRAMES timeframe, // timeframe
int shift // shift
);
double uLow(
string symbol, // symbol
ENUM_TIMEFRAMES timeframe, // timeframe
int shift // shift
);
double uOpen(
string symbol, // symbol
ENUM_TIMEFRAMES timeframe, // timeframe
int shift // shift
);
double uClose(
string symbol, // symbol
ENUM_TIMEFRAMES timeframe, // timeframe
int shift // shift
);
long uVolume(
string symbol, // symbol
ENUM_TIMEFRAMES timeframe, // timeframe
int shift // shift
);
#import

无评论