Join our fan page
- Views:
- 7178
- Rating:
- Published:
- 2012.10.10 10:36
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Function Library for Working with Time Series
The following equivalents of MQL4 functions are available: iTime, iOpen, iHigh, iLow, iClose, iHighest, iLowest and iBarshift.
Short invocation version is available for all functions (with the current chart's symbol and period).
iHighest and iLowest are available in 2 versions: "from bar X to bar Y" and "from time X to time Y".
Header
#include <TimeSeries.mqh>
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1008
![InfoMarket](https://c.mql5.com/i/code/script.png)
This is an informative script displaying data on the current trading pair in the chart window.
![ColorStochastic](https://c.mql5.com/i/code/indicator.png)
Standard Stochastic shown as a color histogram.
![i-AnyRange2](https://c.mql5.com/i/code/indicator.png)
The indicator of two unspecified time intervals.
![Exp_ATR_Trailing](https://c.mql5.com/i/code/expert.png)
The Expert Advisor moves Stop Loss of the open position along the border of the channel built using ATR_Trailing.