Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Scripts

Subtract Time - script pour MetaTrader 5

In this script you have comment with time subtraction and ticks counter.
Publié par:
Pablo
Vues:
2275
Note:
(6)
Publié:
2023.04.16 15:04
Mise à jour:
2023.04.17 18:32
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

With this short piece of code you are going to learn how to subtract the time.
it may be very useful to time your trades entrances and exits, also to make up strategies based on time.

I use a tick counter to execute the subtraction.
Notice that the initial date is: 1970.01.01 00:00:00 and you may use it as a parameter for your calculations.

---
To use it just grab it to your chart and you're gonna see the Comment on your screen with such information.

    Exponential Commodity Channel Index Exponential Commodity Channel Index

    Commodity Channel Index using exponential moving averages.

    Display trade history on charts (MT5) Display trade history on charts (MT5)

    to display trade history files(.csv) on charts.

    Tick Speed Indicator Tick Speed Indicator

    This example was created to see how long it takes to reach 100 ticks. So this indicator is a seconds / "centick" (centick = 100 ticks). It helps you trade orders flow.

    Money Management Money Management

    Close trades when the percentage profit or risk of the account is reached