Join our fan page
- Views:
- 12881
- Rating:
- Published:
- 2013.01.21 15:46
- Updated:
- 2016.11.22 07:32
-
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
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1450
![Cronex_T_DeMarker_GF](https://c.mql5.com/i/code/indicator.png)
The trend indicator with divergence histogram.
![XMA_RLH](https://c.mql5.com/i/code/indicator.png)
The typical trend indicator drawn on the basis of three Moving Averages.
![Support Vector Machine Indicator](https://c.mql5.com/i/code/indicator.png)
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](https://c.mql5.com/i/code/expert.png)
The trading system drawn on the basis of the signals of the SuperWoodiesCCI indicator