
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,
Can anyone suggest a fix for this compiling error on the || or statement:
if(PriceHighBack>=BolUpper && PriceMedian<BolUpper || PriceHighBack>=BolUpper && PriceMedian<PriceMedianBack)
I get this compiling error:
check operator precedence for possible error; use parentheses to clarify precedence Indicator_5MinEa_Live_Xprice.mq4 102 65
Can you suggest a fix?
hope you can help??
thanks ! Mike
Note:
double PriceMedian=(High[i]+Low[i])/2;
double PriceMedianBack=(High[i+1]+Low[i+1])/2;
double PriceLowBack=(Low[i+1]);
double PriceHighBack=(High[i+1]);