if condition too long ?

 
if (TrendIsUp == 1 && Fact_Uup1[i] == false && BoolUp[i] == true && TypeTrend [i] == 1 && GoodMarket[i] == true ) 

are these too many conditions for the compiler to properly process ?

because the things look like they are not synchronized. 

 

I have sometimes 15 or more conditions in an if() statement.

And I have no problems. 

 
thank you sir.
 
if something's not right the compiler will warn you to use brackets or parenthesis.
 

in this case i have a new dilemma:

- if the "if" condition works properly

- if the copybuffer works properly (i copy some function params)

- my orders are placed forcibly with a while loop until succesful

then why the order gets in the market 3-5 minutes later than it should ?!

 

this gives me the willies already :) 

 
check expert log.
 

lots to check since shows alerts every 2 secs.
strong entry checkpoint - no looping more than 2 times. hard checks. i may have put some different configs or i may receive some funny data... it is a demo account.
i notice it more than once though.
i will have to do it eventually.

it seems that you are some strong programmers... and i have zero experience with EA scripts. i wrote just a simple script.

question: how can i test which combination of tfs and MA configs work best for profit ? i may open a separate thread for this. 

 

They are normal, but remember that as much those conditions are increased, the condition of the if( ) is rarely be true.

Good luck ... 

 
thank you folks!
Reason: