Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 21686
- Note:
- Publié:
- 2016.04.26 16:28
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur 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.

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/7375

DeMark indicator - changed the rendering of the TD lines.

The "Trend Detection Index" indicator is a modified "TDI" indicator.