Software for manual backtesting - a brief review of History Player plugin — Quantower trading platform

Plugin for manual backtesting — a brief review of History Player

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 created History Player.

What is the difference between History Player and other backtesting software?

The History Player module is the ideal solution for conducting manual backtesting of currency pairs or exchange-traded assets. The great advantage of History Player 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 (!)
  • test on different types of charts - Time-based charts (Bars, Candles, Lines), Ticks, Renko, Heiken Ashi, Price Range
  • use not only the Chart panel in your tests but also Depth of Market and Time & Sales
  • set different time frames for one or several instruments
  • export the history of your transactions in Excel for further analysis

How to manually backtest trading strategies using History Player plugin?

Before you start testing your strategy, let's customize the History Player panel.

  1. Launch the History Player panel from the main application menu.
    Launch the History Player panel Launch the History Player panel
  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 History Player panel for correct backtesting Main Settings of History Player panel for correct 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.
    Positions are overlapped by the netting type called "One Position" Positions are overlapped by the netting type called "One Position"
    • 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.
    Positions are overlapped by the netting type called "Multiple Per Side" Positions are overlapped by the netting type called "Multiple Per Side"
    • Multiple Positions - each new trade will be opened as a separate item, including the opposite trades.
    Positions are overlapped by the netting type called "Multiple Position" Positions are overlapped by the netting type called "Multiple Position"
  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”.
    Open necessary panels to create a workspace for backtesting Open necessary panels to create a workspace for backtesting
  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”
    Manual backtesting using History Player panel Manual backtesting using History Player panel
  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 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 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.

 

Get the Quantower
download for free
Download the latest stable version
of QUANTOWER application for Windows
for free and without registration
Download Quantower
Please enable javascript to use all the features on this site
By continuing to use this website, you consent to the use of cookies in accordance with our Cookie Policy.