Apparently getCurrentBarIndex() returns the index of the bar currently being computed. What does the "index" mean? Is it related to the Show Bar Index optionh in the Cursor Window Properties box?
The example following the above definition is:
nBarIndex = getCurrentBar Index();
if (nBarIndex != 0) return;
which leads to my 2nd question..
Does return have two meanings, as in
1. at the end of an efs, to Return a value to the chart, and
2. to define the end of a 'subroutine' and return the program flow to another point? In which case how can one tell where in the efs one is returning to?
Thanks
shaeffer
(alias crosseyed after a weekend trying to decode efs's)
The example following the above definition is:
nBarIndex = getCurrentBar Index();
if (nBarIndex != 0) return;
which leads to my 2nd question..
Does return have two meanings, as in
1. at the end of an efs, to Return a value to the chart, and
2. to define the end of a 'subroutine' and return the program flow to another point? In which case how can one tell where in the efs one is returning to?
Thanks
shaeffer
(alias crosseyed after a weekend trying to decode efs's)
Comment