- array out of range problem mql5
- set start time of bars??
- MACD indicator
Thanks Phy, I have tried these functions but they appear to work from the current server time. This is fine for getting the realtime value, but I am trying to run an expert/indicator on a chart to be able to identify past events.
As an example, I have tried to use both the Time() and iTime() functions to plot an arrow on a 5 minute chart at 9am through to 10am, but it only works going forwards and doesn't show arrows for 9am yesterday and prior.
Any ideas why or a small code snippet would be very appreciated.
[] vs ()
oops..
Didn't compile it, just typed it here