Example Q1: Symbol mapping for custom symbols
This is not a ready-to-use trading strategy. A trading strategy requires adjustment to the timeframe and symbol, along with thorough backtesting. The example is intended as a foundation for your own custom strategy and to help you get familiar with the Expert Advisor Builder web application. To import and use an example, please follow the instructions provided here.
Description
This example demonstrates symbol name mapping for multi-broker compatibility. The USDCHF references in the strategy are automatically replaced with EURUSD during execution. This enables using the same strategy across brokers with different symbol naming conventions.
Symbol mapping solves practical problems when switching brokers or using custom symbols. Strategies remain portable without manual editing for each broker's naming scheme. The three mapping configurations show different live versus testing applications.
This flexibility enables sophisticated multi-symbol strategies that adapt to available instruments. Traders can develop strategies on custom symbols then deploy them on standard symbols without modification.
Recommended to use EURUSD M15, M1 run in both symbols required.
Recreate the Example
You can either import this example directly or set it up manually. To manually replicate the trading module, make sure a newly added module includes the following key settings and that the professional mode is activated:
Trade Basics
- Operation type = Long signals only drawn
- General signal visualization = Off
Signal Generation - Indicators 1 - RSI
- Signal in use = On
- Signal used for = Entry
- Selected indicator = RSI
- Symbol = Current
- Shift = 1
- Draw in chart = On
- Drawing slot = 1
Signal Generation - Indicators 2 - RSI
- Signal in use = On
- Signal used for = Entry
- Selected indicator = RSI
- Symbol = USDCHF
- Shift = 0
- Draw in chart = On
- Drawing slot = 2
Symbol and Timeframe
- Symbol = Current
- Timeframe = Current
Symbol and Timeframe - Symbol name mapping 1
- Used in live trading = On
- Used in strategy testing = Off
- String to replace = USDCHF
- String it is replaced with = EURUSD
Symbol and Timeframe - Symbol name mapping 2
- Used in live trading = On
- Used in strategy testing = On
- String to replace = USDCHF
- String it is replaced with = EURUSD
Symbol and Timeframe - Symbol name mapping 3
- Used in live trading = Off
- Used in strategy testing = On
- String to replace = USDCHF
- String it is replaced with = EURUSD
Screenshots
