Forex Trended Digital Oscillator MT4 Indicator

Forex Trended Digital Oscillator MT4 Indicator:

About the Forex Trended Digital Oscillator MT4 Indicator

Oscillators are, by nature, exemple of any trend information. This indicator is “trended”, meaning is it reacting to trend as well:

if the oscillator is in the UPPER part of the window, then trade only BUYs.

if the oscillator is in the LOWER part of the window, then trade only SELLs;

You can also choose to start trading when the trend begins (see Alerts)

Parameter description:

lookbackOsc : Period of the yellow line (the digital oscillator). (default = 14)
DSFast : Fast Period of the oscillator (default = 3)
DSSlow : Slow Period of the oscillator (default = 5)
BandFactor : Global factor of the periods of the oscillator (default = 0.5)
Trend Parameters :

trendPeriod : Period of the main trend. (default = 111)
trendNum : takes the average of the last “trendNum” bars of the MovingAverage. (default = 40)
MAStrength : Strength of the Moving Average. Higher value means a more “squashed” curve. (default = 6)
MAMode : Mode of the Moving Average. (default = MODE_SMA)
Alerts Parameters :

TrendBeginningAlert : when the upper or lower gray line is departed from extremums (0 or 100), the trend is considered to have begun. You can be alerted for that.
ExtremumsAlert : when the upper or lower gray line is touching the extremums (0 or 100) an alert can be sent.
AlertWaitEndOfBar : Wait for the end of bar to send Alert
extern bool AudioAlert : MT4 Alert
extern bool EmailAlert : Email Alert
extern bool PushAlert : Push (mobile) Alert

Test results:

Forex Trended Digital Oscillator MT4 Indicator

Copy and paste the file into the MQL4 Indicators folder of the Metatrader 4 trading platform.

You can access this folder from the top menu as follows:

File > Open Data Folder > MQL4 > Indicators (paste here)

Other forex trading Expert Advisors

Leave a Comment