Forum

Compiler error?

When I coded an IF statement of this pattern, it has caused the abnormal behavior.(MQL4) if (Trend == "RANGE") { A = 0;//(an processing example) }else { if (Trend == "UP") { OrderSend();//(an processing example) }else //←This else statement means (Trend == "DOWN") independently. {