Expert Advisor Builder

Detailed user manual

Quick start

INFO

This quick start guide takes only 25–30 minutes to follow.

Video version:

Function principle

The Expert Advisor Builder represents a revolutionary approach to algorithmic trading on MetaTrader 4 and MetaTrader 5 platforms. At its core, this sophisticated runtime environment transforms your trading ideas into automated strategies without requiring any programming knowledge.

The entire workflow consists of three simple components working in perfect harmony:

  • Expert Advisor Builder (Web Application): Access our intuitive web application directly from your browser. Here, you’ll design your trading logic using a visual interface. Each trading module you create represents a complete, self-contained trading strategy.
  • Trading Modules (Text Files): Your strategies are exported as simple text files containing all the parameters and logic needed for execution. These modules are completely transparent, every aspect of your strategy is visible and editable. No hidden components or black-box algorithms.
  • Expert Advisor Builder (MetaTrader Runtime): This powerful application runs within MetaTrader, reading your trading modules and executing trades according to your defined logic. It seamlessly integrates with both MT4 and MT5, providing professional-grade execution capabilities. Modules can be added, removed, or modified dynamically at runtime.

The beauty of this system lies in its simplicity and transparency. You can create complex multi-timeframe strategies, implement sophisticated risk management, and utilize advanced technical indicators, all through an intuitive visual interface. Each module operates independently, allowing you to run multiple strategies simultaneously without interference.

Visit our Expert Advisor Builder web application to start building immediately.

TIP

The Expert Advisor Builder includes integrated help. Hover over any question mark icon to view details about a specific setting.

Installation

The installer automatically configures the Expert Advisor Builder MetaTrader extension needed for seamless operation.

Step 1: Download the installer

You can download the Expert Advisor Builder MetaTrader extension here or click Download local setup in the top right corner of the webapplication. It is delivered as a single ZIP file that installs into both MetaTrader 4 and MetaTrader 5.

Step 2: Run the installation

Once the download is complete, you’ll have a ZIP file named Expert Advisor Builder. Locate it in your downloads folder and open it to view its contents.

Inside the archive, run the Install Expert Advisor Builder script to begin the installation.

When you start the installer directly from the ZIP, Windows shows a Compressed (zipped) Folders notice. Simply click Run to continue, as shown below. Alternatively, you can extract all files in advance and then start Install Expert Advisor Builder from the extracted folder. Note that this step may look slightly different if you open the archive with a third-party tool such as WinZip or WinRAR.

Because the installer script is not digitally signed, Windows displays an Open File - Security Warning that lists the publisher as Unknown Publisher. This is expected, so click Run to proceed. If you’d like to check the file beforehand, use the Verify Publisher shortcut included in the archive.

The Expert Advisor Builder Setup wizard then opens and installs the add-on for both MetaTrader 4 and MetaTrader 5. Click Next and follow the on-screen steps to complete the installation.

INFO

The setup installs the Expert Advisor Builder into every MetaTrader 4 and MetaTrader 5 installation found on your computer. If you add another MetaTrader later, simply run the installation again to add the Expert Advisor Builder to that new instance.

You normally never need to update the Expert Advisor Builder manually. A live update runs every time it starts, so the latest version is always available on your computer automatically.

Step 3: Configure MetaTrader settings

As the Expert Advisor Builder expert advisor interacts with a backend server, you must adjust some settings in your MetaTrader. Please open the instance of MetaTrader you chose during installation and go to the Options menu.

Go to the Expert Advisors tab and enable Allow automated trading and Allow DLL imports. The application relies on native Windows libraries to connect with a news backend server and deliver real-time news data to your trading systems.

Your MetaTrader is now ready to execute sophisticated trading strategies created with the Expert Advisor Builder.

Build your first trading module

INFO

First module: MACD Long trading

Let’s create your first trading module using the Expert Advisor Builder web application. We’ll begin with a manual configuration.

Step 1: Open the Expert Advisor Builder web application

No login is required, and your latest progress is automatically saved. When you reopen the application, your work will be restored, so reloading or closing the web app won’t erase anything.

Step 2: Add a new module

Click Add new module to create a blank trading module. The Expert Advisor Builder follows the principle that a blank trading module comes preconfigured with optimal default values for every component. This means you only need to adjust the differential settings, rather than building everything from scratch. The result: maximum output with minimal effort.

You’ll see a few helpful tips already on screen, they’ll point you toward the next steps.

Step 3: Configure the module basics

Below the newly added module, a configuration window will appear. Please use it to set the following parameters:

  • Trading state = Enabled
  • Number = 1234
  • Description = MACD Long trading

Step 4: Configure the trade basics

Access the Trade Basics component to view your current settings. You’ll find a summary of all configured values displayed in this section. The configuration menu is located at the top, just above the parameter overview. Every component in the Expert Advisor Builder uses this same layout - a settings menu above and a parameter display below. To modify these settings, click on Configure trade basics to open the input window.

Please ensure that the following parameter is configured properly, press Save and Close the dialog:

  • Operation type = Long

Step 5: Add a standard deviation indicator

To set the stop loss level, we’ll use the standard deviation oscillator value. First, we need to add and set up an indicator so its value can be used by other components. Go to the Signal Generation section and then choose Indicators.

Click the Add new indicator button. This creates a new indicator and immediately opens its configuration menu. Change the following parameter, press Save and Close the dialog:

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

This indicator serves only one purpose: setting the initial stop loss. It won’t participate in generating trade signals or influence when trades open or close. We will need this indicator later.

Step 6: Set up the MACD signal

A trading module needs to identify when to enter the market. We’ll use the MACD oscillator with its two standard lines to generate trading signals. Add another indicator by clicking Add new indicator once more. Then adjust these parameters, press Save and Close the dialog:

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

You’ll notice we’ve only set up the MACD’s Main line. Each indicator component handles just one line at a time. To include the MACD’s Signal line, we need another indicator component. Since both use the same MACD system, you can simply copy the existing one. Click the three dots next to the current MACD indicator and choose Duplicate. This creates an exact copy with identical settings. Now you just need to change the Used line parameter to Signal line. Make sure the new indicator has these settings, press Save and Close the dialog:

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Now we’ll connect the two MACD lines we configured. Navigate to the Indicator Combinations component, located directly below the Indicators component you just used.

Click Add new indicator combination to create a relationship between the two indicator lines. This opens another configuration window. Set the following options, press Save and Close the dialog:

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Some parameters include help sections that provide additional details about specific features. You can expand these sections to learn more about each setting. Look at the image below to understand, for example, what Value 1 cross value 2 actually means.

Excellent work! You’ve created your first trading signal using the MACD oscillator and both of its lines. As you can see, the system supports up to 50 indicators and multiple indicator combinations, giving you the flexibility to build any type of trading strategy. Beyond indicators, you can also generate signals from an advanced chart analyzer, news events, candle pattern scanner, chart pattern detector, and Fibonacci pattern finder. These tools provide nearly endless possibilities for strategy creation.

Step 7: Configure the initial stop loss

Remember the standard deviation (STD) indicator we created earlier with Signal used for = Forward? Now we’ll put it to use. Select the Initial Stop Loss component and click Configure initial stop loss to open the settings menu.

Make sure these parameters are set and press Save and Close the dialog:

  • Selection = Indicator
  • Used indicator = STD

You’ll see that only indicators set to Signal used for = Forward appear in the selection list. This means the indicator’s calculated value gets passed along for use in other components. To modify this value, use the Forward adjustment parameter. In this case, a higher Forward adjustment places the initial stop loss farther from the entry price.

Step 8: Configure the initial take profit

Finally, let’s set up the initial take profit level for this trading module. Open the Initial Take Profit component and click Configure initial take profit.

Make sure these parameters are configured, press Save and Close the dialog:

  • Selection = Risk ratio
  • Used indicator = 1.40

The system uses a risk ratio of 1.40 for the take profit level, meaning the potential profit target is 40% larger than the risk taken. This creates a favorable risk-reward balance for long-term profitability.

Add an example module

INFO

Second module: MACD Short trading

For the second module, we’ll use the example import feature to streamline the process. The Expert Advisor Builder includes a wide range of useful examples, each accompanied by a detailed explanation and step-by-step guide. Some examples are designed to help you understand basic settings, while others serve as solid starting points for developing a robust trading strategy.

Step 1: Open the Examples menu

On the far left side of the main window, click Add example module. This opens a dialog displaying a list of pre-built example modules. Each example includes a brief description, its configuration parameters, and a sample chart image showing the expected output. Take your time to explore each example thoroughly.

Step 2: Choose an example from the list

Please select Example Trading Strategy | Example A2: MACD Short trading. This module complements the MACD Long trading module you manually configured in the previous section. The parameters are nearly identical, except this module opens short trades and combines the MACD signal and main lines in reverse order.

Step 3: Import the selected module and review its configuration

Finally, complete the import by clicking Add Example Module. This creates a new trading module with all the settings already configured according to the example description.

Setup complete, efficient and fast, just as it should be. Let’s move on to the next step.

Export trading modules

After creating your trading modules, exporting and deploying them is simple. You can either export all configured modules together or export them one by one. When exporting all modules at once, they’re packaged into a ZIP file. When exporting individually, each module downloads as a separate text file.

Step 1: Export the configured trading modules

Open the context menu by clicking the three dots next to the module in the modules list, then select Export. This downloads a file named with the module number (for example, Module1234.txt). Keep the original filename, it’s essential that these names remain static and unique. Export both modules using this method.

After this is done, you can locate the modules in your standard download folder.

Step 2: Move the modules to the Expert Advisor Builder’s input folder

During installation, a default input folder was created in the Expert Advisor Builder’s application directory. You can find this folder in several ways:

  • Open the Windows Start menu, search for Expert Advisor Builder, and open that folder. Then navigate to Expert Advisor Builder\default\Configuration
  • Use the Expert Advisor Builder shortcut on your desktop and navigate to Expert Advisor Builder\default\Configuration
  • Open Windows Explorer and paste this path into the address bar: %AppData%\MetaQuotes\Terminal\Common\Files\Expert Advisor Builder\default\Configuration

Any of these methods will show you the same empty folder. The Expert Advisor Builder only reads files placed in this specific folder. Move both downloaded module files into this location.

You’ll notice the path includes a folder named default. This is the profile folder. You can create multiple profiles and choose which one to use when starting the Expert Advisor Builder expert advisor. This feature is especially useful for organizing different trading systems for various purposes, for example, one profile for testing strategies and another for live trading. In all cases, the module files must always be placed in a subfolder named Configuration.

For now, we’ll continue using the default folder.

Automatically copy module files

Moving the module files by hand works well, but if you export them often it quickly becomes repetitive. As a convenient alternative, the ModuleAutoMove_START script can copy your exported module files from your downloads folder into the correct Configuration folder for you, automatically.

The first time you run ModuleAutoMove_START, it downloads a small portable Python instance, so nothing needs to be installed on your system. If you have created more than one profile, the script then lets you choose which profile folder the modules should be copied into.

From then on, the script simply watches your standard downloads folder. As soon as one or more new module files appear there, it backs up the existing module files in the selected Configuration folder and copies the new ones into place. This way, your latest exported modules are always available to the Expert Advisor Builder without any manual file handling.

Test your trading strategy

CAUTION

Every trading strategy needs thorough testing with quality tick data. Strategies rarely work profitably without optimization. We’ve prepared an article explaining proper strategy testing methods. If you need high-quality tick data, explore our MT5 Tick Data solution. You can download accurate tick data with up to 20 years of historical records.

Testing your strategies before live deployment is essential. We’ll use the standard MetaTrader strategy tester, which has proven to be one of the best tools for backtesting. We strongly recommend using the MetaTrader 5 strategy tester because it performs tick-accurate backtests. However, the MetaTrader 4 strategy tester remains useful since it’s simpler and faster, especially in visual testing mode.

Step 1: Open the MetaTrader platform where you installed the Expert Advisor Builder

Step 2: Set up the Strategy Tester

CAUTION

For this getting started guide, we’re using the MetaTrader 4 strategy tester. The process in MetaTrader 5 is nearly identical.

Make sure the strategy tester window is open. You can access it through View → Strategy Tester or by pressing Ctrl+R. In the strategy tester window, go to the Settings tab. Configure these options:

  • Expert Advisor: Expert Advisor Builder.ex4
  • Symbol: EURUSD
  • Period: M15
  • Spread: 8
  • Model: Open price only
  • Use date: Enabled
  • Date range (From/To): Previous 4 weeks
  • Visual mode: Enabled
  • Optimization: Disabled

Let’s examine the Expert Properties to view the inputs. Generally, all parameters needed to define the trading logic come from the trading module files. You don’t need to modify any inputs at this point. However, under > (PRO) Folder path (e.g. my_eas/v1), you can see default is configured. As explained earlier, this tells the system to use trading modules from the default folder. You could change this to point to any other profile if needed. A complete explanation of all input parameters and how to optimize trading modules is available in the Expert Advisor Builder’s user manual.

Step 3: Start the strategy test

Close this window and click Start to run the strategy test. After a brief moment, the test begins and displays a screen similar to the following:

Congratulations! You’ve successfully created and tested your first automated trading system without writing any code!

Activate on live chart

CAUTION

We strongly recommend completing the following steps using a demo account first. This allows you to familiarize yourself with the process in a risk-free environment.

You may wish to run the trading system on a live chart rather than solely in tester mode. Please keep in mind that the strategy outlined in this guide is intended for demonstration purposes only and is unlikely to be profitable in its current form. Profitable strategies require thorough testing and adaptation, which has not yet been performed in this case. Nevertheless, let’s proceed to activate the trading system on a live chart and observe its behavior.

Step 1: Preparing the live chart

Ensure that your account settings allow automated trading before proceeding.

Next, open a new EURUSD chart with a 15-minute (M15) timeframe.

Step 2: Activate the Expert Advisor Builder

From the Navigator panel, drag the Expert Advisor Builder onto your EURUSD M15 chart. You’ll find it in the Navigator view under Experts. If the application isn’t listed yet, simply right-click anywhere in the Navigator and choose Refresh to update the view.

The settings dialog should appear automatically. In it, confirm that the folder path points to your folder with the tested modules, this should be the default folder for the demo. Once everything looks good, click OK to start. If you see a smiley face in the top-right corner of the chart, you’re all set!

Step 3: Confirm your trading modules are loaded

In the terminal view (View → Terminal), navigate to the Experts tab. Here you can see that both modules placed in the default folder have been loaded and activated.

Your automated trading system is now live!

Optional Step: Change the trading status

As mentioned earlier, you can change a module’s trading status even while it’s running. To do this, open one of the trading module files and modify the second line, then follow the instructions provided within the module file. In the example below, we’ve changed the module’s trading state. You’ll see this change immediately reflected in the Experts tab.

While a module is running, you can change its trading state at any time.

Iterative modifications

Many automated trading strategies require occasional adjustments. You have two options for making changes:

Option 1: Manual file editing

You can directly modify the trading module files using a text editor. Locate the parameter you wish to change and update its value. This method requires a deep understanding of the module file structure.

To replace and reload all parameters during runtime, first move the module out of the input folder, then add the newer version. Simply “replacing” the file won’t work due to security constraints. If the module isn’t running, you can simply adjust the settings and save the text file.

Option 2: Using the Expert Advisor Builder

Reimport the trading module into the Expert Advisor Builder, make your changes within the interface, and then export the updated module.

For this guide, we’ll focus on Option 2, editing modules via the Expert Advisor Builder.

Step 1: Import the Trading Module

To begin, open the Expert Advisor Builder and either click on Import module or drag and drop one or more module files directly into the web interface.

This action will automatically trigger the import dialog. By default, the system is set to skip any module that already exists. However, in this case, you’ll want to override that behavior by selecting the option to replace the existing module. This ensures that the module you’re about to modify is the one currently in use, maintaining consistency and avoiding version conflicts. Set the following parameter:

  • Action when module already exists: Replace existing module

Step 2: Load and modify module settings

Next, drag and drop your module files from the designated modules folder into the interface. The system will instantly load all relevant settings, giving you immediate access to the module’s current configuration. From this point forward, the workflow essentially resets, allowing you to make any necessary adjustments. You can now modify the parameters according to your requirements, tailoring the module to reflect the desired trading logic or behavior.

Step 3: Export and apply the updated trading system

Once your changes are complete, export the updated trading module. Replace the existing file in the profile folder with this newly exported version to ensure the system uses your latest configuration. Finally, restart the Expert Advisor Builder. This step activates the updated module and applies your changes, allowing the trading environment to operate with the revised settings.

To replace and reload module files during runtime, first move the module out of the input folder, then add the newer version. Simply “replacing” the file won’t work due to security constraints.

Need help?

Many common questions are already answered in our frequently asked questions for the Expert Advisor Builder. Please take a look there first. If you still need help, our support team is happy to assist.

Uninstall

There are several common ways to uninstall the Expert Advisor Builder on Windows:

Via the Start menu (easiest): Open the Windows Start menu, find the Expert Advisor Builder in the app list, right-click it, and select Uninstall.

Via Windows Settings: Go to Settings > Apps > Installed apps (on Windows 11) or Settings > Apps > Apps & features (on Windows 10), locate the Expert Advisor Builder in the list, click it, and choose Uninstall.

Via the Control Panel: Open the Control Panel and go to Programs > Programs and Features, select the Expert Advisor Builder from the list, and click Uninstall.

Any of these methods will completely remove the application from your computer.

Integrated help

We believe the most effective documentation lives right alongside the feature it describes. That’s why our Expert Advisor Builder web application includes built-in help directly within the interface. Simply hover over any question mark icon to view detailed information about the corresponding setting. In most cases, this will provide sufficient insight into each parameter’s functionality.

Beyond inline help, we offer a wide range of extended examples that demonstrate both basic and advanced concepts. These examples are designed to be easily reproducible and serve as practical templates for your own strategies. Hover over the component name to see which examples include and describe it.

To learn how to access the examples and explore the full collection, please refer to the examples section.

Available extended manuals

We are continuously expanding our detailed documentation. For now, please refer to the list below to see which extended articles are currently available.

ChapterNoteLink
Configuration/PRO - ProfileConfigure the location of the profile folder used by MetaTrader. This setting determines where user-specific data, configurations, and module states are stored and retrievedLink
Configuration/VOL - Volume CalculationDefine the input parameters that control the overall volume calculation logic. These settings influence all trading modules simultaneously, ensuring consistent volume handling across the system.Link
Configuration/MAG - Magic NumberSet the magic number parameters used to uniquely identify trades initiated by different modules. Proper configuration ensures accurate trade tracking.Link
Configuration/CFEB - Combined FeedbackEnable and configure the feedback data feature. This functionality collects trade-related data that can be used to generate statistics, maintain a trading journal, and support comprehensive post-trade analysis.Link
Configuration/AISP - All InspectorAdjust parameters for the built-in inspector feature. This component monitors aggregate performance metrics, including profitability, drawdown, and statistical summaries across all active trading modules.Link
Configuration/FIHA - File HandlingControl how frequently MetaTrader refreshes and accesses the module files. These settings help manage data synchronization intervals and to speed up strategy testing.Link
Configuration/NOTI - NotificationsConfigure the integrated notification system. Input parameters here define how and when alerts are triggered, including trade events, system warnings, and performance updates.Link
Configuration/PAOV - Parameter OverrideSet up the parameter override feature, especially useful during MetaTrader’s strategy optimization process. This allows dynamic overriding and testing of parameters normally used from module files.Link

Inputs configuration

This chapter provides a detailed explanation of each input parameter, enabling you to configure the Expert Advisor Builder to suit your needs. You’ll find all of these settings in the Inputs tab that appears when you start the Expert Advisor Builder on a chart or in the inputs settings of the Strategy tester. This window may look different in MetaTrader 5, but it functions in principally the same way.

To optimize the input parameters, consider using the MetaTrader strategy tester.

PRO - Profile

Application folder

During installation, an application data folder is created automatically. If it does not exist when the Expert Advisor Builder is launched for the first time, the application will generate it by default. You can locate this folder through several methods:

  • Open the Windows Start menu, search for Expert Advisor Builder, and open that folder. Then navigate to Expert Advisor Builder\default\Configuration
  • Use the Expert Advisor Builder shortcut on your desktop and navigate to Expert Advisor Builder\default\Configuration
  • Open Windows Explorer and paste this path into the address bar: %AppData%\MetaQuotes\Terminal\Common\Files\Expert Advisor Builder\default\Configuration

Any of these methods will show you the same folder. The Expert Advisor Builder only reads files placed in this specific folder. The application directory supports the use of profile folders, allowing for clear separation and organization of multiple automated trading systems.

Profile folder

The Expert Advisor Builder processes trading module files and stores the resulting feedback data in a designated profile folder. This folder is selected at application startup, enabling users to maintain separate configurations for different trading scenarios. For instance, one profile can be used for live trading, while another is reserved exclusively for strategy testing. This separation ensures flexibility and clarity across distinct operational setups.

Input variable within MetaTraderDefault valueComment
> (PRO) Profile folder (e.g. my_ea/v1)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 defines a navigation path relative to the application folder. By using forward slashes (/), you can specify deeper levels within the folder structure. In all cases, the input is interpreted as a path segment beginning at the application folder. This enables flexible organization of profile folders into subdirectories, as long as the full path does not exceed the 63-character limit. Each profile folder must contain a subfolder named Configuration. If this folder is missing, the application will automatically initialize it with default example files. The trading module must be placed directly within the Configuration folder for proper operation.

Within the string input, special tags can be used to dynamically insert parameter values. These tags are automatically replaced at runtime with the corresponding data they reference. The following tags are available:

  • {BROKER} – Replaced with the broker name (e.g., ICMarkets International Ltd.)
  • {ACCOUNT} – Replaced with the account number (e.g., 3424245)
  • {SERVER} – Replaced with the server name (e.g., ICMarketsMT5-1)
  • {SYMBOL} – Replaced with the trading symbol the interpreter is applied to (e.g., EURUSD)
  • {TIMEFRAME} – Replaced with the chart timeframe (e.g., M15)
  • {TYPE} – Replaced with the account type (Demo or Live)
  • {MODE} – Replaced with the operational mode (Real or Tester)

For example, entering {SYMBOL}-{TIMEFRAME}-{MODE} as the input string will result in the profile folder being resolved to EURUSD-M15-Tester when the Expert Advisor Builder is applied to an EURUSD M15 chart and the application is executed in strategy tester mode. If the specified folder does not exist, the application will automatically initialize it with default content.

VOL - Volume calculation

Volume per trade

Each trading module typically includes its own risk and money management logic to calculate the optimal trade volume based on its individually defined risk metrics. However, when multiple modules are combined, it can be beneficial to bypass these individual volume calculations for streamlined control.

To override per-module volume settings and apply a unified approach, the following application input parameters can be used:

Input variable within MetaTraderDefault valueComment
> (VOL) Volume size calculationAUTOMATICOptions:
-AUTOMATIC
-LIMITED
> (VOL) Max. volume size per trade0.01If the precise value cannot be utilized due to the minimum lot size constraint, the system will default to using the minimum lot size instead.
The input value cannot be smaller than 0.

> (VOL) Volume size calculation = AUTOMATIC

In automatic mode (default setting), trade volumes adjust dynamically based on each module’s risk and money management settings. This ensures the system stays within its defined performance and drawdown limits. Variations in volume are often due to differing stop-loss levels across trades. When automatic mode is active, the input parameter > (VOL) Max. volume size per trade is ignored, allowing full use of each module’s configured preferences.

> (VOL) Volume size calculation = LIMITED

The second volume calculation option enforces a maximum trade size using the input parameter > (VOL) Max. volume size per trade. No trade will exceed this limit. However, this setting acts as a cap, not a fixed value. Individual trading modules may still choose smaller volumes based on their internal logic. In such cases, the lower value is used. Brokers often define minimum and maximum lot sizes per symbol, which may further limit trade volume. If you intend to apply a fixed value to the volume, use the parameter override feature instead.

MAG - Magic number

Parameters for the magic number

A magic number is a unique identifier that groups all trades initiated by a specific application. In the context of MetaTrader, this is utilized to prevent interference between different applications. For instance, if applications A and B use 123456 and 654321 as their magic numbers, each trade these applications open will be marked with these numbers. Ideally, each application should only modify trades configured with its magic number. The Expert Advisor Builder strictly adheres to this rule.

Input variable within MetaTraderDefault valueComment
> (MAG) Avoided range start100000The input value cannot be smaller than 0.
> (MAG) Avoided range end200000The input value cannot be smaller than 0.

Many third-party applications allow you to specify which magic number should be used. However, the Expert Advisor Builder operates on a different principle. Its input parameters > (MAG) Avoided range start and > (MAG) Avoided range end define a range within which a magic number should not be searched and used.

Your Expert Advisor Builder will automatically search for an available magic number in the remaining number range. All FEA Trading applications follow this principle. To ensure the applications do not use the same magic numbers, a mechanism is in place to prevent a magic number from being used twice.

The above illustration explains this principle using a number line. Assuming > (MAG) Avoided range start is set to 100000, and > (MAG) Avoided range end is set to 200000, the actual randomly selected magic number can be any value between 0 - 99999 and above 200000. All applications use 100000 and 200000 as default values, so it is recommended to configure any other third-party application with a dedicated magic number between 100000 and 200000.

If you operate only FEA Trading applications, modifying these input parameters is not required.

CFEB - Combined feedback

The combined feedback feature complements the module-specific feedback system by recording and returning key metrics aggregated across all currently executed modules. Unlike the module-specific inspector, this feature focuses on five core aspects, each stored in a dedicated location within the profile folder. Refer to the table below for a detailed overview of the input parameters relevant to this section.

Input variable within MetaTraderDefault valueComment
> (CFEB) Inspector feedback stateOFFRecords the latest performance metrics, drawdown statistics, and system diagnostics.
Path in profile folder:
/Feedback/_Combined/Inspector/Inspector.csv

Options:
-OFF
-ON
> (CFEB) Inspector feedback refresh interval (ms)1000Defines how frequently the inspector feedback file is refreshed. Lower values result in more frequent file operations, which can significantly slow down execution in Strategy Tester mode due to increased disk I/O. Conversely, higher values reduce system load but may compromise feedback granularity. For live operation, a refresh interval of 1000 ms typically offers a balanced trade-off between performance and data accuracy.
> (CFEB) Present trades feedback stateOFFCaptures all currently open trades. Useful for real-time monitoring and decision-making.
Path in profile folder:
/Feedback/_Combined/PresentTrades/PresentTrades.csv

Options:
-OFF
-ON
> (CFEB) Present trades feedback interval (ms)1000Defines how often open trades are logged to the feedback file. Lower values increase logging frequency and system load, which may affect performance during backtesting. A 1000 ms interval is generally optimal for live operation.
> (CFEB) Past trades feedback stateOFFLogs completed trades. This dataset is ideal for generating trading journals or analyzing system performance using external algorithms.
Path in profile folder:
/Feedback/_Combined/PastTrades/PastTrades.csv

Options:
-OFF
-ON
> (CFEB) Meta data feedback stateOFFStores system metadata such as start time, profile folder path, and other contextual information.
Path in profile folder:
/Feedback/_Combined/MetaData/MetaData.csv

Options:
-OFF
-ON
> (CFEB) Trade screenshots stateOFFWhen enabled, captures screenshots at each trade opening and closing event. These visuals aid in post-trade analysis and documentation. This feature may significantly slow down execution in Strategy Tester mode.
Path in profile folder:
/Feedback/_Combined/Screenshots/

Options:
-OFF
-ON

When all combined feedback features are enabled, the output folder will appear as follows:

AISP - All Inspector

The Expert Advisor Builder employs an inspector engine, continuously calculating the current performance and drawdown in real-time. As you may already know, each trading module has the same feature, but named Monitoring. The key difference with the All Inspector is that this algorithm aggregates the results of each activated trading module to monitor the overall performance and drawdown. This means that if a defined drawdown or performance limit is reached, all included trading modules will be disabled, even if the individual inspectors of a module have not reached their individual limits.

Performance - Daily protection

The inspector engine can be configured to halt trading once a specified daily performance limit is reached using the input parameters outlined in the table below. These parameters establish the daily absolute and relative minimum and maximum thresholds. A value of zero effectively turns off the limit.

