Can anyone tell me why I am getting an error with the code
below:
...
priceUp = True;
c1 = C;
for ( i = 1; i <= N; i++ )
{
curBar = i * -1;
priceUp = priceUp &&
c1 > Ref( C,
curBar );
if ( !priceUp ) break;
...
}
…
I am getting an error on the line in red above. The error
is
“Condition
in IF, WHILE, FOR statements has to be Numeric or Boolean type. You can
not use array here, please use [] (array subscript operator) to access array
elements”
(BTW< the Edit->Copy Error message
function in Formula Editor is not working for me, is this a bug?)