Platforms & Tech
Beginner
Script (MQL)
A small MQL program that runs once when attached to a chart — used for one-off tasks like closing all open trades.
Definition
Unlike EAs (which run continuously) and indicators (which calculate every tick), scripts execute once and exit. Common scripts: close-all, set-stop-loss-on-all-trades, place-grid-of-pending-orders.