> For the complete documentation index, see [llms.txt](https://guide.traderevolution.com/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.traderevolution.com/project/evocode/getting-started/creating-a-new-module.md).

# Creating a new module

EvoCode allows a user to create a new module or open a pre-existing one.

![](https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-LeHjLd2TU7s5VLx6AV8%2F-LeHjUappvyCsAbk7R1J%2FScreenshot_3.png?alt=media\&token=67c5b7b4-57fc-4e33-852f-62f690b89383)

To begin writing source code for a new module, a user needs to choose the module type: Strategy or Indicator.

![](https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-LeHjLd2TU7s5VLx6AV8%2F-LeHjbAu6XYNSlLz9pOf%2FScreenshot_4.png?alt=media\&token=c5d884ef-1a32-4691-b04b-db6d8b5b1a39)

Working with the chosen EvoCode module, a user can open a pre-existing module by clicking on the<img src="https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-LeHlVb6fzQ9NOSaozO2%2F-LeHl_ARwXtKIVkgHlnE%2FScreenshot_5.png?alt=media&amp;token=8649a291-8b85-4726-834a-b045c6796359" alt="" data-size="original">item located in ‘File’ menu or create a new module by clicking on the<img src="https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-LeHjLd2TU7s5VLx6AV8%2F-LeHjwSKSPEjy_CyZhmK%2FScreenshot_1.png?alt=media&amp;token=8ed6facd-26c6-4684-91a4-d277e871e4ee" alt="" data-size="original">item.&#x20;

While creating a new module, the following dialog window will be opened:

![](https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-LeHjLd2TU7s5VLx6AV8%2F-LeHkHNUDUUsJn1SIFFc%2FScreenshot_2.png?alt=media\&token=c3a4f3c9-bc3a-4a3a-8b28-bd440f90f270)

In the opened window user can choose:

* Module name;
* Location where the file with source code will be saved;
* The type of a module.

After clicking ‘Create’ button, the template will appear in the source code editor window.
