Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2013.01.21 15:46

TMA - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 18
tma.mq5 (5.21 KB)view

The real author:

Matias Romeo

Triangular Moving Average (TMA). The main weight goes for the average part of the price series. In fact, the Moving Average is a double smoothed simple Moving Average.

The simple Moving Averages' length depends on evenness or oddness of the chosen number of periods. Operations for TMA calculation:

  • 1. To the number of periods of Moving Average 1 is added.
  • 2. The received sum is divided to 2.
  • 3. If the result was released fraction, it is rounded up to a whole.
  • 4. The simple Moving Average of close prices with the number of periods obtained up to point 3 is calculated.
  • 5. Again using the value obtained up to point 3 the simple Moving Average calculated by point 4 is calculated. 

 This indicator was first implemented in MQL4 and published in Code Base at on 19.10.2007. 

Fig.1 The TMA indicator

Fig.1 The TMA indicator 

Translated from Russian by MetaQuotes Software Corp.
Original code:

Cronex_T_DeMarker_GF Cronex_T_DeMarker_GF

The trend indicator with divergence histogram.


The typical trend indicator drawn on the basis of three Moving Averages.

Support Vector Machine Indicator Support Vector Machine Indicator

This indicator uses support vector machines to analyse indicator data and signal future trades. Buy trades are signalled by a green ‘up’ arrow with sell trades signalled by a red ‘down’ arrow.

Exp_SuperWoodiesCCI Exp_SuperWoodiesCCI

The trading system drawn on the basis of the signals of the SuperWoodiesCCI indicator