Join our fan page
Subtract Time - script for MetaTrader 5
- Published by:
- Pablo
- Views:
- 2307
- Rating:
- Published:
- 2023.04.16 15:04
- Updated:
- 2023.04.17 18:32
- Need a robot or indicator based on this code? Order it on Freelance Go to 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.
Commodity Channel Index using exponential moving averages.
Display trade history on charts (MT5)to display trade history files(.csv) on charts.
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 ManagementClose trades when the percentage profit or risk of the account is reached