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:
12674
Rating:
(22)
Published:
2013.01.21 15:46
Updated:
2016.11.22 07:32
tma.mq5 (5.21 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 mql4.com on 19.10.2007. 

Fig.1 The TMA indicator

Fig.1 The TMA indicator 

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

Cronex_T_DeMarker_GF Cronex_T_DeMarker_GF

The trend indicator with divergence histogram.

XMA_RLH XMA_RLH

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