Download MetaTrader 5

This piece of code here doesn't seem to be working. - page 2

To add comments, please log in or register
Have you developed a trading robot? Publish it in the Market and make profit!
Simon Gniadkowski
Moderator
18001
Simon Gniadkowski 2014.02.10 17:15  
MetaNt:
Seems to be working now, however after 5 bars the shift goes from 5 to 16...
Is OOTB a bar start time ? us iBarShift() to convert your time to a bar number . . .
Luciano Ola
1007
Luciano Ola 2014.02.10 17:53  

Ah, how silly of me, I will try that.

That has fixed it! Thank you very much.

12
To add comments, please log in or register