bar 0 or bar 1

 
Hi pros,

i like to adjust an EA of 2 EMAs to be taking decisions based on the current forming bar,but i don't know the instruction to use,is it bar(0) or bar(1)? please help me .thanks.

Willy.

 
0 is the current and incomplete bar.
Reason: