YI GOLD
MT5 · Compiler warnings

MT5 66 · Using a variable or bool type expression in mathematical operations is unsafe | YI GOLD

Official meaning

Using a variable or bool type expression in mathematical operations is unsafe

Possible causes · YI GOLD suggestions

Determine the cause from the official meaning, the triggering function and terminal logs.

Troubleshooting · YI GOLD suggestions

Review the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds.