Download MetaTrader 5

Time difference between two indexes.

To add comments, please log in or register
Morgan Morden
682
Morgan Morden  

How do I get the time difference from two points within an indicator. I have two indexes and I want to know the difference in time between them, or the amount of candles from e.g  index1 to index2. 


Thanks! 

Doerk Hilger
1494
Doerk Hilger  

Really? How bout index2-index1 ... ? ... and the absolute time with time[index2]-time[index1] ...

To add comments, please log in or register