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
Views:
4178
Rating:
(8)
Published:
2018.09.27 16:06
TMAGi.mq5 (14.91 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

TMAGi is an oscillator based on three moving averages and the +DI and -DI lines of the ADX indicator. It indicates the market state: uptrend/downtrend/flat.

There are seven configurable parameters:

  • ADX period - ADX calculation period
  • Fast MA period - fast MA calculation period
  • Middle MA period - middle MA calculation price
  • Slow MA period - slow MA calculation price
  • SMA slowing - SMA smoothing period
  • LWMA slowing - LWMA smoothing period
  • Applied price

Calculation:

TSMAGi = SMA(RAW, SMA slowing) TLWMAGi = LWMA(RAW, LWMA slowing)

where:

RAW = (Abs(FastMA - MiddleMA) + Abs(FastMA - SlowMA) + Abs(MiddleMA - SlowMA))*DI

FastMA = SMA(Applied price, Fast MA period) MiddleMA = SMA(Applied price, Middle MA period) SlowMA = SMA(Applied price, Slow MA period)

DI = PlusDI - MinusDI PlusDI,  MinusDI - +DI and -DI lines of ADX(ADX period)



Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21843

T3 T3

The T3 Moving Average indicator

NRMA NRMA

The Nick Rypoсk Moving Average indicator

Trend_Risk_Indicator Trend_Risk_Indicator

The Trend Risk indicator

Blue Renko Bars Blue Renko Bars

An indicator for constructing Renko bars in the chart sub-window.