MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Update to MetaTrader 4 build 722 and Test the VPS for Free
To post a new code, please log in or register

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

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

2013.08.02 19:27
DeMarker_HTF

DeMarker_HTF - indicator for MetaTrader 5

| English Russian Chinese Spanish Portuguese

Views:
2062
Rating:
votes: 18

Real author:

ycomp

Description:

DeMark's Oscillator with an option of setting a fixed timeframe for the calculation of the indicator in the input parameters.

//+-------------------------------------+
//| Indicator input parameters          |
//+-------------------------------------+ 
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Chart period
input uint DeMarker_Period=14;             // Averaging period
input int Shift=0;                         // Horizontal shift of the indicator in bars
This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 04.04.2008.

Image:

Figure 1. The DeMarker_HTF indicator

Figure 1. The DeMarker_HTF indicator

Translated from Russian by MetaQuotes Software Corp.
Original code: http://www.mql5.com/ru/code/1770