That seems unlikely...
Time for a test script...
No problem found.
Time for a test script...
No problem found.
//+------------------------------------------------------------------+ //| script program start function | //+------------------------------------------------------------------+ int start() { //---- int n = -10; int B = 0; while( n < 2){ if( B < 5 && B > 2){ Print("B = ", B); } B++; n++; } //---- return(0); }
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
In a IF statement following a WHILE or FOR statment, "&&" or "||" and anything following them is ignored For example:
While(n<2)
If(B<5 && B>2)
In the above example Metatrader will read that as:
While(n<2)
If(B<5)
This should be fixed. thank you.