Join & EARN

FOREX ALGOS { }

Infinite Loop

A logic/design error where code never exits a loop, causing the program to hang. MQL documentation cites sticking in an infinite loop as a serious design error. During live trading or testing, this often freezes the bot’s chart. Setting breakpoints or using time checks inside loops can help detect/prevent infinite loops.