Download MetaTrader 5

Quick question on a piece of code.. - page 2

To add comments, please log in or register
Keith Watford
Moderator
10064
Keith Watford  
investguy:

Found my mistake... the logic is right but on the comparison in the if statement i used just "=" and not "=="...

 

if(FoundFirst=FL[0])

 

so the value changed.. thank you guys!! 

  This expression does not appear in any of the code that you have posted

If you did have it in your code, you should have had the warning "expression not boolean" when you compiled it. 

12
To add comments, please log in or register