Array values

Back to topics list To post a new topic, please log in or register
avatar
46
fxnew 2016.01.03 11: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

avatar
2017
gooly 2016.01.03 13: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!

avatar
1109
Ovo 2016.01.03 13:53 #
 
That would be nice to address bars in the future, but I am afraid it would break Einstein's theories.
avatar
Moderator
3407
GumRai 2016.01.03 13:56 #
 
Future bars do not exist. You cannot get any values from a bar that does not exist
Back to topics list  

To add comments, please log in or register