Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 5081
- Note:
- Publié:
- 2018.12.28 12:59
- Mise à jour:
- 2019.01.17 11:29
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Indicator Compare Prices uses a non-standard price with a logarithmic calculation.
It displays two lines: the initial Close price (green) and the one calculated based on the algorithm (red).
It has one input parameter:
- Prices shift - price shift for logarithm calculation.
Calculations:
MainPrice = Close
LogPrice = Close / (1.0+LOG10(ShiftClose / Close)
where:
LOG10 - logarithm to base 10
ShiftClose - Close Prices shift bars back
Fig1. Compare Price, Prices shift = 1
Fig. 2. Compare Price, Prices shift = 5
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/22797