Real author:
ycomp
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 barsThis indicator was first implemented in MQL4 and published in Code Base at mql4.com on 04.04.2008.
Figure 1. The DeMarker_HTF indicator