[0] vs .Value  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
markwit229
Posts: 14
Joined: 23 Jan 2013
Has thanked: 4 times

[0] vs .Value

Postby markwit229 » 22 Mar 2013

This may be an obvious question with an obvious answer, but is there a difference between Bars.Close[0] and Bars.Close.Value (in general, not just with .Close)? From what I can tell, there is not as they seem to be used interchangeably.

Thanks,
Mark

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: [0] vs .Value  [SOLVED]

Postby Henry MultiСharts » 25 Mar 2013

Hello Mark,

That is correct, there is no difference between Bars.Close[0] and Bars.Close.Value.


Return to “MultiCharts .NET”