iBarShift – library MetaTrader 5

Results of the iBarShift benchmark for the 5 versions.
There are a lot of users who searched for iBarShift function like in MQL4. But this function is not included in MQL5, mainly because MQL5 provides all necessary basic, low-level, functions to process such operation in a library. As an alternative, several programmers provided their MQL5 version. I found 4 different versions from circlesquares, komposter … Read more

Fast iBarShift and Bars for MT5 – library MetaTrader 5

iBarShift
There are many versions of the iBarShift functions for MetaTrader 5. However, this version is especially simple, fast, and correct. int iBarShift(const string Symb,const ENUM_TIMEFRAMES TimeFrame,datetime time,bool exact=false)   {    int Res=iBars(Symb,TimeFrame,time+1,UINT_MAX);    if(exact) if((TimeFrame!=PERIOD_MN1 || time>TimeCurrent()) && Res==iBars(Symb,TimeFrame,time-PeriodSeconds(TimeFrame)+1,UINT_MAX)) return(-1);    return(Res);   } As of the publication of this code, the integrated Bars function used … Read more

Volume Profile + Range v6.0 – indicator MetaTrader 5 (Fixed iBarShift Issue) – indicator MetaTrader 5

Volume Profile + Range v6.0 - indicator for MetaTrader 5 (Fixed iBarShift Issue) - indicator for MetaTrader 5
Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. The width of the histogram at the level means the number of transactions carried out on it. If a broker provides data on a real volume, the indicator is able to display distribution … Read more