Assista a como baixar robôs de negociação gratuitos
Encontre-nos em Twitter!
Participe de nossa página de fãs
Participe de nossa página de fãs
Script interessante?
Coloque um link para ele, e permita que outras pessoas também o avaliem
Coloque um link para ele, e permita que outras pessoas também o avaliem
Você gostou do script?
Avalie seu funcionamento no terminal MetaTrader 5
Avalie seu funcionamento no terminal MetaTrader 5
- Visualizações:
- 20831
- Avaliação:
- Publicado:
- 2016.04.26 16:28
-
Precisa de um robô ou indicador baseado nesse código? Solicite-o no Freelance Ir para Freelance
Author: Matias Romeo
The main weight goes for the average part of the price series. In fact, they are double-smoothed simple moving averages. The simple Moving Averages' length depends on evenness or oddness of the chosen number of periods. Operations for TMA calculation:
The main weight goes for the average part of the price series. In fact, they are double-smoothed simple moving averages. 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.
![](https://c.mql5.com/18/16/indicator_tma.gif)
Traduzido do russo pela MetaQuotes Ltd.
Publicação original: https://www.mql5.com/ru/code/7375
![TD_Points&Lines_mgtd1](https://c.mql5.com/i/code/indicator.png)
DeMark indicator - changed the rendering of the TD lines.
![TDI-2](https://c.mql5.com/i/code/indicator.png)
The "Trend Detection Index" indicator is a modified "TDI" indicator.