Last updated
Last updated
The Calculations Table displays backtest data from Pro Trader. Strategies can be optimized in the Pro Trader by adjusting settings until NET Gain is maximized and Drawdown minimized.
Backtesting in the Pro Trader assumes all trends are traded end-to-end. In reality, traders generally implement risk management in their strategy to lock in profit on winning trends and minimize losses during drawdowns. In this way, strategies with low win rates or prone to large drawdowns can be traded profitably. Consequently, the profitability data displayed in the Calculations Table should be used as a relative measure of strategy optimization, not a realistic forecast of profit.
Pro Tester results will differ from the data displayed in the Calculations Table if Risk Management elements are included in backtests.
Provided the Calculations Table and Pro Tester are backtesting the same time period and risk management settings are not influencing calculations in the Pro Tester, both should display the same profit/loss data. However, the data is labeled differently by each system:
While the Calculations Table is great for optimizing algorithms to market conditions, the Pro Tester allows users to backtest more complete strategies that include elements. The Pro Tester also offers other extended features such as , , and detailed analysis in the .
In comparison, the Pro Tester allows users to include risk management elements such as , , , and in backtests for more realistic profitability estimates. The inclusion of these elements also provides a better forecast of and facilitates responsible decision-making around the use of .
The Pro Tester allows Trade Account Emulation within the . Users can specify (account size), , and type, (consecutive trade) settings, fees, and required or to emulate their real trading accounts. These settings will be reflected in profitability data displayed in the .
Pro Tester results will differ from the data displayed in the Calculations Table unless and are configured to mirror .
The Pro Trader calculates profitability based on an order size of one contract per trade (e.g. 1 BTC or 1 ETH per trade). Consequently, Profitability, Drawdown, and NET Gain percentages shown in the Calculations Table are relative to the price of one contract at the time of backtesting. For example, the NET Gain of $57,294.54 shown above was calculated when BTC price was $27,678.52. The percentage NET Gain is therefore 207.17% more than the price of 1 BTC contract. In contrast, the Pro Tester allows users to set as a percentage or fixed amount of contracts, base currency, or account equity. (account size), , fees, and required or can also be specified to emulate trade accounts for increased realism. To this end, the Pro Tester displays and (account drawdown) as a percentage of .
To compare data in the Calculation Table with Pro Tester data, we must ensure they are backtesting the same time period. The Pro Tester backtests 20,000 candles by default. The date of the first backtested trade will change as the chart timeframe (candle resolution) is changed. To find the date of the first trade, open the tab in the . Navigate to the 'Trades' heading and click it to reverse the order of backtested trades. You will find the 'Date/Time' that the first trade closed in the 4th column.
The Pro Trader can also backtest 20,000 candles. However, the Calculations Table will only display the number of trends specified by the setting in the section. must be set to a high value (>2000) to ensure the 'Start of Test' date in the Calculations Table matches the date of the first trade in the Pro Tester .
Another method to ensure the Calculations Table and Pro Tester are testing the same period is to use the Pro Tester's feature. The date range in the Deep Backtester can be changed until the date of the first trade in the Pro Tester is the same as the 'Start of Test' date shown in the Calculations Table. However, trades don't always align perfectly due to how TradingView compresses the data. In this, make adjustments to the start date on the
As mentioned , while absolute profit and loss values shown in the Calculations Table and Pro Tester are the same, percentage values may differ depending on how , , and are set in the Pro Tester .
NET Gain
Net Profit
Profitability
Gross Profit
Drawdown
Gross Loss
Backtest data in the Lendal Pro Trader is displayed in the Calculations Table. The Pro Tester includes additional elements in backtest calculations and will generate different results.