Skip to main content
Version: 2.0

Tester Mode

Demonstration with randomly opened orders

The Stop Loss Manager is designed to work with manually opened trades. This means that no action would be taken if the application is executed in the strategy tester. However, when the Stop Loss Manager is performed in the MetaTrader strategy tester, it recognizes this and opens trades at every 50th candle bar, alternating between long and short trades.

To replicate this behavior with the strategy tester, navigate to View - Strategy Tester in MetaTrader.

Opening of tester mode.png

You can then execute a strategy test with any symbol, timeframe, or model you choose. The Stop Loss Manager is entirely agnostic to the symbol and timeframe. You will see a similar chart at the end when performing a strategy test in visual mode.

Automatically placed example trades.png

It's important to note that in the tester mode, trades are opened without any specific strategy. While this won't be the case when trading on a live chart, it can be used to optimize the Stop Loss Manager's input parameters.

Always double-check with the visual mode whether the optimized input parameters result in proper stop loss management. This is particularly crucial to avoid trading within the same candle bar. It is recommended that in tester mode, the duration of each trade should be longer than one candle stick.

tip

To evaluate only the short or long direction, you can adjust the Positions test setting under Expert properties - Testing.

Transition to automated trading

Some readers might already be thinking about systematically opening trades. For those interested in using the powerful Stop Loss Manager feature in fully automated trading systems, it is recommended to look into the Expert Advisor Builder application. This application employs the same Stop Loss Manager engine and trailing methods.