operator for not work

To add comments, please log in or register
Febry Romadhon
Febry Romadhon  
can you help me with the problem friend , what wrong ? . operator for not work .
Marco vd Heijden
Marco vd Heijden  

use curly brackets

   // Do something...
Febry Romadhon: what wrong ? . operator for not work .
  1. Please don't post image, of code. When you post code please use the CODE button (Alt-S)! (For large amounts of code, attach it.) Please edit your post.
              General rules and best pratices of the Forum. - General - MQL5 programming forum
              Messages Editor

  2. "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires - meaningless.

  3. Check your return codes for errors, report them. Don't just silence the compile, it is trying to help you.
              What are Function return values ? How do I use them ? - MQL4 and MetaTrader 4 - MQL4 programming forum
              Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles
    Only those functions that return a value (e.g. iClose, MarketInfo, etc.) must you call ResetLastError before in order to check after.

  4. Marco is correct, your increment is not part of the loop.
To add comments, please log in or register