---
title: "Créer une bibliothèque - MQL4/MQL5 Wizard - Aide MetaEditor"
description: "Un modèle correspond au code source de base d'une bibliothèque. Il contient l'en-tête standard du programme, les proprié... - Créer une bibliothèque - MQL4/MQL5 Wizard - Aide MetaEditor"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/fr/metaeditor/help/mql5_wizard/wizard_library"
---

[Aide MetaEditor](https://www.metatrader5.com/fr/metaeditor/help) → [MQL4/MQL5 Wizard](https://www.metatrader5.com/fr/metaeditor/help/mql5_wizard) → Créer une bibliothèque

# Créer une bibliothèque

Un modèle correspond au code source de base d'une bibliothèque. Il contient l'en-tête standard du programme, les propriétés générales ainsi qu'une fonction simple comme exemple. Le modèle est créé dans le répertoire MQL5/Libraries (ou MQL4/Libraries).

![Créer une bibliothèque](https://www.metatrader5.com/i/help/metaeditor/en/wizard_library.png)

Remplissez les champs suivants :

- Nom – nom de la bibliothèque, le même nom est donné au fichier de la bibliothèque. Vous pouvez également changer ici le changement vers le fichier de destination. Par exemple, créez-le dans un nouveau sous-dossier \Libraries.
- Auteur – nom de l'auteur.
- Lien – adresse email du développeur ou son site web.

Cliquez sur Terminer pour compléter la création du modèle. Le fichier généré est immédiatement ouvert en édition.

## In this section

- [Créer un modèle pour un EA](https://www.metatrader5.com/fr/metaeditor/help/mql5_wizard/wizard_ea)
- [Créer un Expert Advisor prêt à l'emploi](https://www.metatrader5.com/fr/metaeditor/help/mql5_wizard/wizard_ea_generate)
- [Créer un indicateur](https://www.metatrader5.com/fr/metaeditor/help/mql5_wizard/wizard_indicator)
- [Créer un script](https://www.metatrader5.com/fr/metaeditor/help/mql5_wizard/wizard_script)
- Créer une bibliothèque
- [Créer un fichier include](https://www.metatrader5.com/fr/metaeditor/help/mql5_wizard/wizard_include)
- [Créer une classe](https://www.metatrader5.com/fr/metaeditor/help/mql5_wizard/wizard_class)

```json
{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ {"@type": "ListItem", "position": 1, "item": {"@id": "https://www.metatrader5.com/fr/metaeditor/help", "name": "Aide MetaEditor"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://www.metatrader5.com/fr/metaeditor/help/mql5_wizard", "name": "MQL4/MQL5 Wizard"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "https://www.metatrader5.com/fr/metaeditor/help/mql5_wizard/wizard_library", "name": "Créer une bibliothèque"}} ]}
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "MetaTrader 5: Créer une bibliothèque", "acceptedAnswer": { "@type": "Answer", "text": "Un modèle correspond au code source de base d&#39;une bibliothèque. Il contient l&#39;en-tête standard du programme, les proprié..." } }] }
```
