Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.10.10 10:36
Libraries

TimeSeries - Function Library for Working with Time Series - library for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
3501
Rating:
votes: 31
timeseries.mqh (11.54 KB)view

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 Software Corp.
Original code: https://www.mql5.com/ru/code/1008

InfoMarket InfoMarket

This is an informative script displaying data on the current trading pair in the chart window.

ColorStochastic ColorStochastic

Standard Stochastic shown as a color histogram.

i-AnyRange2 i-AnyRange2

The indicator of two unspecified time intervals.

Exp_ATR_Trailing Exp_ATR_Trailing

The Expert Advisor moves Stop Loss of the open position along the border of the channel built using ATR_Trailing.