A Variable behaves like an Array ?

Questions about MultiCharts and user contributed studies.
User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

A Variable behaves like an Array ?

Postby TJ » 27 May 2008

Pls help me to understand if this is correct: in EasyLanguage, A Variable behaves like an Array ?

e.g. if I assigned a value to a variable at the 10am bar (of a 5min chart), I can retrieve that value so long as I can find the bars back of the 10am bar?

How many bars can I go back?

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 28 May 2008

Hi TJ,

A variable can be regarded as an array. A bar and the variable values on this bar can be referenced until it is left beyond MaxBarReference.

Regards.

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Postby TJ » 28 May 2008

Great.
Thanks for confirming my understanding.


Return to “MultiCharts”