Velocity Trader
  • Velocity Trader Guide
  • Velocity Trader for Desktop
    • Windows
      • How to...
      • Getting started
        • System requirements
        • Installation and updates
        • General settings
        • Hotkeys
        • Managing columns
        • Workspaces
        • Arranging panels
        • Top menu, Info bar, Status bar
        • Panel settings
        • Alerts
        • Symbol & Account lookups
      • Analysis tools
        • Chart
          • Chart overview
          • Chart settings
          • Chart templates
          • Aggregation types overview
          • Cluster chart
          • Profile chart
          • Drawings
          • Level ll data on chart
          • Object manager
          • Chart overlay
          • Context menu
          • Volume analysis
            • Price statistics
            • Volume profile
            • Volume bars
            • Volume dots
            • Bar statistics
            • Time & Sales analysis
            • VWAP+
        • Grid
        • Watchlist
        • Time & Sales
      • Technical indicators
        • Settings
        • Channels
          • BB (Bollinger bands)
          • BBF (Bollinger bands flat)
          • Price channel
          • Keltner channel
          • MAE (Moving average envelope)
        • Moving averages
          • EMA (Exponential moving average)
          • KAMA (Kaufman adaptive moving average)
          • LWMA (Linear weighted moving average)
          • MAS3 (3MASignal)
          • MD (McGinley dynamic)
          • MMA (Modified moving average)
          • PPMA (Pivot point moving average)
          • Regression line
          • SMA (Simple moving average)
          • SMMA (Smoothed moving average)
        • Oscillators
          • AC (Acceleration oscillator)
          • AO (Awesome oscillator)
          • Aroon
          • CCI (Commodity channel index)
          • CMO (Chande momentum oscillator)
          • KRI (Kairi relative index)
          • MACD (Moving average/convergence divergence)
          • Momentum
          • PO (Price oscillator)
          • PPO (Percentage price oscillator)
          • QStick
          • RLW (%R Larry Williams)
          • ROC (Rate of change)
          • RSI (Relative strength index)
          • Stochastic (Stochastic slow)
          • Stochastic RSI
          • TSI (True strength index)
        • Trend
          • ADX (Average directional movement index)
          • Alligator
          • DMI (Directional movement index)
          • ICH (Ichimoku)
          • Pivot point
          • SAR (Parabolic time/price system)
          • SI (Swing index)
          • ZZ (ZigZag)
          • YHL (Yesterday's high low)
        • Volatility
          • ATR (Average true range)
          • HV (Historical volatility)
          • SD (Standard deviation)
        • Volume
          • MFI (Money flow index)
          • OBV (On balance volume)
          • PVI (Positive volume index)
          • Volume
        • Other
          • Didi index
          • EATR (Envelopes ATR)
      • Trading panels
        • Order entry
          • Position sizing
        • Super DOM
        • Market depth
        • Matrix
        • Scalper
        • Visual trading
        • Option master
          • Overview
          • Option chain
          • Analyzer
          • Volatility lab
      • Account management
        • Working orders
        • Orders history
        • Filled orders
        • Saved orders
        • Positions
        • Synthetic instruments
        • Account operations
        • Assets
        • Products
      • Account information
        • Accounts
        • Account statistics
        • Positions balance
        • Currencies exposure
        • Reports
      • Informative panels
        • Gainers/Losers list
        • High/Low list
        • RSS
        • News
        • Internal Browser
        • Economic calendar
        • Event log
      • Strategy manager
        • Overview
        • Strategy list
        • Chart section
        • Active positions/orders section
      • Omnibus account management
      • Trading ideas
      • MAM system
        • MAM basics
        • Creating MAM group
        • Trading in MAM
      • More
  • Velocity Trader for Mobile
    • Android
      • Phones
        • Getting started
        • Settings
        • Watchlist
        • Symbol info
        • Chart
        • Technical indicators
          • Settings
          • Channels
            • BB (Bollinger bands)
            • Price channel
            • BBF (Bollinger bands flat)
          • Moving averages
            • EMA (Exponential moving average)
            • MMA (Modified moving avergae)
            • SMMA (Smoothed moving average)
            • LWMA (Linear weighted moving average)
            • SMA (Simple moving average)
          • Oscillators
            • MACD (Moving average/convergence divergence)
            • CCI (Commodity channel index)
            • CMO (Chande momentum oscillator)
            • Aroon (Dawn's early light)
            • RSI (Relative strength index)
            • ROC (Rate of change)
            • Stochastic (Stochastic slow)
            • Momentum
          • Trend
            • ICH (Ichimoku)
            • SAR (Parabolic time/price system)
            • ADX (Average directional index)
          • Volatility
            • ATR (Average true range)
            • SD (Standard deviation)
          • Volume
            • MFI (Money flow index)
            • OBV (On balance volume)
            • PVI (Positive volume index)
            • VWAP (Volume weighted average price)
        • Order entry
          • Position sizing
        • Orders
        • Trading ideas
        • Positions
        • Assets
        • Market depth
        • Event log
        • Account details
        • News
        • Alerts
        • Products
        • My Portfolio
          • Getting started
          • Performance
          • Return
          • Growth
          • Metrics
          • More
        • More
      • Tablets
        • Getting started
        • Settings
        • Watchlist
        • Symbol info
        • Chart
        • Technical indicators
          • Settings
          • Channels
            • BB (Bollinger bands)
            • Price channel
            • BBF (Bollinger bands flat)
          • Moving averages
            • EMA (Exponential moving average)
            • MMA (Modified moving average)
            • SMMA (Smoothed moving average)
            • LWMA (Linear weighted moving average)
            • SMA (Simple moving average)
          • Oscillators
            • MACD (Moving average/convergence divergence)
            • CCI (Commodity channel index)
            • CMO (Chande momentum oscillator)
            • Aroon (Dawn's early light)
            • RSI (Relative strength index)
            • ROC (Rate of change)
            • Stochastic (Stochastic slow)
            • Momentum
          • Trend
            • ICH (Ichimoku)
            • SAR (Parabolic time/price system)
            • ADX (Average directional index)
          • Volatility
            • ATR (Average true range)
            • SD (Standard deviation)
          • Volume
            • MFI (Money flow index)
            • OBV (On balance volume)
            • PVI (Positive volume index)
            • VWAP (volume weighted average price)
        • Order entry
          • Position sizing
        • Orders
        • Trading ideas
        • Positions
        • Assets
        • Market depth
        • Event log
        • Account details
        • Alerts
        • Products
        • My Portfolio
          • Getting started
          • Performance
          • Return
          • Growth
          • Metrics
          • More
        • External links
    • iOS
      • Phones
        • Getting started
        • Settings
        • Watchlist
        • Symbol info
        • Chart
        • Technical indicators
          • Settings
          • Channels
            • BB (Bollinger bands)
            • BBF (Bollinger bands flat)
            • Price channel
          • Moving averages
            • SMA (Simple moving average)
            • MMA (Modified moving average)
            • LWMA (Linear weighted moving average)
            • EMA (Exponential moving average)
            • SMMA (Smoothed moving average)
          • Oscillators
            • MACD (Moving average/convergence divergence)
            • CCI (Commodity channel index)
            • CMO (Chande momentum oscillator)
            • Aroon (Dawn's early light)
            • RSI (Relative strength index)
            • ROC (Rate of change)
            • Stochastic (Stochastic slow)
            • Momentum
          • Trend
            • ICH (Ichimoku)
            • SAR (Parabolic time/price system)
            • ADX (Average directional index)
          • Volatility
            • ATR (Average true range)
            • SD (Standard deviation)
          • Volume
            • PVI (Positive volume index)
            • VWAP (Volume weighted average price)
            • OBV (On balance volume)
            • MFI (Money flow index)
        • Order entry
          • Position sizing
        • Orders
        • Trading ideas
        • Positions
        • Assets
        • Market depth
        • Event log
        • Account details
        • Alerts
        • Products
        • My Portfolio
          • Getting started
          • Performance
          • Return
          • Growth
          • Metrics
          • More
        • More
      • Tablets
        • Getting started
        • Settings
        • Watchlist
        • Symbol info
        • Chart
        • Technical indicators
          • Settings
          • Channels
            • BB (Bollinger bands)
            • BBF (Bollinger bands flat)
            • Price channel
          • Moving averages
            • SMA (Simple moving average)
            • MMA (Modified moving average)
            • LWMA (Linear weighted moving average)
            • EMA (Exponential moving average)
            • SMMA (Smoothed moving average)
          • Oscillators
            • MACD (Moving average/convergence divergence)
            • CCI (Commodity channel index)
            • CMO (Chande momentum oscillator)
            • Aroon (Dawn's early light)
            • RSI (Relative strength index)
            • ROC (Rate of change)
            • Stochastic (Stochastic slow)
            • Momentum
          • Trend
            • ICH (Ichimoku)
            • SAR (Parabolic time/price system)
            • ADX (Average directional index)
          • Volatility
            • ATR (Average true range)
            • SD (Standard deviation)
          • Volume
            • PVI (Positive volume index)
            • VWAP (Volume weighted average price)
            • OBV (On balance volume)
            • MFI (Money flow index)
        • Order entry
          • Position sizing
        • Orders
        • Trading ideas
        • Positions
        • Assets
        • Market depth
        • Event log
        • Account details
        • Alerts
        • Products
        • My Portfolio
          • Getting started
          • Performance
          • Return
          • Growth
          • Metrics
          • More
        • External links
  • Velocity Trader for Web
    • Getting started
      • Login screen
      • General settings
      • Managing columns
      • Workspaces
      • Arranging panels
      • Top menu and Status bar
      • Alerts
      • Symbol & Account lookups
    • Analysis tools
      • Chart
        • Chart overview
        • Chart settings
        • Drawings
        • Chart overlay
        • Context menu
      • Watchlist
      • Time & Sales
    • Technical indicators
      • Settings
      • Moving average
        • MD (McGinley dynamic)
        • Regression
        • SMMA (Smoothed moving average)
        • PPMA (Pivot point moving average)
        • SMA (Simple moving average)
        • EMA (Exponential moving average)
        • MMA (Modified moving average)
        • LWMA (Linear weighted moving average)
        • Multi EMA
      • Oscillators
        • MACD (Moving average/Convergence divergence)
        • RSI (Relative strength index)
        • PO (Price oscillator)
        • Momentum
        • CCI (Commodity channel index)
        • Aroon
        • KRI (Kairi relative index)
        • PPO (Percentage price oscillator)
        • RLW (%R Larry Williams)
        • ROC (Rate of change)
        • QStick
        • TSI (True strength index)
        • Stochastic (Stochastic slow)
        • RSI Laguerre
      • Channels
        • BB (Bollinger bands)
        • Keltner channel
        • Price channel
        • MAE (Moving average envelope)
      • Volume
        • Volume
        • VWAP (Volume weighted average price)
        • OBV (On balance volume)
      • Trend
        • SI (Swing index)
        • Pivot point
        • Alligator
        • SAR (Parabolic time/price system)
        • Fractals
      • Volatility
        • ATR (Average true range)
        • CMO (Chande momentum oscillator)
        • SD (Standard deviation)
    • Trading panels
      • Order entry
        • Position sizing
      • Market depth
      • Visual trading
    • Account management
      • Working orders
      • Orders history
      • Filled orders
      • Positions
      • Assets
      • Products
    • Account information
      • Accounts
      • Positions balance
    • Informative panels
      • Event log
      • Internal Browser
    • Trading ideas
    • More
  • EvoCode
    • Getting started
      • About EvoCode
      • Starting EvoCode
      • Creating a new module
      • General settings
    • Dictionary tool
    • Editing panel
      • Source code editing
      • Editing types/Scripts setup
      • Output & Watch
    • Backtesting panel
      • Backtester
      • Statistics
      • Backtesting Types/Setup
      • Running a backtest
      • Working orders & Positions
      • Orders & Positions history
      • Filled orders
      • Logs
      • Saving scripts, importing and exporting script settings
Powered by GitBook
On this page
  • Cumulative P/L chart
  • Aggregate P/L Chart
  • Trades Population Chart
  • Drawdowns Chart

Was this helpful?

  1. EvoCode
  2. Backtesting panel

Statistics

PreviousBacktesterNextBacktesting Types/Setup

Last updated 3 years ago

Was this helpful?

Statistics panel is a very useful and informative tool for traders. This panel contains a massive array of trading statistics, various P/L charts, data about trade population and drawdowns.

Statistics panel consists of 2 tabs: ‘Performance Data’ and ‘Performance Charts’.

Performance Data

The section above the table contains the following parameters:

  • Start capital – shows balance value before running the strategy.

  • Final capital – shows balance value after the strategy stopped working.

  • Gross P/L – shows Gross P/L for the period of work of the strategy.

All information in the ‘Performance Data’ tab is divided into three following sections:

  1. Cumulative P/L

  2. Trades population

  3. Drawdowns

The table consists of 4 columns:

  • Variables – in this column, user can find the names of the parameters.

  • Total – in this column, user can find parameters for Short and Long trades.

  • Long – in this column, user can find parameters for Long trades.

  • Short – in this column, user can find parameters for Short trades.

Let’s consider all the tabs in details.

The first section is Cumulative P/L. Here users can see all the information about their trading results and capital. All operations are displayed together (‘Total’ tab), but they can also be viewed separately divided by operation type (‘Long’ and ‘Short’ tabs).

Cumulative P\L :

  • Profit factor – indicator of profitability showing what average profit in relation to loss is. Calculated as:

Profit factor = (avr_TP * %TP)/(avr_SL * %SL), where:

avr_TP – size of the average profitable trade (in ccy);

%TP – probability of the profitable trade receiving;

avr_SL – size of the average losing trade (in ccy); avr_SL is always taken modulo.

%SL – probability of the losing trade receiving.

  • Fee = (Fee/Start capital)*100%

  • Expected payoff – mathematical expectation of win. This parameter to be calculated statistically represents average profit/loss factor of one trade. Calculation formula:

Expected payoff = (avr_TP * %TP) – (avr_SL * %SL), where

avr_TP – size of the average profitable trade (in ccy);

%TP – probability of the profitable trade receiving;

avr_SL – size of the average losing trade (in ccy); avr_SL is always taken modulo.

%SL – probability of the losing trade receiving.

  • Recovery factor – is a ratio of the net profit to the maximum drawdown. Calculation formula:

Recovery factor = Net profit / Max DD, where

Max DD – module of the maximum drawdown (in ccy);

Net profit – trading result for the analyzed period.

  • Sharpe Ratio – is a ratio of the expected payoff to the standard deviation. Calculation formula:

Sharpe Ratio = Expected payoff/STD, where

STD – standard deviation of the trading results;

STD = SQRT(1/(n-1) * SUM(xi-avr_x)^2)

  • Win/Loss Ratio – is a ratio of the probability of the profitable trade receiving to the probability of the losing trade receiving. Calculation formula: Win/Loss ratio =%TP/%SL

Trades population:

  • Trades Loss – shows total loss by all losing trades for period.

  • Trades Win – shows total profit by all winning trades for period.

  • Average Loss – displays the average P/L value for losing trades.

  • Average Win – displays the average P/L value for winning trades.

  • Max. consecutive Loss – shows the longest series of losses in a row among the total number of trades, and their value in the money.

  • Max. consecutive Win – shows the longest series of wins in a row among the total number of trades, and their value in the money.

  • Largest Loss – displays the largest profit loss of one trade for the selected period.

  • Largest Win – displays the largest profit win of one trade for the selected period.

Drawdowns:

  • Maximal drawdown – is the highest difference between one of local upper extremums of the balance chart and the following lower extremums.

Maximal drawdown, % = (Maximal drawdown ÷ Peak Balance value) * 100%

  • Absolute drawdown – is the difference between the current capital and current local upper extremum.

  • Average drawdown – is the arithmetic average of all drawdowns over a given time period.

  • Average drawdown, % – is the ratio of the sum of the drawdowns expressed as a percentage to the total number of drawdowns.

Average drawdown, % = Sum (DD1,% +…+DDn,%)/N

Performance Charts

Performance Charts tab allows users to view changes of the balance and P/L graphically.

Chart selector allows to choose the type of data to be displayed.

  • Cumulative P/L

  • Aggregate P/L

  • Trades Population

  • Drawdowns

If you choose ‘Cumulative P/L’ or ‘Aggregate P/L’, you can select by what trades you want to see a chart:

  • Total – allows building a chart by short and long trades.

  • Long – allows building a chart by long trades.

  • Short – allows building a chart by short trades.

Cumulative P/L chart

Section 'Total' is selected and displayed by default in all the tabs. Volume bars are plotted on the chart regardless of selected horizontal scale type (Operations, Hours, Days, etc.). Volume is displayed in lots.

Aggregate P/L Chart

Aggregated P/L charts display Gross and Net P/L for selected 'aggregation' interval.

Aggregation interval – allows aggregating P/L chart by the needed periods: by months, by days, by hours. Option 'Hours' (i.e. By hour of the day) is set by default. The charts can be also displayed by side of the trading, available side tabs are: Total, Buy, Sell.

Trades Population Chart

Trades population consists of two charts:

  • Pie chart, which illustrates the completed trades number for each individual symbol and shows their values in % from total trades number;

  • Profitable chart of the selected symbol, which appears when a user clicks on the sector of a pie chart.

Profitable chart displays Cumulative P/L and volumes of trades made for the selected symbol within the period of work of the strategy.

Drawdowns Chart

Drawdowns chart shows the graphical distribution of drawdowns built trade by trade. Volumes of the trades are also displayed on the chart.

Cumulative P/L chart in the ‘Operations’ mode displays how a user’s balance was changed depending on the trade operations performed within the period of work of the strategy. Operations mode is opened by default, if a user changes mode, he can return to Operations mode by clicking on thebutton.

Horizontal scale allows plotting P/L chart by operations or by hours/days/months for chosen in the main panel window period of time. If section 'hours/days/months' is selected, then all operations are aggregated by hours/days/months. Click on thebuttons to select the corresponding modes.