Skip to main content
Version: 2.0

Screenshot

A trading module executed with the Custom Expert Advisor can be configured to take a screenshot each time a trade is opened or closed. All screenshots will be saved in an output folder. To enable it, please refer to the Expert Advisor Builders user manual article which describes this feature.

Folder path and data organization

The Custom Expert Advisor manages its file and folder outputs in the data folder. You can access this folder via the Windows start menu or through a shortcut configured on your Windows desktop, as shown in the image below.

File Output, Screenshot, Application folder on desktop and start menu.png

You'll find the output folder named Screenshot as you navigate the data file structure. The screenshots, identifiable by the order number at the beginning, are in the output folder designated for it. The appearance of this folder is depicted in the following image.

File Output, Screenshot, Folder path and data organization for tester variant.png

Alternatively, you can access the tester Screenshot output folder by inputting the designated path into your Windows folder browser.

%AppData%\MetaQuotes\Terminal\Common\Files\FEA Trading Data\Custom Expert Advisor 2.0\default\Screenshot

Examples

The subsequent image provides a representation of what a screenshot taken at the moment of opening a trade looks like.

File Output, Screenshot, Example of trade opening.png

The final image illustrates what a screenshot captured when closing a trade appears like.

File Output, Screenshot, Example of trade closing.png

Remember that testing trading strategies with many trades can lead to intensive storage usage due to screenshot management.