# Creating a new module

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

![](/files/-LeHjUappvyCsAbk7R1J)

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

![](/files/-LeHjbAu6XYNSlLz9pOf)

Working with the chosen EvoCode module, a user can open a pre-existing module by clicking on the<img src="/files/-LeHl_ARwXtKIVkgHlnE" alt="" data-size="original">item located in ‘File’ menu or create a new module by clicking on the<img src="/files/-LeHjwSKSPEjy_CyZhmK" alt="" data-size="original">item.&#x20;

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

![](/files/-LeHkHNUDUUsJn1SIFFc)

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.traderevolution.com/project/evocode/getting-started/creating-a-new-module.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
