Plugin for manual backtesting — a brief review of Market Replay

Plugin for manual backtesting — a brief review of Market Replay

Navigation

Testing of trading strategies is one of the most important and necessary steps for successful trading. Even if you have a simple trading strategy or a trading idea, you need to be completely confident in its efficiency, and also have a clear idea of its shortcomings. But how do you find it out? The answer is simple - you need to conduct testing!

As you know, there are two ways to test trading systems — automatic and manual. To conduct automatic testing, there is a large number of algorithmic trading software, which allow you to perform not only the testing of stocks, futures, and options but also currencies and ETFs. However, for proper backtesting, you need to have experience in writing trading scripts and advisors, as well as understanding all the pitfalls associated with testing and optimizing trading strategies. If you are an experienced algotrader, then the automatic testing method is ideal for you.

But unfortunately, many traders don't know the programming language, which makes testing their strategies difficult. Therefore we've created a Market Replay panel.

What is the difference between Market Replay and other backtesting software?

The Market Replay panel is the ideal solution for conducting manual backtesting of currency pairs or exchange-traded assets. The great advantage of Market Replay over other Forex Backtesting Softwares is that you can:

  • conduct testing using your indicators and drawing tools directly on the chart
  • test several instruments simultaneously (!)
  • make tests on different connections from our list simultaneously (!)
  • test on different types of charts — Time-based charts (Bars, Candles, Lines), Ticks, Renko, Point & Figure, Heiken Ashi, Price Range
  • use not only the Chart panel in your tests but also Depth of Market and Time & Sales
  • check your trading ideas with the TPO Profile chart
  • set different time frames for one or several instruments
  • test on exchange-based and custom spreads
  • export the history of your transactions in Excel for further analysis

History Player panel in Quantower foir manual backtesting of trading strategies

How to manually backtest trading strategies using Market Replay panel?

Before you start testing your strategy, let's customize the Market Replay panel.

  1. Launch the Market Replay panel from the main menu.
    Launch the Market Replay
  2. Add a trading instrument for which we will conduct testing. For example, let's select AUD/USD and set 1-minute data aggregation. It is possible to select tick, minute and day aggregation of data, on the basis of which we will conduct testing. Leave the default data type - Bid/Ask/Last. For faster testing, only the Last values can be set, but the test results may be inaccurate in this case.
    Main settings of Market Replay panel in Quantower for manual backtesting 
  3. Select the testing range, and also set the initial balance of $10,000 in the module settings. Note that after adding each new instrument (symbol), it is assigned a separate trading account. So, the corresponding account, for which you can set your own settings, was created automatically for the AUD/USD instrument - Netting Type and commision size for each position.

    Position's netting type (within the same trading instrument):

    One position - it is possible to open one position for one instrument in one direction in this mode. If you previously opened a position to buy 1 lot, adding a position to sell 1 lot will close the previous position. New trades for buy will be summed by volume, and the entry price will be averaged.

    Multiple per Side - this mode allows you to open many different positions in one direction. For example, opening several positions in the sequence, they will be opened separately. Opposite trades (for sale) will close them. Multiple Positions - each new trade will be opened as a separate item, including the opposite trades.
  4. Once we have selected the instruments and configured the initial parameters, click on the “Start” button to start testing. When the testing is started, the "Start" button will be changed to "Stop" button. 
    Now open all the necessary panels for our testing by clicking on the button “Open panel”.
  5. Create your custom workspace and start testing by placing orders and see how the strategy works. You can change the speed of testing, pause it or make one tick forward by pressing F12 or the button “One Step Forward”
  6. Place your trading orders via chart trading, mouse trading mode or via different panels like Order Entry, DOM. The history of trades and their results can be viewed in the Trades panel.

How to analyze backtesting results?

After testing is completed, we need to analyze the result of our trading strategy. To do this, we run the Account info panel, which shows account Balance, its Equity, current open positions, Profit & Loss data.

The difference between the Balance and Equity is that the Balance shows data only for closed trades, and Equity shows the result given the unrealized P/L (i.e. open trades are taken into account).

An additional analysis of the strategy backtesting results can be done in Excel, where you can upload all your filled trades using the export from the Trades panel.

Export of closing trades to an external file from Trades panel

After the data has been exported, you can open it in Excel and analyze the additional parameters of the system: Profit Factor, Average Profit or Loss trades, Sharpe and Sortino Ratios, Max Drawdown etc.

An example of important trading statistics for backtest analyzing

Soon we will add the Account performance panel that will allow you to immediately analyze the test results with all the necessary statistics.

English

Comments

Trade with Quantower

Download the latest stable version of Quantower application for Windows for free and without registration