Quote:
|
Originally Posted by elihayun
You cannot use more bars that u have. You have exactlly Bars bars.  . So if NumberOfBarToCalculate is greater then Bars, you have to set it to Bars. Something like this:
if (NumberOfBarToCalculate > Bars) NumberOfBarToCalculate = Bars;
|
Eli,
I think you explain it very well.
Thanks mate, I owe you one. Appreciated.
My best wishes - Ben