Input variable within MetaTraderDefault valueComment
> (AISP) Performance day abs min (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at -100, trading will be suspended if the equity falls below $9,900. Trading will resume at the beginning of the next day, with the equity at that moment used as the new reference point.
The input value cannot be greater than 0.
> (AISP) Performance day abs max (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at 100, trading will be suspended if the equity rises above $10,100. Trading will resume at the beginning of the next day, with the equity at that moment used as the new reference point.
The input value cannot be smaller than 0.
> (AISP) Performance day rel min (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at -0.15, trading will be suspended if the equity falls below $9,850. The value will be reset, and trading will be reactivated at the next day’s start. The equity at the beginning of the next period serves as a new reference value to calculate the performance limits.
The input value cannot be greater than 0.
> (AISP) Performance day rel max (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at 0.15, trading will be suspended if the equity rises above $10,150. The value will be reset, and trading will be reactivated at the next day’s start. The equity at the beginning of the next period serves as a new reference value to calculate the performance limits.
The input value cannot be smaller than 0.

Separate input parameters exist for the maximum and minimum permissible performance results. This allows the application to suspend the initiation of new trades when positive or negative performance results are achieved. The diagram below elucidates the operational principle of daily inspector protection.

The inspection period is set to one day. If the performance reaches the maximum or minimum value within this period, the ability to open new trades will be temporarily suspended. At the start of a new period, which is at midnight, the performance value for the day is reset, and trading resumes. This cycle continues indefinitely.

Performance - Weekly protection

The inspector engine can be configured to halt trading once a specified weekly performance limit is reached using the input parameters outlined in the table below. These parameters establish the weekly absolute and relative minimum and maximum thresholds. A value of zero effectively turns off the limit.

Input variable within MetaTraderDefault valueComment
> (AISP) Performance week abs min (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at -100, trading will be suspended if the equity falls below $9,900. Trading will resume at the beginning of the next week, with the equity at that moment used as the new reference point.
The input value cannot be greater than 0.
> (AISP) Performance week abs max (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at 100, trading will be suspended if the equity rises above $10,100. Trading will resume at the beginning of the next week, with the equity at that moment used as the new reference point.
The input value cannot be smaller than 0.
> (AISP) Performance week rel min (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at -0.15, trading will be suspended if the equity falls below $9,850. The value will be reset and trading will be reactivated at the start of the following week. The equity at the beginning of the next period serves as a new reference value to calculate the performance limits.
The input value cannot be greater than 0.
> (AISP) Performance week rel max (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at 0.15, trading will be suspended if the equity rises above $10,150. The value will be reset and trading will be reactivated at the start of the following week. The equity at the beginning of the next period serves as a new reference value to calculate the performance limits.
The input value cannot be smaller than 0.

Separate input parameters exist for the maximum and minimum permissible performance results. This allows the application to suspend the initiation of new trades when positive or negative performance results are achieved. The diagram below elucidates the operational principle of weekly inspector protection.

The inspection period is set to one week. If the performance reaches the maximum or minimum value within this period, the ability to open new trades will be temporarily suspended. At the start of a new period, which is midnight between Saturday and Sunday, the performance value for the week is reset, and trading is resumed. This cycle continues indefinitely.

Performance - Monthly protection

The inspector engine can be configured to halt trading once a specified monthly performance limit is reached using the input parameters outlined in the table below. These parameters establish the monthly absolute and relative minimum and maximum thresholds. A value of zero effectively turns off the limit.

Input variable within MetaTraderDefault valueComment
> (AISP) Performance month abs min (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at -100, trading will be suspended if the equity falls below $9,900. Trading will resume at the beginning of the next month, with the equity at that moment used as the new reference point.
The input value cannot be greater than 0.
> (AISP) Performance month abs max (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at 100, trading will be suspended if the equity rises above $10,100. Trading will resume at the beginning of the next month, with the equity at that moment used as the new reference point.
The input value cannot be smaller than 0.
> (AISP) Performance month rel min (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at -0.15, trading will be suspended if the equity falls below $9,850. The value will be reset and trading will be reactivated at the start of the next month. The equity at the beginning of the next period serves as a new reference value to calculate the performance limits.
The input value cannot be greater than 0.
> (AISP) Performance month rel max (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at 0.15, trading will be suspended if the equity rises above $10,150. The value will be reset and trading will be reactivated at the start of the next month. The equity at the beginning of the next period serves as a new reference value to calculate the performance limits.
The input value cannot be smaller than 0.

Separate input parameters exist for the maximum and minimum permissible performance results. This allows the application to suspend the initiation of new trades when positive or negative performance results are achieved. The diagram below elucidates the operational principle of monthly inspector protection.

The inspection period is set to one month. If the performance reaches the maximum or minimum value within this period, the ability to open new trades will be temporarily suspended. At the start of a new period, which in this case is the 1st day of the month, the performance value for the month is reset, and trading is resumed. This cycle continues indefinitely.

Performance - Yearly protection

The inspector engine can be configured to halt trading once a specified yearly performance limit is reached using the input parameters outlined in the table below. These parameters establish the yearly absolute and relative minimum and maximum thresholds. A value of zero effectively turns off the limit.

Input variable within MetaTraderDefault valueComment
> (AISP) Performance year abs min (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at -100, trading will be suspended if the equity falls below $9,900. Trading will resume at the beginning of the next year, with the equity at that moment used as the new reference point.
The input value cannot be greater than 0.
> (AISP) Performance year abs max (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at 100, trading will be suspended if the equity rises above $10,100. Trading will resume at the beginning of the next year, with the equity at that moment used as the new reference point.
The input value cannot be smaller than 0.
> (AISP) Performance year rel min (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at -0.15, trading will be suspended if the equity falls below $9,850. The value will be reset and trading will be reactivated at the start of the next year. The equity at the beginning of the next period serves as a new reference value to calculate the performance limits.
The input value cannot be greater than 0.
> (AISP) Performance year rel max (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at 0.15, trading will be suspended if the equity rises above $10,150. The value will be reset and trading will be reactivated at the start of the next year. The equity at the beginning of the next period serves as a new reference value to calculate the performance limits.
The input value cannot be smaller than 0.

Separate input parameters exist for the maximum and minimum permissible performance results. This allows the application to suspend the initiation of new trades when positive or negative performance results are achieved. The diagram below elucidates the operational principle of the yearly inspector protection.

The inspection period is set to one year. If the performance reaches the maximum or minimum value within this period, the ability to open new trades will be temporarily suspended. At the start of a new period, which in this case is on the 1st of January, the performance value for the year is reset, and trading resumes. This cycle continues indefinitely.

Performance - Since start protection

The inspector engine can be configured to halt trading once a specified performance limit is reached using the input parameters outlined in the table below. These parameters establish the absolute and relative minimum and maximum thresholds. A value of zero effectively turns off the limit.

Input variable within MetaTraderDefault valueComment
> (AISP) Performance since start abs min (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at -100, trading will be suspended if the equity falls below $9,900.
The input value cannot be greater than 0.
> (AISP) Performance since start abs max (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at 100, trading will be suspended if the equity rises above $10,100.
The input value cannot be smaller than 0.
> (AISP) Performance since start rel min (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at -0.15, trading will be suspended if the equity falls below $9,850.
The input value cannot be greater than 0.
> (AISP) Performance since start rel max (0.0 -> OFF)0.0If the account equity is at $10,000 and the minimum value is set at 0.15, trading will be suspended if the equity rises above $10,150.
The input value cannot be smaller than 0.

Separate input parameters exist for the maximum and minimum permissible performance results. This allows the application to suspend the initiation of new trades when positive or negative performance results are achieved. The diagram below elucidates the operational principle of inspector protection.

The inspection period begins when the application is started. If the performance reaches the maximum or minimum value, the ability to open new trades will be permanently suspended.

Performance - Example

The charts below provide examples of a trading system with a) a maximum performance of -2% per day and b) a performance of -2% since the application started.

In both example charts, the trading modules cease to open trades as soon as the -2 % performance limit is reached. Chart b) keeps all trading modules deactivated indefinitely, whereas chart a) only temporarily turns off the trading module until the next day’s start. As a result, chart a) contains two periods without trading, as the -2% limit was reached on both days.

Drawdown - Daily protection

The inspector engine can be configured to halt trading once a specified daily drawdown limit is reached using the input parameters outlined in the table below. These parameters establish the daily absolute and relative maximum thresholds. A value of zero effectively turns off the limit.

Input variable within MetaTraderDefault valueComment
> (AISP) Drawdown day abs max (0.0 -> OFF)0.0If the account equity is set at $10,000 and the maximum value is set at 100, trading will be halted if the drawdown exceeds $100 within a day. Trading will resume at the beginning of the next day, with the equity at that moment used as the new reference point.
The input value cannot be smaller than 0.
> (AISP) Drawdown day rel max (0.0 -> OFF)0.0If the account equity is set at $10,000 and the maximum value is set at 0.15, trading will be halted if the drawdown exceeds $150 within a day. Trading will resume at the beginning of the next day, with the starting equity as the reference point. The new reference value is used to calculate the next drawdown limits.
The input value cannot be smaller than 0.

Input parameters exist for the maximum permissible drawdown results. This allows the application to suspend the initiation of new trades when bad performance values are surpassed. The diagram below elucidates the operational principle of daily inspector protection.

The inspection period is set to one day. If the drawdown reaches the maximum value within this period, the ability to open new trades will be temporarily suspended. At the start of a new period, which is at midnight, the drawdown value for the day is reset, and trading is resumed. This cycle continues indefinitely.

Drawdown - Weekly protection

The inspector engine can be configured to halt trading once a specified weekly drawdown limit is reached using the input parameters outlined in the table below. These parameters establish the weekly absolute and relative maximum thresholds. A value of zero effectively turns off the limit.

Input variable within MetaTraderDefault valueComment
> (AISP) Drawdown week abs max (0.0 -> OFF)0.0If the account equity is set at $10,000 and the maximum value is set at 100, trading will be halted if the drawdown exceeds $100 within a week. Trading will resume at the beginning of the next week, with the equity at that moment used as the new reference point.
The input value cannot be smaller than 0.
> (AISP) Drawdown week rel max (0.0 -> OFF)0.0If the account equity is set at $10,000 and the maximum value is set at 0.15, trading will be halted if the drawdown exceeds $150 within a week. Trading will resume at the beginning of the next week, with the starting equity as the reference point. The new reference value is used to calculate the next drawdown limits.
The input value cannot be smaller than 0.

Input parameters exist for the maximum permissible drawdown results. This allows the application to suspend the initiation of new trades when bad performance values are surpassed. The diagram below elucidates the operational principle of daily inspector protection.

The inspection period is set to one week. If the drawdown reaches the maximum value within this period, the ability to open new trades will be temporarily suspended. At the start of a new period, which in this case is midnight between Saturday and Sunday, the drawdown value for the day is reset, and trading is resumed. This cycle continues indefinitely.

Drawdown - Monthly protection

The inspector engine can be configured to halt trading once a specified monthly drawdown limit is reached using the input parameters outlined in the table below. These parameters establish the monthly absolute and relative maximum thresholds. A value of zero effectively turns off the limit.

Input variable within MetaTraderDefault valueComment
> (AISP) Drawdown month abs max (0.0 -> OFF)0.0If the account equity is set at $10,000 and the maximum value is set at 100, trading will be halted if the drawdown exceeds $100 within a month. Trading will resume at the beginning of the next month, with the equity at that moment used as the new reference point.
The input value cannot be smaller than 0.
> (AISP) Drawdown month rel max (0.0 -> OFF)0.0If the account equity is set at $10,000 and the maximum value is set at 0.15, trading will be halted if the drawdown exceeds $150 within a month. Trading will resume at the beginning of the next month, with the starting equity as the reference point. The new reference value is used to calculate the next drawdown limits.
The input value cannot be smaller than 0.

Input parameters exist for the maximum permissible drawdown results. This allows the application to suspend the initiation of new trades when bad performance values are surpassed. The diagram below elucidates the operational principle of daily inspector protection.

The inspection period is set to one month. If the drawdown reaches the maximum value within this period, the ability to open new trades will be temporarily suspended. At the start of a new period, which is the 1st day of the month, the drawdown value for the day is reset, and trading is resumed. This cycle continues indefinitely.

Drawdown - Yearly protection

The inspector engine can be configured to halt trading once a specified yearly drawdown limit is reached using the input parameters outlined in the table below. These parameters establish the yearly absolute and relative maximum thresholds. A value of zero effectively turns off the limit.

Input variable within MetaTraderDefault valueComment
> (AISP) Drawdown year abs max (0.0 -> OFF)0.0If the account equity is set at $10,000 and the maximum value is set at 100, trading will be halted if the drawdown exceeds $100 within a year. Trading will resume at the beginning of the next year, with the equity at that moment used as the new reference point.
The input value cannot be smaller than 0.
> (AISP) Drawdown year rel max (0.0 -> OFF)0.0If the account equity is set at $10,000 and the maximum value is set at 0.15, trading will be halted if the drawdown exceeds $150 within a year. Trading will resume at the beginning of the next year, with the starting equity as the reference point. The new reference value is used to calculate the next drawdown limits.
The input value cannot be smaller than 0.
Input parameters exist for the maximum permissible drawdown results. This allows the application to suspend the initiation of new trades when bad performance values are surpassed. The diagram below elucidates the operational principle of daily inspector protection.

The inspection period is set to one year. If the drawdown reaches the maximum value within this period, the ability to open new trades will be temporarily suspended. At the start of a new period, which is on the 1st of January, the drawdown value for the day is reset, and trading is resumed. This cycle continues indefinitely.

Drawdown - Since start protection

The inspector engine can be configured to halt trading once a specified drawdown limit is reached using the input parameters outlined in the table below. These parameters establish the absolute and relative maximum thresholds. A value of zero effectively turns off the limit.

Input variable within MetaTraderDefault valueComment
> (AISP) Drawdown since start abs max (0.0 -> OFF)0.0If the account equity is set at $10,000 and the maximum value is set at 100, trading will be halted if the drawdown exceeds $100.
The input value cannot be smaller than 0.
> (AISP) Drawdown since start rel max (0.0 -> OFF)0.0If the account equity is set at $10,000 and the maximum value is set at 0.15, trading will be halted if the drawdown exceeds $150.
The input value cannot be smaller than 0.

Input parameters exist for the maximum permissible drawdown results. This allows the application to suspend the initiation of new trades when bad performance values are surpassed. The diagram below elucidates the operational principle of daily inspector protection.

The inspection period begins when the application is started. If the drawdown reaches the maximum value, the ability to open new trades will be permanently suspended.

Drawdown - Example

The charts below provide examples of a trading system with a) a maximum drawdown of -2% per day and b) a drawdown of -2% since the application started.

In both example charts, the trading modules cease to open trades as soon as the -2 % drawdown limit is reached. Chart b) keeps all trading modules deactivated indefinitely, whereas chart a) only temporarily turns off the trading module until the next day’s start. As a result, chart a) contains two periods without trading, as the -2% limit was reached on both days.

FIHA - File handling

The Expert Advisor Builder continuously reads module files located in the Configuration folder. Depending on the number of files present, this process may impact system performance due to increased file access operations. While some strategies require frequent updates, others remain unchanged once execution begins. To accommodate these varying characteristics, the file reading interval can be adjusted using the parameters listed below.

Input variable within MetaTraderDefault valueComment
> (FIHA) Live, Configuration files reading interval (ms)1000Specifies the file reading interval when the system is operating on a live chart.
> (FIHA) Tester, Configuration files reading interval (ms)86400000Specifies the file reading interval when the system is executed in the strategy tester. The default setting corresponds to one simulated day.

In Strategy Tester mode, using the second parameter allows you to increase execution speed, enabling more tests to be performed within a shorter period.

NOTI - Notifications

Enabling and disabling of notifications

When operating the Expert Advisor Builder on a live chart it can provide updates on reached inspector limits and various reports on its latest performance and drawdown metrics. These messages can be displayed via the MetaTrader’s expert tab or sent as emails through the built-in MetaTrader emails API. If you wish to modify the messages you’ll get, you can adjust the following input parameters.

Input variable within MetaTraderDefault valueComment
> (NOTI) ProtectionONOptions:
-OFF
-ON
> (NOTI) Report dailyONOptions:
-OFF
-ON
> (NOTI) Report weeklyOFFOptions:
-OFF
-ON
> (NOTI) Report monthlyONOptions:
-OFF
-ON
> (NOTI) Report endOFFOptions:
-OFF
-ON

Notifications types and MetaTrader configuration

The input parameters discussed so far determine the information sent to you. In contrast, the following parameters define how this information will be delivered.

Input variable within MetaTraderDefault valueComment
> (NOTI) State logsOFFOptions:
-OFF
-ON
> (NOTI) State mailsOFFOptions:
-OFF
-ON

The Expert Advisor Builder can relay information via the experts tab in your MetaTrader terminal view and through email. The first option, which can be enabled with the input parameters > (NOTI) State logs, is functional with both the tester and live variants of the Custom Expert Advisor. The second option > (NOTI) State mails allows the Expert Advisor Builder to send emails containing the same information, which is only available with the live variant.

By default, both options are disabled. The Expert Advisor Builder will not send or log extended reports.

This feature utilizes the built-in email API of MetaTrader to transmit the information. However, it requires the configuration of the email settings in your MetaTrader instance. These settings can be found in your MetaTrader’s Tools - Options menu.

For email notifications, you can configure the settings under the Email tab.

Please refer to the relevant article for a detailed understanding of the necessary parameters to enable these features.

PAOV - Parameter override

Using the parameters from this input group, you can override parameter lines from the loaded module files. Overrides can be applied globally, affecting all module files at once, or selectively to one or more specific modules. This functionality is particularly useful for fully leveraging the MetaTrader optimization feature, as it allows you to optimize module file parameters even if they are not exposed in the expert properties dialog.

You can define up to 20 parameters and their corresponding values. For simplicity, the table below shows only one example; the remaining 19 inputs behave identically.

Input variable within MetaTraderDefault valueComment
> (PAOV) Override 1: SelectionSpecifies parameter and module selection using the format parameter@modules.
Multiple parameters and modules can be selected for override. If a line in the loaded module file matches the specified selection, its value will be replaced by the value defined in the subsequent line
> (PAOV) Override 1: Value0.0Enter the override value directly, or use MetaTrader’s optimization settings to test a range of values.
> (PAOV) Override X: SelectionThe same principle applies to parameters 2 through 20.
> (PAOV) Override X: Value

To fully understand this feature, please review the examples provided for > (PAOV) Override 1: Selection:

  • INOS_1_dParameter1@ALL - Single parameter override applied to all modules.
  • INOS_1_dParameter1@100,300 - Single parameter override applied to the specific modules with number 100 and 300.
  • dParameter1@ALL - Applied to all parameters containing the parameter name and for all modules.
  • dParameter1@100,300 - Applied to all parameters containing the parameter name and used for modules with number 100 and 300.
  • INOS_1_dParameter1@100;INOS_4_dParameter1@300 - Applied to multiple parameters with different module assignments.
  • dParameter1,dParameter2@100,200,300;dParameter3@400: Applied to multiple parameters with different module assignments.

If the override is successful, its status will be displayed in the log window. When using the MetaTrader 4 Strategy Tester, this information will appear in the Journal tab:

Standard examples

Using an Example

Step 1: Open the Expert Advisor Builder web application

All examples are readily accessible within the Expert Advisor Builder. Simply open the web application and insert any example as needed.

Step 2: Open the Examples menu

On the far left side of the main window, click Add example module. This opens a dialog displaying a list of pre-built example modules. Each example includes a brief description, its configuration parameters, and a sample chart image showing the expected output.

Step 3: Choose an example from the list

Select one of the examples from the dropdown menu. As you’ll notice, the names listed there correspond to those in the table further down the page.

Step 4: Import the selected module and review its configuration

Finally, complete the import by clicking Add Example Module. This creates a new trading module with all the settings already configured according to the example description.

Examples overview

Example Trading Strategies

NameNoteDescription
Example A1MACD Long tradingLink
Example A2MACD Short tradingLink
Example A3Bollinger bands tradingLink
Example A4News trading of high impact calendar eventsLink
Example A5News trading of regional high impact calendar eventsLink
Example A6Avoiding high impact calendar eventsLink
Example A7One chart analyzer for signal generationLink

Timing

NameNoteDescription
Example B1Trading at specific hoursLink
Example B2Trading at specific days of weekLink
Example B3Trading at specific days of monthLink
Example B4Intraday trading mode with forced closures at end of dayLink
Example B5Automatic signal shifting depending on daylight saving time (DST)Link

Stop Loss Trailing

NameNoteDescription
Example C1Average true range stop loss trailingLink
Example C2First breakeven, then average true range stop loss trailingLink
Example C3First breakeven, then average true range, then market stop loss trailingLink

Initial Stop Loss and Initial Take Profit

NameNoteDescription
Example D1Fixed pips distance as initial stop loss and initial take profitLink
Example D2Indicator value for initial stop loss and initial take profitLink
Example D3Indicator value for initial stop loss, stop loss trailing, initial take profit and dynamic take profitLink
Example D4Support and resistance for initial stop loss and initial take profitLink
Example D5Support and resistance for initial stop loss, stop loss trailing, initial take profit and dynamic take profitLink
Example D6Candle pattern search used for initial stop loss and initial take profitLink
Example D7Chart pattern search used for initial stop loss and initial take profitLink
Example D8Fibonacci pattern search used for initial stop loss and initial take profitLink

Trade Splitting

NameNoteDescription
Example E1Two trades with a pending orderLink
Example E2Three tradesLink
Example E3Four tradesLink

Performance and drawdown monitoring

NameNoteDescription
Example F1Temporary disabling of trading due to bad performanceLink
Example F2Permanent disabling of trading due to bad performanceLink
Example F3Temporary disabling of trading due to bad drawdownLink
Example F4Permanent disabling of trading due to bad drawdownLink

Pending orders

NameNoteDescription
Example G1Buy stop and StdDev pending priceLink
Example G2Buy limit and StdDev pending priceLink
Example G3Sell stop and StdDev pending priceLink
Example G4Sell limit and StdDev pending priceLink
Example G5Buy stop and rate of change pending priceLink
Example G6Buy stop and indicator value for pending priceLink
Example G7Buy stop and support and resistance for pending priceLink
Example G8Buy stop and price dependent activation (hysteresis min)Link
Example G9Buy stop and price dependent cancellation (hysteresis max)Link

News trading

NameNoteDescription
Example H1Events filtered by titleLink
Example H2Events filtered by relationLink

Indicators

NameNoteDescription
Example I1One indicator line usedLink
Example I2One indicator line with time exclusion usedLink
Example I3Two indicator lines combinedLink
Example I4Four indicator lines combinedLink
Example I5Using price as indicatorLink

Oscillators

NameNoteDescription
Example J1One oscillator line used as signalLink
Example J2Two oscillator lines combined as signalLink
Example J3Using volume as oscillatorLink

Trade Basics

NameNoteDescription
Example K1Multiple open trades allowedLink
Example K2Signals used for opening and closing tradesLink
Example K3Signal OR combinationLink
Example K4Forced waiting time between tradesLink

Visualization of signals

NameNoteDescription
Example L1MACD Long signal onlyLink
Example L2MACD Short signal onlyLink

Volume Calculation

NameNoteDescription
Example M1Indicator value for volume calculation with external indicatorLink

Search Engines

NameNoteDescription
Example N1Non-traded signals generated by candle searchLink
Example N2Non-traded signals generated by pattern searchLink
Example N3Non-traded signals generated by fibonacci searchLink

Chart Analyzer

NameNoteDescription
Example O1Extended swing analysisLink
Example O2Drawing of chart analyzer panelLink
Example O3Exclusion of support and resistance when forwardingLink
Example O4Two chart analyzers for signal generationLink

Data Feedback

NameNoteDescription
Example P1All feedback features enabledLink

Multi-Symbol Trading

NameNoteDescription
Example Q1Symbol mapping for custom symbolsLink
Example Q2Usage of multiple symbols and symbol feedback (EURUSD and USDCHF)Link
Example Q3Correlation coefficient between two symbols (EURUSD and USDCHF)Link

External Python Script integration

NameNoteDescription
Example R1Signal from custom oscillator and external Python scriptLink
Example R2Parameter forwarding and feedback parsing with custom indicator and external Python scriptLink

Others

NameNoteDescription
Example S1Drawing of second timeframe in chartLink
Example S2Drawing of unequal symbolsLink

Examples list

Example A1: MACD Long trading

CAUTION

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 a fundamental long trading strategy using the MACD (Moving Average Convergence Divergence) indicator. The strategy opens buy positions when the MACD main line crosses above the signal line, indicating potential upward momentum. The Standard Deviation indicator calculates both the initial stop loss, providing dynamic risk management based on market volatility.

The system uses a risk ratio of 1.40 for the take profit level, meaning the potential profit target is 40% larger than the risk taken. This creates a favorable risk-reward balance for long-term profitability. The forward adjustment feature helps position the stop loss at an appropriate distance from the entry price, preventing premature exits during normal market fluctuations.

This configuration works well across different timeframes and currency pairs. Beginners can use this example to understand how technical indicators generate trading signals and how proper risk management protects capital while allowing profits to run.

You can either import this example directly or set it up manually. To manually replicate the trading module, make sure the newly added module includes the following key settings and that the professional mode is activated:

Recreate the Example

You can either import this example directly or set it up manually. To manually replicate the trading module, make sure the newly added module includes the following key settings and that the professional mode is activated:

Trade Basics

  • Operation type = Long

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example A2: MACD Short trading

CAUTION

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 showcases a short trading strategy that mirrors the long MACD approach but operates in the opposite direction. The strategy opens sell positions when the MACD signal line crosses above the main line, suggesting downward price movement ahead. This reversal of the crossing condition adapts the indicator for bearish market conditions.

Similar to the long version, the Standard Deviation indicator manages risk by determining stop loss placement with a forward adjustment of 3.50. This multiplier ensures the stop loss stays far enough from the entry to avoid market noise. The take profit uses the same 1.40 risk ratio, maintaining consistent risk-reward principles regardless of trade direction.

Short trading requires careful attention to market conditions since many assets have an upward bias over time. This example helps traders understand how the same indicators can generate opposite signals by adjusting the relationship conditions between indicator lines.

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 = Short

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 2 cross value 1

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example A3: Bollinger bands trading

CAUTION

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 introduces Bollinger Bands trading, a popular strategy that identifies potential entry points when price breaks through statistical boundaries. The system generates long signals when the opening price crosses below the lower Bollinger Band, suggesting an oversold condition that may reverse upward. All three Bollinger Band lines are displayed on the chart for visual confirmation.

The strategy uses a fixed 100 pip stop loss, making risk calculation straightforward for position sizing. The take profit maintains the standard 1.40 risk ratio, targeting 140 pips of profit. This fixed approach works particularly well in ranging markets where price tends to bounce between the bands.

Bollinger Bands adapt to market volatility automatically, widening during volatile periods and narrowing during calm markets. This self-adjusting nature makes the strategy suitable for various market conditions.

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

Signal Generation - Indicators (BB Main)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = BB
  • Line index = Main
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (BB Upper)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = BB
  • Line index = Upper
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators (BB Lower)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = BB
  • Line index = Lower
  • Draw in chart = On
  • Drawing slot = 3

Signal Generation - Indicators (PRICE)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = PRICE
  • Series = Open
  • Draw in chart = On
  • Drawing slot = 4

Signal Generation - Indicator Combinations (PRICE Open & BB Lower)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = PRICE (Open)
  • Input indicator 2 = BB (Lower)
  • Value relation = Value 2 cross value 1

Initial Stop Loss

  • Selection = Rate of change
  • Rate change = 0.00100000

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example A4: News trading of high impact calendar events

CAUTION

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 news trading for high-impact economic events across all global currencies. The strategy opens positions 15 minutes before and after major news releases, capitalizing on increased volatility during these periods. The Average True Range (ATR) indicator provides adaptive stop loss levels that adjust to current market volatility.

A unique feature is the trailing stop loss that activates immediately at trade opening, continuously adjusting based on ATR values. This protects profits as price moves favorably while giving trades room to develop. The forward adjustment of 2.50 multiplies the ATR value, creating appropriate spacing for volatile news conditions.

High-impact events like interest rate decisions and employment reports often create significant price movements. This strategy positions traders to capture these moves while managing risk through dynamic stop losses that respond to changing volatility levels during news releases.

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

Signal Generation - Indicators (ATR)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = ATR
  • Drawing in chart = On
  • Drawing slot = 1
  • Forward adjustment = 2.50

Signal Generation - News

  • Signal in use = On
  • Signal used for = Entry
  • Draw table with upcoming events = Off
  • Pre event signal time = 900
  • Post event signal time = 900
  • Signals for ALL regions = On
  • Signals for AUD region = On
  • Signals for BRL region = On
  • Signals for CAD region = On
  • Signals for CHF region = On
  • Signals for CNY region = On
  • Signals for EUR region = On
  • Signals for GBP region = On
  • Signals for HKD region = On
  • Signals for INR region = On
  • Signals for JPY region = On
  • Signals for KRW region = On
  • Signals for MXN region = On
  • Signals for NOK region = On
  • Signals for NZD region = On
  • Signals for SEK region = On
  • Signals for SGD region = On
  • Signals for USD region = On
  • Signals for ZAR region = On
  • Signals for undefined importance = Off
  • Signals for low importance = Off
  • Signals for moderate importance = Off
  • Signals for high importance = On

Initial Stop Loss

  • Selection = Indicator value
  • Used indicator = ATR

Stop Loss Trailing - Indicator value

  • Activation position = 0
  • Type = Indicator value
  • Used indicator = ATR

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example A5: News trading of regional high impact calendar events

CAUTION

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 focuses on regional news trading, specifically targeting EUR and USD economic events. Unlike the previous news trading example, this strategy filters events by currency region, allowing traders to specialize in specific market pairs like EURUSD. The 15-minute timeframe recommendation helps capture quick price movements following announcements.

The configuration maintains the same ATR-based risk management system with trailing stops activated from position opening. By limiting signals to EUR and USD events only, traders avoid overwhelming signal generation and can focus on understanding how specific economies affect their chosen currency pair.

Regional filtering proves especially useful for traders who follow particular economic zones closely. European Central Bank and Federal Reserve announcements typically have the strongest impact on EURUSD, making this targeted approach more efficient than monitoring all global events simultaneously.

INFO

Recommended to use EURUSD M15

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

Signal Generation - Indicators (ATR)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = ATR
  • Drawing in chart = On
  • Drawing slot = 1
  • Forward adjustment = 2.50

Signal Generation - News

  • Signal in use = On
  • Signal used for = Entry
  • Draw table with upcoming events = Off
  • Pre event signal time = 900
  • Post event signal time = 900
  • Signals for ALL regions = Off
  • Signals for AUD region = Off
  • Signals for BRL region = Off
  • Signals for CAD region = Off
  • Signals for CHF region = Off
  • Signals for CNY region = Off
  • Signals for EUR region = On
  • Signals for GBP region = Off
  • Signals for HKD region = Off
  • Signals for INR region = Off
  • Signals for JPY region = Off
  • Signals for KRW region = Off
  • Signals for MXN region = Off
  • Signals for NOK region = Off
  • Signals for NZD region = Off
  • Signals for SEK region = Off
  • Signals for SGD region = Off
  • Signals for USD region = On
  • Signals for ZAR region = Off
  • Signals for undefined importance = Off
  • Signals for low importance = Off
  • Signals for moderate importance = Off
  • Signals for high importance = On

Initial Stop Loss

  • Selection = Indicator value
  • Used indicator = ATR

Stop Loss Trailing - Indicator value

  • Activation position = 0
  • Type = Indicator value
  • Used indicator = ATR

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example A6: Avoiding high impact calendar events

CAUTION

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 illustrates defensive news trading by avoiding high-impact events rather than trading them. The signal inversion feature reverses the logic, generating entry signals only during calm periods without major news. The extended 2-hour buffer before and after events ensures complete avoidance of news-related volatility.

The MACD crossing system provides the primary entry signals during these quiet periods. The ATR-based stop loss and trailing system adapt to lower volatility conditions typical of non-news periods. This approach suits conservative traders who prefer predictable market conditions over potentially profitable but risky news events.

By combining technical analysis with news filtering, this strategy captures steady trends while avoiding unpredictable spikes. The visual signal lines help traders see exactly when the system blocks trades due to upcoming events, providing transparency in the decision-making process.

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

Signal Generation - Indicators (ATR)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = ATR
  • Drawing in chart = On
  • Drawing slot = 1
  • Forward adjustment = 2.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 3

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value x cross value x

Signal Generation - News

  • Signal in use = On
  • Signal used for = Entry
  • Signal visualization = On
  • Draw table with upcoming events = Off
  • Signal inversion = On
  • Pre event signal time = 7200
  • Post event signal time = 7200
  • Signals for ALL regions = On
  • Signals for AUD region = On
  • Signals for BRL region = On
  • Signals for CAD region = On
  • Signals for CHF region = On
  • Signals for CNY region = On
  • Signals for EUR region = On
  • Signals for GBP region = On
  • Signals for HKD region = On
  • Signals for INR region = On
  • Signals for JPY region = On
  • Signals for KRW region = On
  • Signals for MXN region = On
  • Signals for NOK region = On
  • Signals for NZD region = On
  • Signals for SEK region = On
  • Signals for SGD region = On
  • Signals for USD region = On
  • Signals for ZAR region = On
  • Signals for undefined importance = Off
  • Signals for low importance = Off
  • Signals for moderate importance = Off
  • Signals for high importance = On

Initial Stop Loss

  • Selection = Indicator value
  • Used indicator = ATR

Stop Loss Trailing - Indicator value

  • Activation position = 0
  • Type = Indicator value
  • Used indicator = ATR

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example A7: One chart analyzer for signal generation

CAUTION

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 introduces the chart analyzer for volatility-based signal generation. The analyzer examines the last 50 bars to determine market volatility levels, only generating signals during high volatility periods when price movements offer better profit potential. This intelligent filtering reduces false signals during quiet market conditions.

The fixed 200 pip stop loss provides consistent risk management, while the 1.40 risk ratio maintains favorable reward potential. The chart analyzer’s visual indicators help traders understand current market conditions at a glance, showing whether volatility meets the threshold for trading.

This approach works particularly well for momentum traders who thrive in active markets. By waiting for high volatility confirmation, the strategy avoids the choppy, directionless price action common in ranging markets, focusing instead on periods with clear directional movement.

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

Signal Generation - Chart Analyzer

  • Signal in use = On
  • Signal used for = Entry
  • Signal visualization = On
  • Analyzed width = 50
  • Signal if volatility is low = Off
  • Signal if volatility is middle = Off
  • Signal if volatility is high = On

Initial Stop Loss

  • Selection = Fix pips
  • Fix pips = 200

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example B1: Trading at specific hours

CAUTION

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 time-based trading restrictions, limiting activity to specific hours of the day. The strategy only allows trades between 6-11 AM and 2-7 PM, avoiding overnight sessions and lunch hours when liquidity may be lower. Visual timing indicators on the chart clearly show active and restricted periods.

The SMA and EMA crossing system provides entry signals, but only during permitted hours. Even if perfect signals occur outside these windows, the system ignores them completely. The Standard Deviation indicator manages stop losses with its proven forward adjustment system.

Fixed 0.10 lot sizing simplifies position management for beginners. Time restrictions help traders focus on the most liquid market sessions when spreads are tighter and price action more reliable. This disciplined approach prevents impulsive trading during unfavorable market conditions.

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

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Timing

  • Visualize timing = On
  • Trading hours = 6-11;14-19

Volume Calculation

  • Volume calculation method = Fix lots
  • Fix lots = 0.10

Screenshots

Example B2: Trading at specific days of week

CAUTION

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 extends timing control to specific weekdays, only allowing trades on Wednesdays and Thursdays. Market research often shows certain weekdays have different characteristics - Mondays can be unpredictable, Fridays see position squaring, while mid-week offers more stable trends. The visual timing system highlights permitted trading days clearly.

The technical setup remains consistent with moving average crossings for signals and Standard Deviation for stop losses. By limiting trading to two days, the strategy reduces market exposure while potentially improving win rates by focusing on statistically favorable periods.

This approach suits part-time traders who cannot monitor markets daily. It also helps maintain discipline by preventing overtrading, a common problem for enthusiastic beginners. The fixed lot size and risk ratio keep money management simple and consistent.

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

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Timing

  • Visualize timing = On
  • Trading days of week = Wednesday-Thursday

Volume Calculation

  • Volume calculation method = Fix lots
  • Fix lots = 0.10

Screenshots

Example B3: Trading at specific days of month

CAUTION

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 restricts trading to specific days of the month, specifically days 10 through 20. This mid-month period often shows different characteristics than month-end or month-beginning when institutional rebalancing occurs. The visual timing display clearly marks active trading periods on the chart.

Many traders notice patterns related to monthly cycles - salary payments, option expirations, and quarterly reports all create recurring market behaviors. By focusing on the middle third of each month, this strategy avoids these potentially disruptive events while capturing steady mid-month trends.

The technical indicators remain unchanged, proving that timing filters can enhance any strategy without modifying core signal logic. This modular approach allows traders to test different timing windows while keeping their proven entry and exit rules intact.

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

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Timing

  • Visualize timing = On
  • Trading days = 10-20

Volume Calculation

  • Volume calculation method = Fix lots
  • Fix lots = 0.10

Screenshots

Example B4: Intraday trading mode with forced closures at end of day

CAUTION

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 implements intraday trading mode with forced closures at day’s end. Positions can only open between 9 AM and 6 PM, with all trades automatically closed by 9 PM regardless of profit or loss. This prevents overnight risk and swap charges while ensuring clean starts each trading day.

The forced closure feature distinguishes this from simple time restrictions. Even profitable trades must close by the deadline, preventing the temptation to hold positions overnight. This discipline proves valuable for day traders who must maintain strict separation between trading days.

Visual timing indicators show three zones: transparent for full trading, orange for exit-only periods, and red for forced closure times. This clear visualization helps traders understand exactly when the system will act, removing uncertainty from the trading process.

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

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Timing

  • Visualize timing = On
  • Intraday mode = 09:00:00
  • Start intraday trading = 18:00:00
  • Deadline intraday trading = 21:00:00
  • Intraday mode = On

Volume Calculation

  • Volume calculation method = Fix lots
  • Fix lots = 0.10

Screenshots

Example B5: Automatic signal shifting depending on daylight saving time (DST)

CAUTION

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 addresses daylight saving time (DST) adjustments, automatically shifting trading hours when DST changes occur. The configuration shows complex DST rules with different start and end dates, demonstrating how the system adapts to time zone variations. This ensures strategies maintain consistent market timing throughout the year.

The news-based signals combine with hourly restrictions to create a sophisticated timing system. When DST shifts occur, the entire schedule adjusts automatically, maintaining alignment with actual market sessions rather than clock time. This prevents strategies from trading at unintended times after DST changes.

Multiple screenshots show the system operating correctly across different DST periods. This advanced feature proves essential for strategies dependent on specific market sessions, especially when trading instruments from different time zones simultaneously.

CAUTION

Recommended to use EURUSD M15

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 - News

  • Signal in use = On
  • Signal used for = Entry
  • Signals for ALL regions = Off
  • Signals for AUD region = Off
  • Signals for BRL region = Off
  • Signals for CAD region = Off
  • Signals for CHF region = Off
  • Signals for CNY region = Off
  • Signals for EUR region = On
  • Signals for GBP region = Off
  • Signals for HKD region = Off
  • Signals for INR region = Off
  • Signals for JPY region = Off
  • Signals for KRW region = Off
  • Signals for MXN region = Off
  • Signals for NOK region = Off
  • Signals for NZD region = Off
  • Signals for SEK region = Off
  • Signals for SGD region = Off
  • Signals for USD region = On
  • Signals for ZAR region = Off
  • Signals for undefined importance = Off
  • Signals for low importance = On
  • Signals for moderate importance = On
  • Signals for high importance = On

Timing

  • Visualize timing = On
  • Trading hours = 9-19
  • DST summer: Shifted minutes = 60
  • DST summer: Start = Mar 2nd Sun 02:00:00
  • DST summer: End = Apr 1st Sun 02:00:00
  • DST winter: Shifted minutes = -60
  • DST winter: Start = Oct 2nd Sun 02:00:00
  • DST winter: End = Nov 1st Sun 02:00:00

Screenshots

Example C1: Average true range stop loss trailing

CAUTION

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 showcases basic ATR-based trailing stop loss functionality. The stop loss continuously adjusts based on Average True Range values, maintaining a dynamic distance from current price that adapts to market volatility. The trailing activation begins immediately at position opening, protecting the trade from the start.

The forward adjustment of 3.50 multiplies the raw ATR value, creating sufficient breathing room for normal price fluctuations. As volatility increases, the stop loss automatically widens its distance; as markets calm, it tightens. This responsive behavior prevents both premature exits and excessive risk exposure.

The low 1.10 risk ratio take profit creates a tight target suitable for volatile conditions. This combination of adaptive stops and modest targets works well in trending markets where prices move steadily but with varying volatility levels.

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

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators - ATR

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = ATR
  • Draw in chart = On
  • Drawing slot = 3
  • Forward adjustment = 3.50

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator value
  • Used indicator = ATR

Stop Loss Trailing - Indicator value

  • Activation position = 0
  • Type = Indicator value
  • Used indicator = ATR

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.10

Screenshots

Example C2: First breakeven, then average true range stop loss trailing

CAUTION

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 multi-stage stop loss trailing with breakeven and ATR components. The first stage moves the stop to breakeven when price reaches 120% of the initial risk, securing a risk-free trade. At 150%, the system switches to ATR-based trailing with a tighter 1.50 multiplier for closer tracking.

Two different ATR configurations provide flexibility - the initial stop uses a 2.50 multiplier for wider placement, while the trailing stage uses 1.50 for tighter following. This graduated approach balances initial trade development needs with later profit protection requirements.

The stage-based system allows sophisticated risk management that adapts to trade progression. Early stages give trades room to develop, while later stages lock in profits more aggressively. This professional approach maximizes both win rate and profit potential.

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

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators - ATR (1)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = ATR
  • Draw in chart = On
  • Drawing slot = 3
  • Forward adjustment = 2.50

Signal Generation - Indicators - ATR (2)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = ATR
  • Draw in chart = On
  • Drawing slot = 3
  • Forward adjustment = 1.50

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

Signal in use = On

Signal used for = Entry

Input indicator 1 = MACD (Main line)

Input indicator 2 = MACD (Signal line)

Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator value
  • Used indicator = ATR (1)

Stop Loss Trailing - Breakeven

  • Activation position = 0
  • Type = Breakeven
  • Breakeven position = 120

Stop Loss Trailing - Indicator value

  • Activation position = 150
  • Type = Indicator value
  • Used indicator = ATR (2)

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example C3: First breakeven, then average true range, then market stop loss trailing

CAUTION

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 extends trailing stops to three stages: breakeven, ATR-based, and market-based trailing. Each stage activates at specific profit levels, creating increasingly aggressive profit protection as trades succeed. The final market-based stage follows price extremely closely using previous candle extremes.

The market trailing stage adds both fixed and spread-based buffers, preventing stops from triggering on normal spread widening. With no take profit set, trades can run indefinitely until the trailing stop captures profits. This open-ended approach captures major trends while protecting accumulated gains.

Progressive staging represents advanced position management, allowing different strategies at different profit levels. This flexibility helps traders adapt to changing market conditions within a single trade, maximizing profit potential while managing risk dynamically.

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

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators - ATR (1)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = ATR
  • Draw in chart = On
  • Drawing slot = 3
  • Forward adjustment = 2.50

Signal Generation - Indicators - ATR (2)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = ATR
  • Draw in chart = On
  • Drawing slot = 3
  • Forward adjustment = 1.50

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator value
  • Used indicator = ATR (1)

Stop Loss Trailing - Breakeven

  • Activation position = 0
  • Type = Breakeven
  • Breakeven position = 120

Stop Loss Trailing - Indicator value

  • Activation position = 150
  • Type = Indicator value
  • Used indicator = ATR (2)

Stop Loss Trailing - Market

  • Activation position = 200
  • Type = Market
  • Market buffer fix = 10
  • Market buffer spread = 4.0

Initial Take Profit

  • Selection = Off

Screenshots

Example D1: Fixed pips distance as initial stop loss and initial take profit

CAUTION

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 uses fixed pip values for both stop loss and take profit levels. The 200 pip stop loss and 300 pip take profit create a favorable 1.5 risk-reward ratio using absolute distances. This straightforward approach requires no complex calculations, making it ideal for beginners learning position management basics.

Fixed pip strategies work best in stable volatility environments where typical price movements remain consistent. The recommendation for timeframes between M1 and H1 suggests this approach suits intraday trading where daily ranges are relatively predictable.

While simple, fixed pip methods may require adjustment as market conditions change over time. Traders should periodically review these values to ensure they remain appropriate for current market volatility levels. This example provides an excellent starting point for understanding risk-reward concepts.

CAUTION

Recommended to use EURUSD M1 - H1

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

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Fix pips
  • Fix pips = 200

Initial Take Profit

  • Selection = Fix pips
  • Fix pips = 300

Screenshots

Example D2: Indicator value for initial stop loss and initial take profit

CAUTION

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 uses Bollinger Bands to dynamically set both stop loss and take profit levels. The lower band determines stop loss placement while the upper band sets take profit targets, creating a statistically-based range for each trade. This adaptive approach automatically adjusts to market volatility without manual intervention.

Using indicators for both levels ensures consistent risk-reward relationships regardless of market conditions. As Bollinger Bands expand during volatile periods, both stops and targets widen proportionally. During calm periods, they contract together, maintaining strategic balance.

The MACD provides entry timing while Bollinger Bands handle exit levels entirely. This separation of concerns creates a robust system where entry and exit logic operate independently, allowing optimization of each component without affecting the other.

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

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators (BB Lower)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = BB
  • Line index = Lower
  • Draw in chart = On
  • Drawing slot = 3

Signal Generation - Indicators (BB Upper)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = BB
  • Line index = Upper
  • Draw in chart = On
  • Drawing slot = 4

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator value
  • Used indicator = BB (Lower)

Initial Take Profit

  • Selection = Indicator value
  • Used indicator = BB (Upper)

Screenshots

Example D3: Indicator value for initial stop loss, stop loss trailing, initial take profit and dynamic take profit

CAUTION

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 combines indicator-based levels with dynamic adjustments for both stop loss and take profit. Bollinger Bands provide initial levels and continue adjusting them throughout the trade duration. This creates a fully dynamic system where both risk and reward targets respond to changing market conditions.

The trailing stop and dynamic take profit activate immediately, continuously repositioning based on current Bollinger Band values. As bands expand or contract, both levels adjust accordingly. This creates a breathing trade management system that adapts to volatility in real-time.

This advanced approach suits experienced traders comfortable with fully automated position management. The system requires no manual intervention once trades open, making it ideal for algorithmic trading where consistent rule application matters more than discretionary judgment.

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

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators (BB Lower)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = BB
  • Line index = Lower
  • Draw in chart = On
  • Drawing slot = 3

Signal Generation - Indicators (BB Upper)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = BB
  • Line index = Upper
  • Draw in chart = On
  • Drawing slot = 4

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator value
  • Used indicator = BB (Lower)

Stop Loss Trailing - Indicator value

  • Activation position = 0
  • Type = Indicator value
  • Used indicator = BB (Lower)

Initial Take Profit

  • Selection = Indicator value
  • Used indicator = BB (Upper)

Dynamic Take Profit - Indicator value

  • Activation position = 0
  • Type = Indicator value
  • Used indicator = BB (Upper)

Screenshots

Example D4: Support and resistance for initial stop loss and initial take profit

CAUTION

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 uses chart analyzer support and resistance levels for stop loss and take profit placement. The analyzer identifies key price levels automatically, placing stops below support for long trades and targets at resistance levels. Minimum distance requirements ensure levels aren’t too close to entry prices.

The 0.00250000 minimum rate of change for stop loss and 0.00300000 for take profit create appropriate spacing from entry prices. These minimums prevent the system from using support or resistance levels that are too close, which could result in premature exits or unrealistic targets.

Chart-based levels often align with psychological price points where many traders place orders. This creates self-fulfilling prophecies as prices react at these levels. Using them for trade management aligns strategies with broader market participant behavior.

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

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value x cross value x

Signal Generation - Chart Analyzer

  • Signal in use = On
  • Signal used for = Forward
  • Draw boundaries = Off
  • Draw extrema = Off
  • Draw supports and resistances = On
  • Draw swing phase = Off
  • Supports and resistances forward = ALL
  • Support multiplier = 1.00
  • Resistance multiplier = 1.00

Initial Stop Loss

  • Selection = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Minimum value in fix pips = Off
  • Minimum value in rate of change = 0.00250000
  • Maximum value in fix pips = Off
  • Maximum value in rate of change = Off

Initial Take Profit

  • Selection = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Minimum value in fix pips = Off
  • Minimum value in rate of change = 0.00300000
  • Maximum value in fix pips = Off
  • Maximum value in rate of change = Off

Screenshots

Example D5: Support and resistance for initial stop loss, stop loss trailing, initial take profit and dynamic take profit

CAUTION

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 extends support and resistance usage to include dynamic adjustments throughout trade duration. Both stop loss and take profit levels continuously update as new support and resistance levels form. This creates an intelligent system that adapts to evolving market structure.

The chart analyzer continuously scans for new levels, switching to closer support or resistance as they develop. This allows trades to tighten stops as price moves favorably while extending targets when resistance breaks. The visual display shows all detected levels, providing transparency in decision-making.

This sophisticated approach mimics how professional traders manually adjust levels based on market structure. Automation ensures consistent application without emotional interference, maintaining disciplined trade management even during stressful market conditions.

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

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value x cross value x

Signal Generation - Chart Analyzer

  • Signal in use = On
  • Signal used for = Forward
  • Draw boundaries = Off
  • Draw extrema = Off
  • Draw supports and resistances = On
  • Draw swing phase = Off
  • Supports and resistances forward = ALL
  • Support multiplier = 1.00
  • Resistance multiplier = 1.00

Initial Stop Loss

  • Selection = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Minimum value in fix pips = Off
  • Minimum value in rate of change = 0.00250000
  • Maximum value in fix pips = Off
  • Maximum value in rate of change = Off

Stop Loss Trailing - Support/resistance from chart analyzer

  • Activation position = 0
  • Type = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Support/resistance fix pips minimum = Off
  • Support/resistance rate of change minimum = Off
  • Support/resistance fix pips maximum = Off
  • Support/resistance rate of change maximum = Off

Initial Take Profit

  • Selection = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Minimum value in fix pips = Off
  • Minimum value in rate of change = 0.00300000
  • Maximum value in fix pips = Off
  • Maximum value in rate of change = Off

Dynamic Take Profit - Support/resistance from chart analyzer

  • Activation position = 0
  • Type = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Support/resistance fix pips minimum = Off
  • Support/resistance rate of change minimum = Off
  • Support/resistance fix pips maximum = Off
  • Support/resistance rate of change maximum = Off

Screenshots

Example D6: Candle pattern search used for initial stop loss and initial take profit

CAUTION

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 uses candle pattern recognition to determine optimal stop loss and take profit levels. When patterns like hammers or engulfing formations occur, they provide ideal exit levels based on the pattern’s structure. The 2.00 forward adjustment allows fine-tuning of these idealized levels.

Multiple patterns are enabled, increasing signal frequency and providing diverse entry opportunities. Each pattern has specific characteristics that suggest probable price behavior, making them valuable for exit level determination. The visual pattern identification helps traders learn pattern recognition while the system trades automatically.

Pattern-based exits align with traditional technical analysis principles, using the same concepts manual traders have employed for decades. This bridges classical charting techniques with modern algorithmic trading.

CAUTION

Recommended to use M1 - M15

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
  • One trade mode = Off

Signal Generation - Candle Patterns

  • Signal in use = On
  • Signal used for = Entry
  • Hammer = On
  • Hanging Man = On
  • Bullish Belt Hold = On
  • Bearish Belt Hold = On
  • Bullish Engulfing = On
  • Bearish Engulfing = On
  • Bullish Harami = On
  • Bearish Harami = On
  • Bullish Harami Cross = On
  • Bearish Harami Cross = On
  • Bullish Doji = On
  • Bearish Doji = On
  • Bullish Long Legged Doji = On
  • Bearish Long Legged Doji = On
  • Bullish Gravestone Doji = On
  • Bearish Gravestone Doji = On
  • Bullish Dragonfly Doji = On
  • Bearish Dragonfly Doji = On
  • Dark Cloud Cover = On
  • Piercing Pattern = On
  • Morning Star = On
  • Evening Star = On
  • Bullish Inside Days = On
  • Bearish Inside Days = On
  • Stop loss forward adjustment = 2.00
  • Take profit forward adjustment = 2.00

Initial Stop Loss

  • Selection = Candle patterns

Initial Take Profit

  • Selection = Candle patterns

Screenshots

Example D7: Chart pattern search used for initial stop loss and initial take profit

CAUTION

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 employs chart pattern detection for trade management. Patterns like triangles, head-and-shoulders, and double tops provide structured exit levels based on measured moves. The 1.00 forward adjustment means patterns’ ideal levels are used without modification, trusting classical technical analysis principles.

Eighteen different patterns are enabled, covering continuation and reversal formations. Each pattern has well-established profit targets based on pattern height or width, providing objective exit levels. The system recognizes these patterns automatically, eliminating subjective interpretation.

Chart patterns represent crowd psychology visualized in price action. Using them for trade management aligns strategies with these psychological levels where significant trading activity often occurs, increasing the probability of successful exits.

CAUTION

Recommended to use M1 - M15

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
  • One trade mode = Off

Signal Generation - Chart Patterns

  • Signal in use = On
  • Signal used for = Entry
  • Bullish Wedge = On
  • Bearish Wedge = On
  • Bullish Trendchannel = On
  • Bearish Trendchannel = On
  • Bullish Triangle = On
  • Bearish Triangle = On
  • Shoulder Head Shoulder Top = On
  • Shoulder Head Shoulder Bottom = On
  • Double Top = On
  • Double Bottom = On
  • Triple Top = On
  • Triple Bottom = On
  • Rectangle Top = On
  • Rectangle Bottom = On
  • Bullish Symetric Triangle = On
  • Bearish Symetric Triangle = On
  • Bullish Gap = On
  • Bearish Gap = On
  • Stop loss forward adjustment = 1.00
  • Take profit forward adjustment = 1.00

Initial Stop Loss

  • Selection = Chart patterns

Initial Take Profit

  • Selection = Chart patterns

Screenshots

Example D8: Fibonacci pattern search used for initial stop loss and initial take profit

CAUTION

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 utilizes Fibonacci retracement patterns for trade management. When bullish or bearish Fibonacci patterns form, they provide natural stop loss and take profit levels based on key retracement percentages. These mathematical relationships often create strong support and resistance zones.

The 1.00 forward adjustment indicates Fibonacci levels are used exactly as calculated, respecting the mathematical precision these ratios represent. Traders have observed these levels for decades, creating self-reinforcing price behavior at key Fibonacci points.

Fibonacci-based management suits trend-following strategies where retracements offer entry opportunities. The pattern recognition eliminates manual Fibonacci drawing, ensuring consistent application across all trades while maintaining the mathematical integrity of these classical levels.

CAUTION

Recommended to use M1 - M15

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
  • One trade mode = Off

Signal Generation - Fibonacci Patterns

  • Signal in use = On
  • Signal used for = Entry
  • Bullish Fibonacci = On
  • Bearish Fibonacci = On
  • Stop loss forward adjustment = 1.00
  • Take profit forward adjustment = 1.00

Initial Stop Loss

  • Selection = Fibonacci patterns

Initial Take Profit

  • Selection = Fibonacci patterns

Screenshots

Example E1: Two trades with a pending order

CAUTION

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 trade splitting with pending orders. The system opens two positions from each signal - 100% volume immediately and another 50% at 80 % risk. This graduated entry approach allows adding to winning positions while limiting exposure on losing trades.

The pending order uses stop order mechanics with Standard Deviation-based pricing. If price moves to 80 % risk, the additional position triggers automatically. Both positions share the same stop loss and take profit logic, simplifying management despite multiple entries.

Position scaling represents professional money management, allowing traders to maximize profitable opportunities while controlling risk. This approach captures more profit from strong moves while maintaining reasonable exposure on failed signals.

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
  • Pending Order Settings
  • Mode = Stop
  • Price calculation method = Indicator value
  • Used indicator = STD
  • Expiration = 75

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Trade Splitting

  • Open volume = 100
  • Open position = 80
  • Close position = 0

Screenshots

Example E2: Three trades

CAUTION

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 extends trade splitting to three positions with different entry and exit points. The first split enters at 80 % risk with full volume, while the second enters at 150 % risk with 50% volume and exits at 200 % risk. This creates a sophisticated scaling system with multiple profit targets.

Each split can have independent exit levels, allowing partial profit-taking at predetermined points. This approach locks in gains progressively while keeping portions of the position for larger moves. The main trade targets 2.40 risk ratio, seeking substantial profits on the core position.

Multiple exit points reduce psychological pressure by securing profits incrementally. Traders often struggle with all-or-nothing exits; this graduated approach provides a balanced solution that satisfies both conservative and aggressive instincts.

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

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 2.40

Trade Splitting 1

  • Open volume = 100
  • Open position = 80
  • Close position = 0

Trade Splitting 2

  • Open volume = 50
  • Open position = 150
  • Close position = 200

Screenshots

Example E3: Four trades

CAUTION

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 implements four-position trade splitting, creating a complex scaling strategy. Each split has specific entry points and volumes, with the final position using only 25% volume entering at 200 % risk. This pyramid approach maximizes position size in winning trades while minimizing risk.

The staggered entries at 80, 150, and 200 % risk create multiple confirmation points before full position deployment. Early exits at 200 and 220 % risk for later splits ensure profit-taking even if trends reverse. This sophisticated structure balances aggression with protection.

Four-level splitting represents advanced position management suitable for strong trending markets. The complexity requires careful monitoring but can significantly enhance profitability when trends persist beyond initial targets.

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

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 2.40

Trade Splitting 1

  • Open volume = 100
  • Open position = 80
  • Close position = 0

Trade Splitting 2

  • Open volume = 50
  • Open position = 150
  • Close position = 200

Trade Splitting 3

  • Open volume = 25
  • Open position = 200
  • Close position = 220

Screenshots

Example F1: Temporary disabling of trading due to bad performance

CAUTION

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 shows temporary trading suspension due to poor weekly performance. If the account drops 2% or more in a week, trading halts until the next week begins. The inspector panel displays current performance metrics, providing real-time feedback on proximity to suspension thresholds.

This protective mechanism prevents emotional revenge trading after losses. By forcing a cooling-off period, traders can analyze what went wrong without risking further capital. The automatic reset each week provides fresh starts without manual intervention.

Performance monitoring creates self-aware trading systems that recognize when strategies aren’t working. This defensive feature proves invaluable during unexpected market conditions when strategies may temporarily fail.

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
  • One trade mode = Off

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Volume Calculation

  • Volume calculation method = Fix lots
  • Fix lots = 0.10

Monitoring

  • Draw inspector panel = On
  • Weekly performance: Relative lower limit = -2.00

Screenshots

Example F2: Permanent disabling of trading due to bad performance

CAUTION

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 implements permanent trading suspension based on overall performance. If total account performance drops below the -2% threshold, trading stops completely without automatic reactivation. This ultimate protection prevents complete account destruction during strategy failure.

The inspector panel continuously displays overall performance metrics, warning traders as they approach the permanent suspension threshold. This transparency allows intervention before automatic shutdown occurs. Manual reset remains possible but requires deliberate action.

Permanent suspension represents the final safety net, acknowledging that strategies can fail completely. This humble approach accepts that not all strategies work forever, protecting capital when fundamental strategy assumptions break down.

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
  • One trade mode = Off

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Volume Calculation

  • Volume calculation method = Fix lots
  • Fix lots = 0.10

Monitoring

  • Draw inspector panel = On
  • Overall performance: Relative lower limit = 2.00

Screenshots

Example F3: Temporary disabling of trading due to bad drawdown

CAUTION

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 uses weekly drawdown limits for temporary suspension. If drawdown exceeds 2% within a week, trading pauses until the next week. Unlike performance limits that measure end results, drawdown limits monitor peak-to-trough movements during the period.

Drawdown monitoring captures risk exposure more accurately than simple performance metrics. A strategy might end profitably while experiencing dangerous drawdowns that risk large losses. This measurement ensures strategies maintain acceptable risk levels throughout trading periods.

The inspector panel shows current drawdown levels, helping traders understand their risk exposure in real-time. This awareness promotes better risk management decisions even when trading manually alongside automated systems.

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
  • One trade mode = Off

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Volume Calculation

  • Volume calculation method = Fix lots
  • Fix lots = 0.10

Monitoring

  • Draw inspector panel = On
  • Weekly drawdown : Relative upper limit = 2.00

Screenshots

Example F4: Permanent disabling of trading due to bad drawdown

CAUTION

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 enforces permanent suspension based on maximum overall drawdown. If drawdown ever exceeds 2% from the highest account equity, trading halts permanently. This stringent protection ensures strategies never risk unacceptable losses regardless of eventual recovery.

Overall drawdown represents the worst-case scenario experienced since strategy inception. This metric reveals true risk exposure, showing the maximum loss traders must psychologically and financially withstand. Limiting this preserves both capital and confidence.

The permanent nature of this suspension reflects drawdown’s serious implications. Strategies exceeding acceptable drawdown levels have proven themselves too risky, warranting complete reevaluation rather than simple continuation.

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
  • One trade mode = Off

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Volume Calculation

  • Volume calculation method = Fix lots
  • Fix lots = 0.10

Monitoring

  • Draw inspector panel = On
  • Overall drawdown: Relative upper limit = 2.00

Screenshots

Example G1: Buy stop and StdDev pending price

CAUTION

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 buy stop pending orders with Standard Deviation-based pricing. Orders are placed above current market price using the STD indicator value, triggering only if price rises to that level. The 75-bar expiration ensures orders don’t remain indefinitely if unused.

Stop orders excel in breakout strategies where traders want confirmation of upward movement before entering. By waiting for price to reach the pending level, the strategy avoids false breakouts that immediately reverse. The STD-based pricing adapts to volatility, placing orders at statistically significant levels.

Pending orders reduce slippage during fast markets by pre-positioning orders at desired levels. This proves especially valuable during news events or breakouts when immediate execution might suffer from poor fills.

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

Pending Order Settings

  • Mode = Stop
  • Price calculation method = Indicator value
  • Used indicator = STD
  • Expiration = 75

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example G2: Buy limit and StdDev pending price

CAUTION

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 shows buy limit orders for entering at better prices during retracements. Orders are placed below market price using STD indicator values, waiting for pullbacks before entering long positions. This patient approach often achieves better entry prices than immediate market orders.

Limit orders suit range-trading strategies where price oscillates between boundaries. By placing orders at the lower boundary, traders enter at optimal levels within the range. The STD-based pricing ensures orders adapt to current volatility conditions.

The 75-bar expiration prevents old orders from triggering after market conditions change. This temporal limit maintains strategy relevance, ensuring orders reflect recent market analysis rather than outdated signals.

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

Pending Order Settings

  • Mode = Limit
  • Price calculation method = Indicator value
  • Used indicator = STD
  • Expiration = 75

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example G3: Sell stop and StdDev pending price

CAUTION

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 implements sell stop orders for short positions, placing orders below current price to confirm downward momentum. The STD indicator determines optimal placement distance, adapting to market volatility. This ensures orders trigger only on meaningful downward moves.

Sell stop orders protect against false breakdowns in uptrends by requiring price confirmation before entering short positions. This conservative approach reduces premature shorts that suffer immediate losses when uptrends resume. The pending mechanism provides this confirmation filter.

The visual display shows pending order levels clearly, helping traders understand where orders wait for execution. This transparency aids in learning how pending orders interact with market price action.

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 = Short

Pending Order Settings

  • Mode = Stop
  • Price calculation method = Indicator value
  • Used indicator = STD
  • Expiration = 75

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example G4: Sell limit and StdDev pending price

CAUTION

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 uses sell limit orders to enter short positions at better prices during rallies. Orders are placed above current price, waiting for upward retracements before selling. This patient approach often achieves superior entry prices for short trades.

Limit orders for shorts work well in downtrends where rallies provide better selling opportunities. By waiting for these bounces, traders enter at resistance levels rather than chasing price lower. The STD-based pricing ensures appropriate distance from current market levels.

The combination of MACD signals and limit order execution creates a two-step confirmation process. First, the MACD must signal, then price must reach the limit level, providing double verification before position entry.

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 = Short

Pending Order Settings

  • Mode = Limit
  • Price calculation method = Indicator value
  • Used indicator = STD
  • Expiration = 75

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example G5: Buy stop and rate of change pending price

CAUTION

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 employs rate of change calculations for pending order placement. The 0.00300000 rate of change creates percentage-based pending prices that scale with asset value. This relative approach maintains consistent strategy behavior as prices fluctuate over time.

Fixed 200 pip stops might be appropriate at certain price levels but become too large or small as markets evolve. Rate of change calculations solve this by maintaining proportional relationships regardless of absolute price levels. This creates more robust long-term strategies.

The M1-M15 timeframe recommendation suggests this approach suits faster trading where quick price movements require responsive pending orders. The percentage-based system adapts automatically to different volatility regimes.

CAUTION

Recommended to use M1 - M15

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

Pending Order Settings

  • Mode = Stop
  • Price calculation method = Rate of change
  • Rate of change = 0.00300000
  • Expiration = 75

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Initial Stop Loss

  • Selection = Rate of change
  • Rate change = 0.00250000

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example G6: Buy stop and indicator value for pending price

CAUTION

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 uses Bollinger Band upper values for stop order placement. When MACD signals occur, pending orders are placed at the upper band level, requiring price to break above this statistical boundary before entering. This combines momentum confirmation with volatility-based levels.

Bollinger Bands provide dynamic resistance levels that expand and contract with volatility. Using these for pending orders ensures entries only occur when price breaks significant levels, not just minor resistance. This filtering reduces false breakouts in ranging markets.

The indicator-based pending price eliminates subjective level selection, creating consistent, mathematically-derived entry points. This objectivity removes emotional decision-making from trade entry timing.

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

Pending Order Settings

  • Mode = Stop
  • Price calculation method = Indicator value
  • Used indicator = BB
  • Expiration = 75

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators (BB Upper)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = BB
  • Line index = Upper
  • Draw in chart = On
  • Drawing slot = 3

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 2 cross value 1

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example G7: Buy stop and support and resistance for pending price

CAUTION

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 utilizes chart analyzer support and resistance for pending order placement. The analyzer identifies key levels automatically, placing pending orders at these psychological price points. This aligns entries with levels where significant trading activity typically occurs.

Support and resistance levels often act as magnets for price, attracting order flow from many market participants. Placing pending orders at these levels increases fill probability while ensuring entry at significant price points. The 75-bar expiration prevents outdated levels from triggering trades.

Visual display of support and resistance helps traders understand the chart analyzer’s decision process. This transparency builds confidence in automated level selection while educating traders about market structure.

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

Pending Order Settings

  • Mode = Stop
  • Price calculation method = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Expiration = 75

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 2 cross value 1

Signal Generation - Chart Analyzer

  • Signal in use = On
  • Signal used for = Forward
  • Draw boundaries = Off
  • Draw extrema = Off
  • Draw supports and resistances = On
  • Draw swing phase = Off
  • Supports and resistances forward = ALL
  • Support multiplier = 1.00
  • Resistance multiplier = 1.00

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example G8: Buy stop and price dependent activation (hysteresis min)

CAUTION

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 introduces hysteresis for locally managed pending orders. The -50 % minimum hysteresis requires price to move beyond the pending level before triggering, preventing activation from brief touches. This filters out false breakouts that immediately reverse.

Local management keeps pending orders invisible to brokers, preventing stop hunting or front-running. The hysteresis feature adds another protection layer, ensuring meaningful price movement before activation. This double protection significantly reduces false entries.

The ATR-based pending price combines with hysteresis to create adaptive entry conditions. As volatility changes, both the pending level and hysteresis requirement adjust proportionally, maintaining consistent strategy behavior.

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

Pending Order Settings

  • Mode = Stop
  • Price calculation method = Indicator value
  • Used indicator = ATR
  • Expiration = 75
  • Locally managed limit and stop orders = On
  • Hysteresis minimum value = -50

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators (ATR)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = ATR
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 2 cross value 1

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example G9: Buy stop and price dependent cancellation (hysteresis max)

CAUTION

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 maximum hysteresis for automatic order cancellation. If price moves 50 pips beyond the pending level without triggering, the order cancels automatically. This prevents late entries after the opportunity has passed, maintaining strategy timing integrity.

Maximum hysteresis acts like a stop-limit order, defining both trigger and maximum acceptable entry prices. This prevents slippage during fast markets while ensuring entries occur within acceptable ranges. The automatic cancellation removes outdated orders that no longer reflect current conditions.

Combined with local management, this creates sophisticated pending order behavior impossible with standard broker orders. The flexibility enables precise entry control tailored to specific strategy requirements.

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

Pending Order Settings

  • Mode = Stop
  • Price calculation method = Indicator value
  • Used indicator = ATR
  • Expiration = 75
  • Locally managed limit and stop orders = On
  • Hysteresis maximum value = -50

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators (ATR)

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = ATR
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 2 cross value 1

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example H1: Events filtered by title

CAUTION

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 filters news events by title content, focusing only on ECB and Fed announcements. The exclusive filter ensures only events containing these specific terms generate signals. This targeted approach eliminates noise from less impactful news while focusing on major central bank decisions.

The visual event table and chart lines display filtered events clearly, showing exactly which announcements will trigger signals. The 30-minute pre and post windows provide adequate time for positioning around these major events. Title filtering allows precise event selection without monitoring all news.

Central bank events often create the largest market movements, making them ideal for news trading strategies. By filtering specifically for these events, traders can prepare thoroughly for each opportunity rather than reacting to numerous minor announcements.

You can either import this example directly or set it up manually. To manually replicate the trading module, make sure the newly added module includes the following key settings and that the professional mode is activated:

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 - News

  • Signal in use = On
  • Signal used for = Entry
  • Draw table with upcoming events = On
  • Draw signal lines with name in chart = On
  • Pre event signal time = 1800
  • Post event signal time = 1800
  • Signals for ALL regions = On
  • Signals for AUD region = On
  • Signals for BRL region = On
  • Signals for CAD region = On
  • Signals for CHF region = On
  • Signals for CNY region = On
  • Signals for EUR region = On
  • Signals for GBP region = On
  • Signals for HKD region = On
  • Signals for INR region = On
  • Signals for JPY region = On
  • Signals for KRW region = On
  • Signals for MXN region = On
  • Signals for NOK region = On
  • Signals for NZD region = On
  • Signals for SEK region = On
  • Signals for SGD region = On
  • Signals for USD region = On
  • Signals for ZAR region = On

Signal Generation - News - Title filter 1

  • Filter type = Exclusive
  • Title name to filter = ECB

Signal Generation - News - Title filter 2

  • Filter type = Exclusive
  • Title name to filter = Fed

Screenshots

Example H2: Events filtered by relation

CAUTION

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 filters events by actual versus previous value relationships. Only events where actual results exceed previous values generate signals, targeting positive surprises that often drive prices higher. This relationship filtering doesn’t require knowing absolute values, only relative improvements.

The visual display shows which events meet the relationship criteria, providing transparency in signal generation. Value relationships prove more reliable than absolute thresholds since economic indicators vary widely in scale and significance. This relative approach adapts to different types of announcements.

Focusing on improvements filters out disappointing results that might trigger selling. This directional bias aligns signals with likely market reactions, improving signal quality without complex fundamental analysis.

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 - News

  • Signal in use = On
  • Signal used for = Entry
  • Draw table with upcoming events = On
  • Draw signal lines with name in chart = On
  • Pre event signal time = 1800
  • Post event signal time = 1800
  • Signals for ALL regions = On
  • Signals for AUD region = On
  • Signals for BRL region = On
  • Signals for CAD region = On
  • Signals for CHF region = On
  • Signals for CNY region = On
  • Signals for EUR region = On
  • Signals for GBP region = On
  • Signals for HKD region = On
  • Signals for INR region = On
  • Signals for JPY region = On
  • Signals for KRW region = On
  • Signals for MXN region = On
  • Signals for NOK region = On
  • Signals for NZD region = On
  • Signals for SEK region = On
  • Signals for SGD region = On
  • Signals for USD region = On
  • Signals for ZAR region = On

Value relation 1

  • Relation condition = Actual greater previous

Screenshots

Example I1: One indicator line used

CAUTION

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 basic indicator gradient conditions for signal generation. The SMA indicator generates signals when its slope crosses above zero, indicating the moving average has started rising. This simple condition identifies potential trend beginnings with minimal complexity.

The gradient crossing approach differs from price-crossing methods by focusing on indicator direction changes rather than absolute positions. This often provides earlier signals as indicators begin turning before price crosses them. The visual signal lines clearly mark when gradient conditions are met.

Single indicator strategies prove valuable for understanding core concepts before adding complexity. This example teaches how indicator slopes generate signals, forming the foundation for more sophisticated multi-indicator approaches.

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 = On

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Gradient condition = Cross Limit 1
  • Gradient limit 1 = 0.00000000
  • Draw in chart = On
  • Drawing slot = 1

Screenshots

Example I2: One indicator line with time exclusion used

CAUTION

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 adds time exclusion to indicator signals, blocking signals during specific hours. The 22:00-09:00 exclusion removes overnight and early morning periods when spreads may be wider and liquidity lower. This temporal filtering improves signal quality by focusing on optimal trading hours.

Time exclusion differs from the timing component by completely disabling signal processing during excluded periods. Even if perfect indicator conditions occur, no signals are generated. This hard filter ensures strategies only operate during intended market sessions.

The combination of technical indicators and time filtering creates more robust strategies. By eliminating unfavorable periods, the remaining signals have higher success probability due to better market conditions.

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 = On

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Gradient condition = Cross Limit 1
  • Gradient limit 1 = 0.00000000
  • Draw in chart = On
  • Drawing slot = 1
  • Exclusion time range = 22:00:00-09:00:00

Screenshots

Example I3: Two indicator lines combined

CAUTION

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 combines two moving averages for signal generation using their crossing points. When the faster SMA crosses above the slower EMA, buy signals occur. This classic technical analysis approach has been used by traders for decades due to its simplicity and effectiveness.

Moving average crossovers smooth price action while identifying trend changes. The dual-line approach provides confirmation as both averages must align for signals. Visual display of both lines helps traders understand the relationship dynamics driving signal generation.

This foundational strategy teaches indicator combination principles applicable to any indicator pair. Understanding how two indicators interact prepares traders for more complex multi-indicator systems.

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 = On

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Screenshots

Example I4: Four indicator lines combined

CAUTION

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 employs four different moving averages with various conditions to create a comprehensive signal filter. Each average must meet specific gradient requirements for positive signals. The SMA and EMA use crossing conditions while LWMA and SMMA require positive slopes.

Multiple indicator confirmation dramatically reduces false signals by requiring agreement from different calculation methods. Each moving average type responds differently to price changes, so unanimous agreement indicates strong trend conditions. The 100-period SMMA provides long-term trend confirmation.

This complex filtering system demonstrates how multiple indicators can work together without creating contradictory signals. The graduated approach from fast to slow averages ensures both short-term momentum and long-term trend alignment.

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 = On

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = LWMA
  • Gradient condition = Greater Limit 1
  • Gradient limit 1 = 0.00000000
  • Draw in chart = On
  • Drawing slot = 3

Signal Generation - Indicators - SMMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMMA
  • Period = 100
  • Gradient condition = Greater Limit 1
  • Gradient limit 1 = 0.00000000
  • Draw in chart = On
  • Drawing slot = 4

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Screenshots

Example I5: Using price as indicator

CAUTION

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 uses price itself as an indicator, specifically the opening price of each bar. This direct approach eliminates indicator lag, providing immediate response to price changes. The PRICE indicator allows any price component (open, high, low, close) to generate signals.

Using raw price data suits breakout strategies where specific price levels matter more than smoothed indicators. The visual display shows exactly which price points generate signals, providing complete transparency. This approach teaches the difference between price-based and indicator-based signal generation.

Price-as-indicator strategies often combine with other filters to avoid excessive signals. While responsive, raw price can be noisy, making additional confirmation valuable for filtering false moves.

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 = On

Signal Generation - Indicators - PRICE

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = PRICE
  • Series = Open
  • Draw in chart = On
  • Drawing slot = 1

Screenshots

Example J1: One oscillator line used as signal

CAUTION

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 generates signals from RSI oscillator values crossing the 70 level, identifying overbought conditions. Unlike trend indicators that follow price, oscillators measure momentum and extremes, providing different signal types. The visual display shows RSI values and crossing points clearly.

Oscillator signals often contradict trend signals, identifying potential reversals rather than continuations. The 70 level represents statistical overbought conditions where upward momentum may exhaust. This contrarian approach suits range-trading strategies where extremes reverse.

Single oscillator strategies teach momentum concepts essential for understanding market dynamics. RSI’s bounded 0-100 range makes interpretation straightforward, ideal for learning oscillator-based trading.

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 = On

Signal Generation - Indicators - RSI

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = RSI
  • Value condition = Cross Limit 1
  • Value limit 1 = 70.00000000
  • Draw in chart = On
  • Drawing slot = 1

Screenshots

Example J2: Two oscillator lines combined as signal

CAUTION

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 combines MACD histogram crossings for signal generation. When the MACD main line crosses above the signal line, momentum shifts from negative to positive. This zero-line crossing approach identifies momentum changes that often precede price moves.

MACD combines trend and momentum elements, making it versatile for various market conditions. The histogram visualization shows the difference between lines, making crossings easy to identify. Both lines are displayed for complete understanding of the indicator dynamics.

Two-line oscillators provide more nuanced signals than single-line versions. The relationship between lines reveals momentum acceleration and deceleration, offering insights beyond simple overbought/oversold conditions.

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 = On

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Screenshots

Example J3: Using volume as oscillator

CAUTION

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 uses volume indicators for signal generation, requiring tick data for accurate calculation. Volume provides unique market insights unavailable from price alone, revealing the conviction behind price movements. Higher volume suggests stronger commitment to new price levels.

The every-tick requirement ensures accurate volume measurement, though this demands more processing power. Volume-based signals often confirm price-based signals, providing additional validation. The oscillator display shows volume patterns clearly for analysis.

Volume strategies work best in liquid markets where volume data is reliable. This example introduces non-price data integration, expanding strategy possibilities beyond pure technical analysis.

CAUTION

Every tick as model 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 = On

Signal Generation - Indicators - VOLUME

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = VOLUME
  • Series = Close
  • Draw in chart = On
  • Drawing slot = 1

Screenshots

Example K1: Multiple open trades allowed

CAUTION

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 allows multiple simultaneous trades from the same module, enabling position accumulation during strong trends. With one-trade mode disabled, each signal opens a new position regardless of existing trades. This aggressive approach maximizes exposure during favorable conditions.

Multiple positions amplify both profits and risks, requiring careful money management. The visual display shows all open positions clearly, helping traders monitor total exposure. Fixed lot sizing prevents exponential position growth that could become unmanageable.

This configuration suits strong trending markets where multiple entries can capture extended moves. However, traders must understand the increased risk from concentrated positions and adjust position sizing accordingly.

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
  • One trade mode = Off

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example K2: Signals used for opening and closing trades

CAUTION

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 uses MACD crossings for both entry and exit signals, creating a complete trading system. Opposite crossings close existing positions, ensuring trades exit when momentum reverses. This symmetrical approach maintains consistent logic for both trade directions.

Signal-based exits differ from stop loss/take profit exits by responding to market conditions rather than fixed levels. This adaptive approach can capture larger moves in strong trends while exiting quickly when conditions change. The system remains fully automated without manual intervention.

Complete signal systems teach full trade lifecycle management. Understanding both entry and exit signal logic creates more coherent strategies than mixing different methodologies.

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

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Exit
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 2 cross value 1

Screenshots

Example K3: Signal OR combination

CAUTION

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 OR logic for signal combination, where any positive signal triggers trades. The two moving averages operate independently - either crossing generates valid signals. This inclusive approach increases signal frequency compared to AND logic requiring both.

OR logic suits diverse market conditions by allowing different indicators to capture various opportunity types. Fast SMA crossings catch quick moves while slower EMA crossings identify larger trends. The visual signals show which indicator triggered each trade.

Logical operators fundamentally change strategy behavior. Understanding OR versus AND logic helps traders design systems matching their trading philosophy and risk tolerance.

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
  • Signal logic = Logical OR

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Period = 50
  • Gradient condition = Cross Limit 1
  • Gradient limit 1 = 0.00000000
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Period = 100
  • Gradient condition = Cross Limit 1
  • Gradient limit 1 = 0.00000000
  • Draw in chart = On
  • Drawing slot = 2

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example K4: Forced waiting time between trades

CAUTION

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 enforces 50-bar waiting periods between trades, preventing rapid successive entries. After each trade closes, the system must wait 50 bars before accepting new signals. This cooling-off period prevents overtrading and allows market conditions to develop.

Forced waiting reduces emotional trading by enforcing discipline mechanically. Even perfect signals are ignored during waiting periods, maintaining consistent trade spacing. This approach suits strategies requiring specific market development between opportunities.

Time-based trade spacing differs from signal-based spacing by using absolute time rather than market conditions. This creates predictable trade frequency useful for position sizing and risk management calculations.

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
  • One trade mode = Off
  • Waiting time between trades = 50

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Signal Generation - News

  • Selection = Indicator
  • Used indicator = STD

Signal Generation - News

  • Selection = Risk ratio
  • Risk ratio = 1.40

Screenshots

Example L1: MACD Long signal only

CAUTION

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 displays long MACD signals without executing trades, useful for strategy development and signal analysis. Green vertical lines mark each bullish MACD crossing, providing visual confirmation of signal logic. This observation mode allows strategy refinement before risking capital.

Signal-only mode helps traders understand when and why signals occur without financial commitment. By observing signals across different market conditions, traders can assess strategy viability before live trading. The visual markers create clear historical records for analysis.

This educational approach bridges manual and automated trading. Traders can observe automated signals while taking discretionary trades, combining systematic signal generation with human judgment.

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 = On

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Screenshots

Example L2: MACD Short signal only

CAUTION

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 visualizes short MACD signals using red vertical lines without executing trades. The bearish crossings are clearly marked, showing when downward momentum begins. This visualization helps traders understand short signal frequency and timing.

Short signal visualization often reveals different patterns than long signals in the same market. Many assets have directional biases affecting signal distribution. Observing both directions helps traders choose optimal trading directions for specific instruments.

Red signal lines create strong visual contrast, making bearish signals immediately apparent. This clear visualization aids in pattern recognition and strategy evaluation during backtesting or forward testing periods.

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 = Short signals only drawn
  • General signal visualization = On

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 2 cross value 1

Screenshots

Example M1: Indicator value for volume calculation with external indicator

CAUTION

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 integrates external volume calculations through custom indicators, demonstrating advanced integration capabilities. The external MyExternalVolume indicator provides volume calculations beyond standard options. This flexibility allows proprietary algorithms while using external risk management.

Custom indicators must be properly installed in MetaTrader’s indicator folder with correct paths specified. The system forwards calculated values for position sizing, creating dynamic volume management based on custom logic. This bridges proprietary methods with systematic execution.

External integration enables unlimited strategy sophistication. Traders can implement complex mathematical models, machine learning outputs, or proprietary calculations while leveraging the framework’s trade management capabilities.

CAUTION

To run this example, you’ll need an external indicator. Just download, compile, and use the files listed below.

MQL 4 indicator example code: MyExternalVolume.mq4

MQL 5 indicator example code: MyExternalVolume.mq5

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

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - CUS - Custom oscillator

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = CUS - Custom oscillator
  • MetaTrader4 path to indicator file = \FEA Trading\MT4\MyExternalVolume.ex4
  • MetaTrader5 path to indicator file = FEA Trading\MT5\MyExternalVolume
  • Draw in chart = On
  • Drawing slot = 3

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value 1 cross value 2

Signal Generation - News

  • Selection = Indicator
  • Used indicator = STD

Signal Generation - News

  • Selection = Risk ratio
  • Risk ratio = 1.40

Signal Generation - News

  • Volume calculation method = Indicator value
  • Used indicator = CUS

Screenshots

CAUTION

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 how the candle pattern search engine works without executing actual trades. The module is configured to detect various candlestick patterns and display them as signals on your chart. It monitors 24 different candle formations including Hammer, Doji variations, Engulfing patterns, and Morning/Evening Stars. When any of these patterns appear, the module generates a visual signal but doesn’t open positions.

The Data Feedback component is set to analyze detected patterns over 10,000 periods, creating valuable statistics about pattern frequency and distribution. This information helps traders understand which patterns occur most often in their chosen markets. The histogram feature with 100 bins provides detailed analysis of pattern occurrences.

This configuration is perfect for traders who want to study candlestick patterns before implementing them in live trading strategies. By observing how patterns form and their frequency, you can make informed decisions about which patterns to include in your automated trading systems.

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 = On

Signal Generation - Candle Patterns

  • Signal in use = On
  • Signal used for = Entry
  • Hammer = On
  • Hanging Man = On
  • Bullish Belt Hold = On
  • Bearish Belt Hold = On
  • Bullish Engulfing = On
  • Bearish Engulfing = On
  • Bullish Harami = On
  • Bearish Harami = On
  • Bullish Harami Cross = On
  • Bearish Harami Cross = On
  • Bullish Doji = On
  • Bearish Doji = On
  • Bullish Long Legged Doji = On
  • Bearish Long Legged Doji = On
  • Bullish Gravestone Doji = On
  • Bearish Gravestone Doji = On
  • Bullish Dragonfly Doji = On
  • Bearish Dragonfly Doji = On
  • Dark Cloud Cover = On
  • Piercing Pattern = On
  • Morning Star = On
  • Evening Star = On
  • Bullish Inside Days = On
  • Bearish Inside Days = On
  • Signal visualization = Off

Data Feedback

  • Value analysis = On
  • Value analysis refresh interval = 1000
  • Value analysis news period = 0
  • Value analysis indicator period = 0
  • Value analysis chart analyzer period = 0
  • Value analysis Candle pattern search period = 10000
  • Value analysis Chart pattern search period = 0
  • Value analysis Fibonacci pattern search period = 0
  • Value analysis histogram bins = 100

Screenshots

CAUTION

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 showcases the chart pattern search engine operating in signal-only mode. The module identifies complex chart formations without placing trades, making it ideal for pattern recognition training and strategy development. It detects 18 different chart patterns including Wedges, Triangles, Head and Shoulders formations, Double/Triple Tops and Bottoms, and Rectangles.

The system continuously scans price movements to identify these classical technical analysis patterns. When detected, visual signals appear on your chart, helping you understand pattern formation in real-time. The Data Feedback section collects pattern occurrence data over 10,000 periods, providing comprehensive statistics about pattern frequency and reliability.

This setup is particularly useful for traders learning to recognize chart patterns or validating pattern-based strategies. The visualization features help you see exactly when and where patterns form, while the statistical analysis reveals which patterns appear most frequently in your selected markets. This knowledge forms the foundation for developing profitable pattern-based trading strategies.

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 = On

Signal Generation - Chart Patterns

  • Signal in use = On
  • Signal used for = Entry
  • Bullish Wedge = On
  • Bearish Wedge = On
  • Bullish Trendchannel = On
  • Bearish Trendchannel = On
  • Bullish Triangle = On
  • Bearish Triangle = On
  • Shoulder Head Shoulder Top = On
  • Shoulder Head Shoulder Bottom = On
  • Double Top = On
  • Double Bottom = On
  • Triple Top = On
  • Triple Bottom = On
  • Rectangle Top = On
  • Rectangle Bottom = On
  • Bullish Symetric Triangle = On
  • Bearish Symetric Triangle = On
  • Bullish Gap = On
  • Bearish Gap = On
  • Signal visualization = Off

Data Feedback

  • Value analysis = On
  • Value analysis refresh interval = 1000
  • Value analysis news period = 0
  • Value analysis indicator period = 0
  • Value analysis chart analyzer period = 0
  • Value analysis Candle pattern search period = 0
  • Value analysis Chart pattern search period = 10000
  • Value analysis Fibonacci pattern search period = 0
  • Value analysis histogram bins = 100

Screenshots

CAUTION

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 illustrates the Fibonacci pattern search engine functioning in observation mode. The module identifies Fibonacci retracement and extension patterns without executing trades, allowing traders to study these mathematical relationships in price movements. It focuses on detecting both bullish and bearish Fibonacci patterns based on the golden ratio levels.

The search engine analyzes price swings and automatically identifies when prices respect key Fibonacci levels like 38.2%, 50%, and 61.8%. These levels often act as support and resistance zones where price reversals occur. The Data Feedback component tracks Fibonacci pattern occurrences over 10,000 periods, building a comprehensive database of pattern behavior.

This configuration helps traders understand how Fibonacci mathematics applies to market movements. By observing these patterns without trading risk, you can evaluate their effectiveness in your chosen markets. The histogram analysis with 100 bins provides detailed insights into pattern distribution, helping you determine optimal settings for incorporating Fibonacci patterns into automated trading strategies.

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 = On

Signal Generation - Fibonacci Patterns

  • Signal in use = On
  • Signal used for = Entry
  • Bullish Fibonacci = On
  • Bearish Fibonacci = On
  • Signal visualization = Off

Data Feedback

  • Value analysis = On
  • Value analysis refresh interval = 1000
  • Value analysis news period = 0
  • Value analysis indicator period = 0
  • Value analysis chart analyzer period = 0
  • Value analysis Candle pattern search period = 0
  • Value analysis Chart pattern search period = 0
  • Value analysis Fibonacci pattern search period = 10000
  • Value analysis histogram bins = 100

Screenshots

Example O1: Extended swing analysis

CAUTION

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 extended swing analysis for pattern detection using the chart analyzer. By examining the previous swing with specific height and width parameters, the system identifies complex formations invisible to simple indicators. The 160-180 height range targets swings of specific proportions.

Extended swing analysis mimics human chart reading by recognizing visual patterns. Each swing’s characteristics are evaluated against defined criteria, enabling detection of double tops, triangles, and other formations. The visual display shows detected swings and patterns clearly.

This sophisticated approach bridges manual and automated analysis. The system identifies patterns consistently while maintaining the nuanced recognition that makes human analysis valuable.

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 = On

Signal Generation - Chart Analyzer

  • Signal in use = On
  • Signal used for = Entry
  • Signal visualization = Off
  • Analyzed width = 50
  • Draw boundaries = On
  • Draw extrema = On
  • Draw supports and resistances = On
  • Draw swing phase = On

Signal Generation - Chart Analyzer - Swing configuration 1

  • Swing number = 1
  • Height minimum = 160
  • Height maximum = 180
  • Width minimum = 0
  • Width maximum = 10000

Screenshots

Example O2: Drawing of chart analyzer panel

CAUTION

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 displays the chart analyzer panel showing comprehensive market analysis in real-time. Support and resistance levels are automatically identified and displayed, providing constant market structure awareness. The panel updates continuously.

The analyzer panel consolidates multiple analysis types in one display, showing volatility, swing phase, and key levels simultaneously. This comprehensive view helps traders understand current market context at a glance. Automatic level detection eliminates subjective bias in identifying important prices.

Visual feedback enhances strategy understanding by showing exactly what the system sees. This transparency builds confidence in automated decisions while educating traders about market structure principles.

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

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value x cross value x

Signal Generation - Chart Analyzer

  • Signal in use = On
  • Signal used for = Forward
  • Draw boundaries = Off
  • Draw extrema = Off
  • Draw supports and resistances = On
  • Draw swing phase = Off
  • Supports and resistances forward = ALL
  • Support multiplier = 1.00
  • Resistance multiplier = 1.00

Initial Stop Loss

  • Selection = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Minimum value in fix pips = Off
  • Minimum value in rate of change = 0.00250000
  • Maximum value in fix pips = Off
  • Maximum value in rate of change = Off

Initial Take Profit

  • Selection = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Minimum value in fix pips = Off
  • Minimum value in rate of change = 0.00300000
  • Maximum value in fix pips = Off
  • Maximum value in rate of change = Off

Miscellaneous

  • Draw chart analyzer panel = On

Screenshots

Example O3: Exclusion of support and resistance when forwarding

CAUTION

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 excludes certain support and resistance levels from forwarding using the e.g. -2;+2 configuration. Only the second-nearest support and resistance levels are forwarded for stop loss and take profit calculations. This selective forwarding prevents using levels too close or too far from current price.

Selective level forwarding improves exit placement by filtering inappropriate levels. The nearest levels might be too close for proper risk management, while distant levels might be unrealistic.

The visual display shows all detected levels while highlighting which ones are actively forwarded. This transparency helps traders understand how the system selects exit levels from available options.

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

Signal Generation - Indicators (MACD Main line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Main line
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators (MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = MACD
  • Line index = Signal line
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (MACD Main line & MACD Signal line)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = MACD (Main line)
  • Input indicator 2 = MACD (Signal line)
  • Value relation = Value x cross value x

Signal Generation - Chart Analyzer

  • Signal in use = On
  • Signal used for = Forward
  • Draw boundaries = Off
  • Draw extrema = Off
  • Draw supports and resistances = On
  • Draw swing phase = Off
  • Supports and resistances forward = -2;+2
  • Support multiplier = 1.00
  • Resistance multiplier = 1.00

Initial Stop Loss

  • Selection = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Minimum value in fix pips = Off
  • Minimum value in rate of change = 0.00250000
  • Maximum value in fix pips = Off
  • Maximum value in rate of change = Off

Initial Take Profit

  • Selection = Support/resistance from chart analyzer
  • Used chart analyzer = Chart Analyzer
  • Minimum value in fix pips = Off
  • Minimum value in rate of change = 0.00300000
  • Maximum value in fix pips = Off
  • Maximum value in rate of change = Off

Screenshots

Example O4: Two chart analyzers for signal generation

CAUTION

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 employs two chart analyzers with different parameters for comprehensive signal generation. The 50-bar analyzer detects short-term volatility while the 200-bar analyzer identifies longer-term market phases. Combining both provides multi-timeframe analysis within a single timeframe.

Different analyzer widths capture different market characteristics. Short analyzers respond quickly to recent changes while long analyzers identify persistent conditions. The combination requires agreement from both perspectives, filtering signals effectively.

Dual analyzer strategies demonstrate how multiple analysis windows can work together. This approach applies to any indicator or analysis method where different lookback periods provide complementary insights.

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 = On

Signal Generation - Chart Analyzer 1

  • Signal in use = On
  • Signal used for = Entry
  • Analyzed width = 50
  • Draw boundaries = On
  • Draw extrema = On
  • Draw supports and resistances = On
  • Draw swing phase = On
  • Signal if volatility is low = Off
  • Signal if volatility is middle = Off
  • Signal if volatility is high = On

Signal Generation - Chart Analyzer 2

  • Signal in use = On
  • Signal used for = Entry
  • Analyzed width = 200
  • Draw boundaries = On
  • Draw extrema = On
  • Draw supports and resistances = On
  • Draw swing phase = On
  • Signal if swing phase is overstatement = Off
  • Signal if swing phase is understatement = On
  • Signal if swing phase is over correction = Off
  • Signal if swing phase is under correction = On
  • Signal if swing phase is upswing = Off
  • Signal if swing phase is downswing = Off
  • Signal if swing phase is undefined = Off
  • Breakout factor = 1.00

Screenshots

Example P1: All feedback features enabled

CAUTION

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 enables all data feedback features for comprehensive strategy analysis. Every aspect of trading activity is recorded - from tick data to performance metrics. The inspector continuously monitors strategy health while detailed logs track all events.

Comprehensive feedback enables deep strategy analysis and optimization. By recording everything, traders can identify patterns, problems, and opportunities invisible during live trading. The multi-timeframe symbol data provides context for trade decisions.

This data-rich approach suits serious strategy development where every detail matters. The collected information enables backtesting validation, performance analysis, and systematic improvement based on empirical evidence.

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

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - RSI

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = RSI
  • Gradient condition = Cross Limit 1
  • Gradient limit 1 = 0.00000000
  • Draw in chart = On
  • Drawing slot = 1

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Data Feedback

  • Inspector = On
  • Present trades = On
  • Past trades = On
  • Meta data = On
  • Trade screenshots = Off
  • Current value = On
  • Current value news = On
  • Current value indicator = On
  • Current value chart analyzer = On
  • Current value Candle pattern search = On
  • Current value Chart pattern search = On
  • Current value Fibonacci pattern search = On
  • Time analysis = On
  • Value analysis = On
  • Signal analysis = On
  • Symbol series bars current = On
  • Symbol series bars completed = On
  • Symbol series M1 = On
  • Symbol series M5 = On
  • Symbol series M15 = On
  • Symbol series M30 = On
  • Symbol series H1 = On
  • Symbol series H4 = On
  • Symbol series D1 = On
  • Symbol series W1 = On
  • Symbol series MN = On

Screenshots

Example Q1: Symbol mapping for custom symbols

CAUTION

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.

CAUTION

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

Example Q2: Usage of multiple symbols and symbol feedback (EURUSD and USDCHF)

CAUTION

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 uses multiple symbols simultaneously with comprehensive feedback showing both EURUSD and USDCHF data. The correlation between symbols is visible as oscillator, helping understand inter-market relationships. Both symbols must have M1 data available for proper operation.

Multi-symbol strategies capture relationships between correlated instruments. By monitoring multiple symbols, the system can identify divergences and confirmations across markets. The symbol series display shows price action alignment between markets.

This approach enables pairs trading, hedging, and correlation-based strategies. Understanding how different symbols interact provides insights unavailable from single-symbol analysis.

CAUTION

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
  • 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
  • Draw in chart = On
  • Drawing slot = 2

Data Feedback

  • Inspector = On
  • Symbol series bars current = On
  • Symbol series bars completed = On
  • Symbol series M1 = Off
  • Symbol series M5 = Off
  • Symbol series M15 = On
  • Symbol series M15 range = 100
  • Symbol series M30 = Off
  • Symbol series H1 = Off
  • Symbol series H4 = Off
  • Symbol series D1 = Off
  • Symbol series W1 = Off
  • Symbol series MN = Off

Screenshots

Example Q3: Correlation coefficient between two symbols (EURUSD and USDCHF)

CAUTION

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 calculates correlation coefficients between EURUSD and USDCHF over 50 periods. The correlation indicator quantifies relationship strength between symbols, generating signals based on correlation changes. This mathematical approach removes subjective interpretation of inter-market relationships.

Correlation values range from -1 to +1, with negative values indicating inverse relationships. EURUSD and USDCHF typically show negative correlation due to USD’s opposite position in each pair. Trading correlation changes can identify relationship breakdowns offering opportunities.

The visual correlation display helps traders understand dynamic relationships between markets. This quantitative approach provides objective measurement of subjective concepts like “correlation” or “divergence.”

CAUTION

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 - COR

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = COR
  • Period = 50
  • Symbol for comparison = USDCHF
  • Symbol = Current
  • Draw in chart = On
  • Drawing slot = 1

Screenshots

Example R1: Signal from custom oscillator and external Python script

CAUTION

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 integrates external Python scripts for sophisticated signal generation. The MyExternalOscillatorGenerator.py script performs calculations, sending results to the custom indicator. This enables machine learning, statistical analysis, or any Python-based strategy.

Python integration opens unlimited possibilities for strategy development. Modern data science tools, API connections, and complex algorithms become available while maintaining MetaTrader’s execution capabilities. The visual display shows Python-generated signals clearly.

This advanced integration bridges modern programming with traditional trading platforms. Traders can leverage Python’s vast ecosystem while benefiting from MetaTrader’s market access and execution infrastructure.

CAUTION

This example requires an external oscillator and an additional Python script. Please download, compile, and use the files listed below. Ensure the paths are correctly configured and the Python script is running during execution.

MQL 4 indicator example code: MyExternalOscillator.mq4

MQL 5 indicator example code: MyExternalOscillator.mq5

Python example script: MyExternalOscillatorGenerator.py

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 - CUS - Custom oscillator

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = CUS - Custom oscillator
  • MetaTrader4 path to indicator file = \FEA Trading\MT4\MyExternalOscillator.ex4
  • MetaTrader5 path to indicator file = FEA Trading\MT5\MyExternalOscillator
  • Draw in chart = On
  • Drawing slot = 1

Screenshots

Example R2: Parameter forwarding and feedback parsing with custom indicator and external Python script

CAUTION

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 parameter forwarding between MetaTrader and Python with feedback parsing. Three parameters are sent to the Python script which processes them and returns calculated values. The feedback system displays both sent parameters and received results for complete transparency.

Bidirectional communication enables dynamic strategy adjustment based on external calculations. Python scripts can access databases, web services, or complex models, returning optimized parameters for trading. The 100-bar symbol series provides market context for external processing.

This sophisticated integration represents the future of algorithmic trading where multiple systems collaborate. Traditional indicators combine with modern data processing for superior strategy development.

CAUTION

This example requires an external indicator and an additional Python script. Please download, compile, and use the files listed below. Ensure the paths are correctly configured and the Python script is running during execution.

MQL 4 indicator example code: MyExternalIndicator.mq4

MQL 5 indicator example code: MyExternalIndicator.mq5

Python example script: MyExternalIndicatorGenerator.py

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 - CUS - Custom indicator

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = CUS - Custom indicator
  • Custom parameter 1 = 1.00000000
  • Custom parameter 2 = 2.00000000
  • Custom parameter 3 = 3.00000000
  • MetaTrader4 path to indicator file = \FEA Trading\MT4\MyExternalIndicator.ex4
  • MetaTrader5 path to indicator file = FEA Trading\MT5\MyExternalIndicator
  • Draw in chart = On
  • Drawing slot = 1

Data Feedback

  • Symbol series bars current = On
  • Symbol series bars completed = On
  • Symbol series M1 = Off
  • Symbol series M5 = Off
  • Symbol series M15 = On
  • Symbol series M15 range = 100
  • Symbol series M30 = Off
  • Symbol series H1 = Off
  • Symbol series H4 = Off
  • Symbol series D1 = Off
  • Symbol series W1 = Off
  • Symbol series MN = Off

Screenshots

Example S1: Drawing of second timeframe in chart

CAUTION

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 overlays H4 candles on faster timeframes for multi-timeframe analysis. The second timeframe display shows larger trend context while trading on smaller timeframes. This prevents trading against major trends invisible on fast charts.

Higher timeframe overlay provides instant context without switching charts. Traders see both detailed entry timing and overall trend direction simultaneously. The visual representation makes multi-timeframe alignment immediately apparent.

This display technique teaches important multi-timeframe concepts. Understanding how different timeframes relate helps traders avoid common mistakes like counter-trend trading based on short-term signals alone.

CAUTION

Recommended to use timeframe smaller than H4

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

Signal Generation - Indicators - STD

  • Signal in use = On
  • Signal used for = Forward
  • Selected indicator = STD
  • Draw in chart = Off
  • Forward adjustment = 3.50

Signal Generation - Indicators - SMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = SMA
  • Draw in chart = On
  • Drawing slot = 1

Signal Generation - Indicators - EMA

  • Signal in use = On
  • Signal used for = Entry
  • Selected indicator = EMA
  • Draw in chart = On
  • Drawing slot = 2

Signal Generation - Indicator Combinations (SMA & EMA)

  • Signal in use = On
  • Signal used for = Entry
  • Input indicator 1 = SMA
  • Input indicator 2 = EMA
  • Value relation = Value x cross value x

Initial Stop Loss

  • Selection = Indicator
  • Used indicator = STD

Initial Take Profit

  • Selection = Risk ratio
  • Risk ratio = 1.40

Miscellaneous

  • Draw second timeframe = H4

Screenshots

Example S2: Drawing of unequal symbols

CAUTION

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 displays unequal symbols on the same chart when indicators use different symbols. Both EURUSD and USDCHF appear together, showing their inverse relationship visually. This unique display helps understand how multi-symbol strategies operate.

Unequal symbol display reveals correlation and divergence patterns immediately. When symbols that normally move inversely begin moving together, significant opportunities may exist. The visual overlay eliminates constant chart switching for multi-symbol monitoring.

This advanced visualization suits sophisticated strategies using multiple instruments. Seeing all relevant symbols simultaneously improves decision-making and pattern recognition across markets.

CAUTION

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
  • 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
  • Draw in chart = On
  • Drawing slot = 2

Miscellaneous

  • Draw unequal symbols = On

Screenshots