Join & EARN

FOREX ALGOS { }

Script (MQL)

A short MQL program executed once on demand. Unlike EAs, scripts only run their code on startup (the OnStart event) and then stop. Scripts cannot handle OnTick() events. They are typically used for one-time tasks, such as placing a preset trade or closing all orders. For example, a “Close All” script might loop through open orders and close them in one run.