A collection of custom functions grouped into one file for reuse. MQL libraries store frequently used routines (e.g., math or trading helpers). They cannot execute by themselves (no automatic events). EAs or scripts use #import
to include library functions. Libraries help organize and share code across multiple EAs.