faustf:
hi guys i have this part of script return me error
'!=' - l-value required
but why i used it
if((TimeFrameChoice!=PERIOD_W1)|=(TimeFrameChoice!=PERIOD_MN1)|=(TimeFrameChoice!=PERIOD_D1))
Those yellow marked characters look to me like pipe character.
That makes expression in the if statement an assignment. Left side of the assignment must be an l-value - something that can have value assigned to.
ops sorry
if((TimeFrameChoice!=PERIOD_W1)|=(TimeFrameChoice!=PERIOD_MN1)|=(TimeFrameChoice!=PERIOD_D1))
- A |= B equals A = A | B;
Bitwise Operations - Operations and Expressions - Language Basics - MQL4 Reference - Do you mean if( A || B || C )
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
hi guys i have this part of script return me error
'!=' - l-value required
but why i used it