Explore the latest free tools from the MQL5 community. Here's a new indicator, expert advisor, or script for MetaTrader.

==================
1.Number of bars in the YR1 timeframe.
int iBars_YR1 (string Exchange);
iBarsYR (currency pair).
2.Number of bar by time in the YR1 timeframe.
int iBarShift_YR1 (string Exchange, datetime time, bool exact);
iBarShiftYR (currency pair, time value to search, returned value if bar was not
found (FALSE - iBarShift returns closest/TRUE - iBarShift returns -1)).
3.Opening time by the bar number in the YR1 timeframe.
datetime iTime_YR1 (string Exchange, int shift);
iCloseYR (currency pair, bar number).
4.Open price.
double iOpen_YR1 (string Exchange, int shift);
iOpenYR (currency pair, bar number).
5.High price of the selected bar in the YR1 timeframe.
double iHigh_YR1 (string Exchange, int shift);
iHighYR (currency pair, bar number).
6.Low price of the selected bar in the YR1 timeframe.
double iLow_YR1 (string Exchange, int shift);
iLowYR (currency pair, bar number).
7.Close price.
double iClose_YR1 (string Exchange, int shift);
iCloseYR (currency pair, bar number).
Recover from drawdowns intelligently with the Auto Recovery Expert Advisor for MT4/MT5. Perfect for hedging strategies. Learn more.
Level up your trading with professional RobotFX expert advisors and indicators. Visit robotfx.org for proven MT4/MT5 tools.
7295