Skip to main content
Version: 2.0

FOL - Profile Folder

Profile folder selection

As the Generate Notes section explains, the Custom Expert Advisor derives its operational parameters from the profile input folder. Therefore, this page will focus solely on the input parameter to select this folder. To configure the profile folder, navigate to the MetaTrader inputs configuration dialog and look for > (FOL) Profile folder (e.g., my_ea/v1). The input parameters can be a text of up to 63 characters.

Input variable within MetaTrader
(Identifier in SET file)
Default valueComment
> (FOL) Profile folder (e.g. my_ea/v1)
(IN_strUserId)
defaultThe parameter must be less than 63 characters in length. The / character can be used to navigate through subfolders. Please note that using certain characters, including <, >, :, ', \\, |, ?, and *, is prohibited.

The selected input text serves as the navigation path within the application folder. As mentioned, the Custom Expert Advisor uses different application folders for its live and tester variants. The input text is interpreted as a path segment starting from the application folder in both cases. This allows you to organize the profile folder into further subfolders, provided the input parameters do not exceed the 63-character limit.

Within each profile folder must be the sub-folders for the configuration, the system, and the condition available. If the application cannot find the folders, it initializes them with default example files.

Profile folder paths for tester variant

The Custom Expert Advisor Tester profile folders are in the tester application folder. You can access the tester folder and navigate further down, as shown in the image below, using the short links provided in the Windows app menu or on your desktop.

Configuration, Input folders location for tester variant.png

Alternatively, you can access the tester profile folders by entering the designated path into your Windows folder browser.

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

The application folder for the tester variant is consistent across all MetaTrader instances where you use the Custom Expert Advisor Tester. To select MyCustomEa1, you need to configure the input parameters > (FOL) Profile folder (e.g., my_ea/v1) to MyCustomEa1. If you want to add a subfolder for versioning, you can navigate further down the folder structure using MyCustomEa1/v1.

Profile folder paths for live variant

The Custom Expert Advisor Live profile folders are in the live application folder. You can access the live folder and navigate further down, as shown in the image below, using the short links provided in the Windows app menu or on your desktop.

Configuration, Input folders location for live variant.png

Alternatively, you can access the live profile folders by entering 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

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

For instance, to select MyCustomEa1, you need to configure the input parameters > (FOL) Profile folder (e.g., my_ea/v1) to MyCustomEa1. If you want to add a subfolder for versioning, you can navigate further down the folder structure using MyCustomEa1/v1.