Market Name Prefix/Suffix Handling

Market Name Prefix/Suffix Handling

There are standard market names which are commonly used for currency pairs, like EURUSD, GBPUSD, USDCHF, USDJPY etc. Many broker offers these standard market names on their MT4 platform, however some brokers may add some prefix or suffix to the market names resulting in broker specific symbols like EURUSDecn, EURUSD.m or mEURUSD etc.

As a convenience, the EA makes an attempt to discover the broker specific prefix and suffix and use those automatically. This makes the configuration of the EA portable between brokers, less cluttered and visually clean.

When the EA is configured with markets other than FOREX pairs, or a mix of FOREX and and non-FOREX markets with various prefix or suffix values then this feature may not work. In this case select the Manual: User Defined Prefix & Suffix option and enter the prefix and suffix as seen in the MT4 Market Watch window into the EA parameters Manual Market Name Prefix and Manual Market Name Suffix, respectively.


EA parameters market_name_handling
Market Name Suffix HandlingDescription
Automatic: Prefix & Suffix Discovered By EA The EA identifies the broker specific market name prefix and suffix values. Attach the EA to a broker specific symbol name with the suffix, like EURUSD.r and the EA will automatically recognize the .r suffix.
Manual: User Defined Prefix & Suffix In case of variable prefix or suffix values are used by the broker across the market names, or non-FOREX markets are used for the EA, the automatic discovery may not succeed. With this manual mode enter the prefix and the suffix as seen in the MT4 Market Watch window to the EA parameter Manual Market Name Prefix and Manual Market Name Suffix, respectively.