Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Libraries

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

Views:
6957
Rating:
(38)
Published:
2012.10.10 10:36
Updated:
2016.11.22 07:32
timeseries.mqh (11.54 KB) view
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 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.