Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 6362
- Rating:
- Published:
- 2016.04.26 14:50
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Set of functions for the YR1 timeframe.
==================
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).
==================
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).
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/7295
![ZZ_All Quotings 0-0070](https://c.mql5.com/i/code/script.png)
The script is designed for downloading history on all known currency pairs, metals, indices, CFD and for controlling "holes" in history.
![GentorCCIM](https://c.mql5.com/i/code/indicator.png)
The indicator draws the slow and fast ССI and colors bars for determining patterns and trends.