Download MetaTrader 5
To add comments, please log in or register
Do you have questions on how to turn your idea into reality? Ask them on the Forum!
fxnew
189
fxnew 2016.01.03 10:52 

Hello,


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
5959
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
2952
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
Moderator
7984
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