Download MetaTrader 5
To add comments, please log in or register
No time to learn MQL5? Order your application from a developer!
fxnew 2016.01.03 10:52 


from another software than Metatrader I'm used to the following:

When adressing Array values (for example Bars) - in the past - values from 1 upwards are used. Value 0 ist the present bar. (like MT)

When adressing Array values - in the future - negative values are used.

How does MT4 handles theses issues: would the Bar Close[-1] be possible to adress the next Bar (in the future)?

for tips thanks in advance                       9

Carl Schreiber
Carl Schreiber 2016.01.03 12:52  

As every professional program even MT4 has a documentation either here at the top of this page or in the editor (=>Help)

There you find everything you need!

Ovo Cz
Ovo Cz 2016.01.03 12:53  
That would be nice to address bars in the future, but I am afraid it would break Einstein's theories.
Keith Watford
Keith Watford 2016.01.03 12:56  
Future bars do not exist. You cannot get any values from a bar that does not exist
To add comments, please log in or register