EasyLanguage, want first BarValue, simple question but

Hello,
simple question but I get not the info from EL_Ref_Guide.pdf or else manual.

Have two dataseries "dataseries1" and "dataseries2"
How can I reference the first bar in each case?
This don't work: symbol1 = dataseries1[1] ;

I also don't understand the "BarNumber" function.
BarNumber = BarNumber[1] + 1;

Can you help?
 
I assume you want to get the price for the first bar, so this is what you can do.

for dataseries1:
If currentbar data1 = 1 then symbol1 = Open;

for dataseries2:
If currentbar data2 = 1 then symbol2 = Open data2;
 
Back
Top