Use CopyTime (https://www.mql5.com/en/docs/series/copytime) and you will have an array of time values.
Documentation on MQL5: Timeseries and Indicators Access / CopyTime
- www.mql5.com
Timeseries and Indicators Access / CopyTime - Documentation on MQL5

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am using this indicator https://www.mql5.com/en/code/777?source=terminal5_codebase and it draws arrows on the chart. If I mouse over the arrow, it shows a time and a value. How do I get that info?
This is what I have so far. It gets me the most recent indicator value, but I need the time: