all the other errors junk for me but there is no unbalanced left paranthesis in this program .counted thousand of times.how can it be?

 

Please edit your post . . .


Before posting please read some of the other threads . . . then you would have seen numerous requests like this one:

Please use this to post code . . . it makes it easier to read.

 
pascalboy:

all the other errors junk for me but there is no unbalanced left paranthesis in this program .counted thousand of times.how can it be?

You are missing a ; here . . .

return()   

what is iclose ? ordersell & orderbuy should be int not bool . . .

You need to fix ALL the errors before you know if the paranthesis error is real . . .

 

can a program produce unbalanced errors

just because of its logical errors

while it does not have unbalanced parantehesis.

 
One error makes more errors as the compiler can not correct the error it found.
 
ok
 
if (iclose (NULL,i) <iclose(NULL,i+1))&&( iclose (NULL,i+1) >iclose(NULL,i+2))
   1       2      2        2        21\if (...) ended there. -- what is this after
 
RaptorUK:

Please edit your post . . .


I asked you to edit your post . . . you have ignored my request.
 

if(close (NULL,i)<iclose(NULL,1+i))&&(iclose(NULL,1+i)>iclose(NULL,i+2)

zirve =1


	          
 
pascalboy:

if(close (NULL,i)<iclose(NULL,1+i))&&(iclose(NULL,1+i)>iclose(NULL,i+2)

zirve =1


Please use this to post code . . . it makes it easier to read.




if (iclose (NULL,i) <iclose(NULL,i+1))&&( iclose (NULL,i+1) >iclose(NULL,i+2)
   1       2      2        2        21\if (...) ended there. -- what is this after


It was so clear what WHRoeder wrote ......

So where is your if function come to an end.....

What is your total if( ) function ???

Is there any change you did.... makes this different ??

What will happen if you code..

if ((iclose (NULL,i) <iclose(NULL,i+1))&&( iclose (NULL,i+1) >iclose(NULL,i+2)))
Reason: