top of page

NAVIGATOR

WHAT WAS TESTED

System logic

The run

RESULTS

Balance Curve

The run itself

Profit

Downside

Efficiency

Tolerance

Validity

DDT-Score

CHECKS

Out-of-sample

Raw report

Icon 2.png

RSL 2

Added:

1 Jan 2019

S&P 500 Stocks

Daily

DDT-Score

70.96

Excellent

OUT-OF-SAMPLE VERDICT

Deviating

TOTAL PROFIT

+63.28%

What was tested

System logic

Every figure further down describes this one run, with these settings, on these symbols, over this period, on Admiral Markets. Change any of them and the figures change with them.

System logic & Parameters

The system ranks every member of the HDAX by its relative strength over the past 27 weeks and holds the ten strongest. It rebalances once a week, at Monday's open: a share that has dropped out of the top ten is sold, and the money goes to whatever has moved in. It is long only, and it stays out of the market entirely while the index itself trades below its 200-week moving average. Each position carries a stop at twice the 14-period ATR, and the position size is set so that a stop costs 1.0 % of the starting balance.

Risk is measured against the starting balance, not against the equity, so every trade in the run is the same size. That is what keeps the figures below comparable: a drawdown, a losing streak or an average loss only mean the same thing throughout when a trade at the end of the run weighs as much as one at the start. It also keeps two systems comparable with each other, because a strong first year does not then make every later trade bigger.

The run

Test period

1 Jan 2019 – 7 Oct 2025

Symbol guide

S&P 500 Stocks

Tick-data symbol

EURUSD

Timeframe/s

Daily

Latency

no Latency

Modeling

Every Tick

Deposit (€)

100,000

LIST OF SYMBOLS FULLY TRADABLE AT ADMIRAL MARKETS ON THE DATE OF THE TEST

#ADBE,#ALNY,#AMZN,#AMD,#AEP,#AMGN,#ADI,#AAPL,#AMAT,#ADSK,#ADP.US,#AXON.US,#BKR,#BKNG,#AVGO,#CDNS,#CTAS,#CSCO,#CMCSA,#CPRT,#COST,#CSX,#DXCM,#FANG,#EA,#EXC,#FAST,#FER,#FTNT,#GILD,#IDXX,#INTC,#INTU.US,#ISRG,#KLAC,#KHC,#LRCX,#LIN.US,#LITE,#MAR,#MRVL,#MELI,#META.US,#MCHP,#MU,#MSFT,#MDLZ,#MPWR,#MNST,#NFLX,#NVDA,#NXPI,#ORLY,#ODFL,#PCAR,#PANW,#PAYX,#PYPL,#PEP,#PDD,#QCOM,#REGN,#ROP,#ROST,#STX,#SHOP,#SBUX,#MSTR,#SNPS,#TMUS,#TTWO,#TER,#TSLA,#TXN,#VRTX,#WMT,#WDC,#WDAY,#XEL

Index memberships change over time, so two tests from different dates can run on a different set of stocks.

Anker 1
Anker 2

Balance Curve *

* By default, the MetaTrader 5 backtest download provides only the balance curve, not         the equity curve.

double OnTester()
  {
   double score =
      DDTScore(InpWeights);

   if(score <= 0)
     {
      return(0);
     }

   PrintEA("DDT-Score: "
      + DoubleToString(
        score, 2));

   return(score);
  }

double MaxDrawdown(
   const double &funeq[])
  {
   double peak = funeq[0];
   double worst = 0;

   for(int i = 1;
       i < ArraySize(funeq);
       i++)
     {
      if(funeq[i] > peak)
        {
         peak = funeq[i];
        }

      double dd = (peak
         - funeq[i]) / peak;

      if(dd > worst)
        {
         worst = dd;
        }
     }

   return(worst * 100.0);
  }

The figures

Each figure carries its own score from 0 to 100, and the scores add up to the five group scores below. A figure without a bar has no score of its own: it either describes the run or sits next to the one that does have its own score. The figures within a group do not count equally. How they are weighted is part of our internal evaluation model.

The run itself

no scores, these describe what happened

Profit

+63.28%

Reward to risk

3.43

Trades

494

Time in market

18.64%

Win rate

43.72%

Max losses in a row

24

Max wins in a row

19

Profit-Score

what the system earned

61.23

Compund annual growth rate

+7.49%

11.87

Profit Factor

2.62

22.17

Expected Payoff

0.28xR

62.41

Expected Payoff is what an average trade brings back for every unit of risk put at stake.

Downside-Score

what it cost to earn it

43.08

Max Equity Drawdown

7.89%

72.31

Ulcer Index

1.96

18.72

Return in the worst year

-6.17%

2021

52.87

Return in the best year

+26.03%

2023

Context only, not scored

Unprofitable years

12.49%

3.56

Unprofitable years, total

1

2020, 2022, 2026

Return Consistency

6.79CV

0

Symbol Consistency

8.94CV

0

The Ulcer Index measures how deep the drawdowns went and how long they lasted, so a lower value is better. The two consistency figures are coefficients of variation: they say how evenly the profit was spread across the years and across the symbols, and a lower value means more evenly.

Efficiency-Score

the return set against the risk it took

82.42

Sharpe Ratio

1.2

11.87

MAR Ratio

1.06

8.97

Recovery Factor

6.07

22.47

Ulcer Performance Index

8.73

86.31

Risk Adjusted Return

28.91%

25.21

Each figure here sets the return against a different kind of risk: the MAR Ratio against the drawdown, the Risk Adjusted Return against the time the system was actually in the market, the Ulcer Performance Index against the depth and length of the drawdowns, and the Recovery Factor against the worst loss the account had to climb back from. The Sharpe Ratio sets it against how much the returns moved around.

Tolerance-Score

how tolerable the losses are

100

Average loss, against 1R

44.75%

98.74

Worst losing streak

4.89%

78.44

The average loss is measured against 1R, the risk planned for a single trade, so a value below 100 % means most losses closed before the stop was reached. The worst losing streak is what the longest unbroken run of losses took off the account.

Validity-Score

how far the four scores above can be trusted

78.72

Trades per year

8.49

43.65

Significance, p-value

6.65%

3.91

Monte Carlo max drawdown

12.89%

97.41

Monte Carlo min capital

91.47%

74.35

The p-value says how likely a system with no edge at all would have produced a result this good by chance, so a lower value is better. The two Monte Carlo figures come from putting the trades into thousands of different orders: one is the deepest drawdown that showed up, the other the lowest the account ever fell to.

DDT-Score

70.96

Excellent

Very weak

Below avg

Average

Good

Excellent

0 - 11

12 - 24

25 - 36

37 - 49

50+

The DDT-Score brings the five groups above into one number, and a higher score is better. The scale runs to 100, but no real system comes close to it, because no system sits at the top of every figure at once. A score of 50 already counts as excellent. Want to see how we got to these figures? Here is the whole procedure, run by run. The DDT Score is new, and we are still fine-tuning how it is calculated. Each time the calculation changes, we recalculate all scores on this site. That is why a score here can differ from the one in the video.

Anker 3
Anker 4
Anker 5
Anker 6
Anker 7
Anker 8
Anker 9
Anker 10

The out-of-sample run

Everything above describes the period the settings were chosen on. This run uses the same settings, unchanged, on months that no step of the development ever saw. The limits were taken from the run above before this one was opened. Want to see why the limits are set this way? Here is how we set them.

Out-of-sample period

3 Months

Out-of-sample trades

51

FIGURE               TEST PERIOD   LIMIT OR BAND                           OUT-OF-SAMPLE    RESULT

Number of Trades / Year

8.49 per year

expected number, plus or minus twice its square root

51

Outside band

band

0 to 5

Time in market

18.64%

band

half to double

9.32 to 37.28%

10.48%

Within band

Max equity drawdown

7.89%

hard limit

not above the test period's value

up to 7.89%

7.21%

Within limit

Symbol consistency

8.94CV

band

up to double

up to 17.88CV

15.89CV

Within band

Average loss, against 1R

44.75%

band

up to double

up to 89.50%

60.49%

Within band

Worst losing streak

4.89%

not above the test period's value

up to 4.89%

1.24%

Within limit

hard limit

Verdict

Deviating

A hard limit was passed, or two or more bands were outside. The system did something in those months that the test period never showed.

Anker 11

The raw report

Every figure on this page comes from the two blocks below, which the system wrote into MetaTrader's journal while the run was going on. Nothing between them and this page was edited by hand.

BACKTEST METRICS REPORT

Backtest Metrics.png

DDT-SCORE REPORT

Backtest Metrics.png

Two original MetaTrader 5 reports, not summaries of them: the product run and the out-of-sample run. Each header names the test period, the symbols and every input.

This report was run once, for the video, and it stays as it is: we do not repeat it later. Whatever the market has done after its last day is not part of these figures. Running the same system on a different symbol list, at a different broker with different spreads and swaps, or over a different period will produce a different curve, which is why the settings and symbols are part of the result rather than a detail next to it. And whatever the figures show, they describe the past, not a promise about the future.

double Sharpe(
   const double &funret[])
  {
   int n = ArraySize(funret);
   if(n < 2)
     {
      return(0);
     }

   double sum = 0;
   for(int i = 0; i < n; i++)
     {
      sum += funret[i];
     }

   double mean = sum / n;
   double var = 0;

   for(int i = 0; i < n; i++)
     {
      double d = funret[i]
         - mean;
      var += d * d;
     }

   var /= (n - 1);

   if(var <= 0)
     {
      return(0);
     }

   return(mean / MathSqrt(var)
      * MathSqrt(252.0));
  }

double ProfitFactor()
  {
   double gain = 0;
   double loss = 0;

   HistorySelect(0,
      TimeCurrent());

   int n =
      HistoryDealsTotal();

   for(int i = 0; i < n; i++)
     {
      ulong t =
      HistoryDealGetTicket(i);

      long e =
      HistoryDealGetInteger(
         t, DEAL_ENTRY);

      if(e != DEAL_ENTRY_OUT)
        {
         continue;
        }

      double p =
         HistoryDealGetDouble(
            t, DEAL_PROFIT);

      if(p >= 0)
        {
         gain += p;
        }
      else
        {
         loss -= p;
        }
     }

   if(loss <= 0)
     {
      return(0);
     }

   return(gain / loss);
  }

double OnTester()
  {
   double score =
      DDTScore(InpWeights);

   if(score <= 0)
     {
      return(0);
     }

   PrintEA("DDT-Score: "
      + DoubleToString(
        score, 2));

   return(score);
  }

double ProfitFactor()
  {
   double gain = 0;
   double loss = 0;

   HistorySelect(0,
      TimeCurrent());

   int n =
      HistoryDealsTotal();

   for(int i = 0; i < n; i++)
     {
      ulong t =
      HistoryDealGetTicket(i);

      long e =
      HistoryDealGetInteger(
         t, DEAL_ENTRY);

      if(e != DEAL_ENTRY_OUT)
        {
         continue;
        }

      double p =
         HistoryDealGetDouble(
            t, DEAL_PROFIT);

      if(p >= 0)
        {
         gain += p;
        }
      else
        {
         loss -= p;
        }
     }

   if(loss <= 0)
     {
      return(0);
     }

   return(gain / loss);
  }

bottom of page