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 within two distinct folders: the live folder for the live variant and the tester folder for the tester variant. You can access these folders 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

Please refer to the appropriate input folder corresponding to your variant.

Tester variant

You'll find the tester output folder named Screenshot as you navigate the tester 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 Tester Data\Custom Expert Advisor Tester 2.0\default\Screenshot

Live variant

You'll find the live output folder named Screenshot as you navigate the tester 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 live variant.png

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

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

<META_TRADER_INSTANCE_NAME> shall be your MetaTrader instance name, for example, MetaTrader 4 IC Markets.

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.