• Overview
  • Reviews (2)
  • Comments (3)

Custom HLOC free

The library has been designed for background generation of non-standard timeframes' history files and their application via the functions similar to standard MQL4 ones used to access the time series.

In this free version of the library, the history of a generated file depends on the maximum number of the bars displayed in the chart window. There is also a paid version, in which non-standard timeframes' history files are generated for the entire available history depth, while availability of the standard timeframes' data does not depend on the number of the bars displayed on the chart. 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
Mohammad Soubra
26846
2016.05.09 03:57 
 

good

Rodrigo da Silva Boa
7123
2015.11.26 00:40 
 

User didn't leave any comment to the rating