CodeRe: Moving Average indicators for MT4

3775
Relative Slope (RELS) Indicator with All Averages

This is the relative slope indicator:

Authored by Dimitris Tsokakis, the relative slope uses an Exponential Moving Average of the typical price (HLC/3), usually set to a 20-period EMA, though this can be adjusted. For each calculated value, it subtracts the previous value and divides the result by the total of the two values.
Finally, these outcomes are smoothed again using a 3-period EMA.

A common system for trading the RELS would be to buy when it has turned "positive":

RELS > 0 AND RELS.1 <= 0

and sell when it turned negative:

RELS < 0 AND RELS.1 >= 0


Formula

X = ema((HI+LO+CL)/3, P); Y = 2 * (X - X.1) / (X + X.1); RELS = 100 * ema(Y, 3); where: P=period parameter (user supplied, default=20) X=working variable Y=working variable HI=high LO=Low CL=Close EMA=exponential moving average function RELS=relative slope indicator

Left ema and typical price by default but added more averages and prices to choose. Have noticed for every average you will possibly need a different period to get good results.

These users thanked the author mrtools for the post (total 13):
RodrigoRT7, Errør314159, Cagliostro, thomdel, Jimmy, ManilaSpurs, Akela, macd & rsi, kvak, Krunal Gajjar, talaate, Batoum, Ricstar_8


CodeRe: Moving Average indicators for MT4

3776
Guppy MMA (Multiple Moving Average) Oscillator

This is an updated version of Mladen's guppy mma oscillator.

Attached is a pdf explaining the oscillator (see page 17 or 18 of the pdf).

PS: There is also another fairly modern version over here and an MT5 version has now been made, too: Guppy MMA for MT5.

These users thanked the author mrtools for the post (total 12):
Errør314159, RodrigoRT7, Sutatong, talaate, Jimmy, 太虚一毫, Krunal Gajjar, moey_dw, macd & rsi, eduarescobar, FXSurf, Ricstar_8