Watch how to download trading robots for free
Find us on Twitter!
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:
6472
Rating:
(12)
Published:
2018.12.18 19:09
TMACD.mq5 (12.88 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Triangular Moving Average Convergence/Divergence oscillator - MACD based on TriMA.

It has four inputs:

  • Fast TriMA period - fast TriMA period
  • Slow TriMA period - slow TriMA period
  • Signal period - signal line period
  • Applied price

Calculation:

TMACD = SMA(FastMA, PeriodFast) - SMA(SlowMA, PeriodSlow))

Signal = SMA(TMACD, Signal period)

where:

FastMA = SMA(Applied price, PeriodFast)

SlowMA = SMA(Applied price, PeriodSlow)

PeriodFast = Floor(Fast TriMA period/2)+1

PeriodSlow = Floor(Slow TriMA period/2)+1

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

Executor AO Executor AO

Expert Advisor based on iAO (Awesome Oscillator, AO)

Double_Top Double_Top

Double Top indicator

SuperTrend SuperTrend

SuperTrend indicator

Smoothed_Momentum Smoothed_Momentum

Smoothed Momentum indicator