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.![Don't Paste Code](https://c.mql5.com/mql4/forum/2011/08/don_tpastecode_1.gif)
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.
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
Please edit your post . . .
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.
![Don't Paste Code](https://c.mql5.com/mql4/forum/2011/08/don_tpastecode_1.gif)
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)))
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
<SNIP>