← All strategy tests
Historical simulationStocks15m barsLong onlyIntraday

UNH: Donchian channel breakout, 15m (profile 1) - validation

Selected from a random mix of saved backtests. Profitability and a favorable verdict were not required. Simulated historical strategy test for UNH.US using 15-minute bars from 2026-07-19 to 2026-10-16. Asset class: stocks. Indicators and functions used: DONC_LOWER, DONC_UPPER; Box 1 condition: [close > DONC_UPPER(period=20, lag_period=1)]; Box 2 condition: [close < DONC_LOWER(period=20, lag_period=1)]. Long only. Fills at the next bar's open. Opposite signal reverses the position. Starting equity: 25,000. Position size: 25 % of equity. Stop loss: 2 ATR. Take profit: 3 R. Trailing stop: 3 ATR. Commission per side: 0.01 %. Slippage per fill: 0.01 points. Maximum holding period: 100 bars. Close positions at session end. Risk-setting ATR period: 14. Session: 09:30 to 16:00 (exchange time). Saved results. Trades: 20; Net P&L: -115.032329; Return: -0.460129%; Win rate: 35%.

Shared by pk78 · Published 2026-10-18 · Snapshot 2026-10-18 · Report revision 2

Test your versionLoads these rules and settings. Review them before starting a new test.

What was tested

Market
UNH.US
Timeframe
15-minute bars
Test window
2026-07-19 – 2026-10-16
Engine
tv-engine-3

Simulated historical results, not live trading performance. Historical results do not predict future returns. Shared sections are selected by the author; hidden sections have not been independently verified. The author controls which sections are visible. This is a saved result; market data revisions or engine updates can change a later rerun.

Result and evidence

Too few trades

Only 20 trades, which is not enough to judge the strategy. Test a longer period.

Net P&L
-115.03
Return
-0.46%
Trades
20
Win rate
35.0%
Profit factor
0.80
Maximum drawdown
-2.16%
Average trade
-5.75
Average R
-0.09R
Sharpe ratio
-0.92
Commission paid
24.13
Chance a no-edge strategy does this well
65.3%
P&L without the 2 best trades
-368.73

Read before trusting the numbers

  • Only 20 trades. That is too few to tell skill from luck; test a longer period or a faster timeframe.

The luck check is a statistical estimate for this sample, not the probability of future success. Costs, sample size and testing many variants affect how much confidence a result deserves.

Equity and drawdown

Saved simulated equity across this test window. Drag the range control to inspect a period.

Full performance statistics

Compare the full run with its long and short trades.

Statistics from the saved run, for All, Long and Short trades. N/A means unavailable or not applicable.
MetricAllLongShort
Performance
Net P&L-115.03-115.03N/A
Return on starting equity-0.46%N/AN/A
Profit factor0.800.80N/A
Average trade (expectancy)-5.75-5.75N/A
Average R per trade-0.09R-0.09RN/A
Total R-1.74R-1.74RN/A
Buy & hold return (same period)-4.83%N/AN/A
Trades
Trades20200
Win rate35.00%35.00%N/A
Average win67.2467.24N/A
Average loss-45.05-45.05N/A
Average win / average loss1.491.49N/A
Largest win138.79138.79N/A
Largest loss-95.70-95.70N/A
Most wins in a row22N/A
Most losses in a row88N/A
Average bars in trade12.6012.60N/A
Average time in trade3h 3m3h 3mN/A
Average adverse excursion (MAE)42.0042.00N/A
Average favorable excursion (MFE)47.8947.89N/A
Risk
Max drawdown-546.14N/AN/A
Max drawdown %-2.16%N/AN/A
Longest drawdown79d 30mN/AN/A
Sharpe ratio (daily, annualized)-0.92N/AN/A
Sortino ratio (daily, annualized)-1.51N/AN/A
Time in the market17.85%N/AN/A
Costs
Commission paid24.1324.13N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well65%N/AN/A
Net P&L without the 2 best trades-368.73N/AN/A

N/A means the metric is unavailable or does not apply to that side. Colors describe individual metrics, not the reliability of the strategy.

Strategy rules

Entry / long entry

[close > DONC_UPPER(period=20, lag_period=1)]

Exit / short entry

[close < DONC_LOWER(period=20, lag_period=1)]

Execution and risk settings

Direction
Long only
Signal mode
Entry and exit
Order fills
Next bar's open
Opposite signal
Reverse position
Starting equity
25,000.00
Position size
25.00 % of equity
Stop loss
2.00 ATR
Take profit
3.00 R
Trailing stop
3.00 ATR
Move stop to breakeven at R
Not set
Maximum bars in trade
100.00
Flat at session end
Yes
Commission per side
0.01 %
Slippage per fill
0.01 points
Session
09:30 – 16:00 (exchange time)

Robustness check

The same strategy tested across periods, symbols and nearby settings. These checks do not make a strategy immune to overfitting.

Earlier periods

Profitable in 3 of 5 periods with sufficient price coverage.

TestTradesNet P&LProfit factorDrawdownFinding
Jul 19 to Oct 16, 2026
Available data: 2026-07-20 to 2026-10-15, 1,300 bars.
20-115.030.80-2.16%Too few trades
Apr 20 to Jul 18, 2026
Available data: 2026-04-20 to 2026-07-17, 1,612 bars.
35269.041.39-1.27%Inconclusive
Jan 20 to Apr 19, 2026
Available data: 2026-01-20 to 2026-04-17, 1,612 bars.
39560.611.91-0.83%Inconclusive
Oct 22, 2025 to Jan 19, 2026
Available data: 2025-10-22 to 2026-01-16, 1,559 bars.
34-28.410.96-1.09%Unprofitable
Jul 24 to Oct 21, 2025
Available data: 2025-07-24 to 2025-10-21, 1,638 bars.
4373.651.07-2.23%Inconclusive

Other symbols

Profitable on 1 of 3 other symbols.

TestTradesNet P&LProfit factorDrawdownFinding
Jul 19 to Oct 16, 2026
Available data: 2026-07-20 to 2026-10-15, 1,300 bars.
20-115.030.80-2.16%Too few trades
AAPL.US
Available data: 2026-07-20 to 2026-10-16, 1,664 bars.
41309.511.46N/AInconclusive
MSFT.US
Available data: 2026-07-20 to 2026-10-15, 1,300 bars.
35-375.990.48N/AUnprofitable
NVDA.US
Available data: 2026-07-20 to 2026-10-15, 1,300 bars.
26-258.740.68N/AToo few trades

Stops and targets

1 of 35 stop/target settings were profitable in your window. Yours ranks 9. 20 were profitable in most of the 5 periods; the steadiest is a 1.5 ATR stop with 4R target (4 of 5 periods, $740.33 in total).

Net P&L in the original test window for each setting.
SettingNo target1R1.5R2R3R4R5R
0.5 ATR-10.13-54.59-65.60-70.9033.93-72.60-41.80
1 ATR-123.47-158.03-128.25-125.03-156.86-124.97-116.47
1.5 ATR-174.31-38.86-217.92-213.70-181.59-174.31-174.31
2 ATR-115.03-147.02-150.93-117.87-115.03-115.03-115.03
3 ATR-134.52-193.50-148.70-134.52-134.52-134.52-134.52

Condition numbers

0 of 5 condition settings were profitable in your window. Yours ranks 2. 5 were profitable in most of the 5 periods; the steadiest uses 15 for 20 (4 of 5 periods, $673.93 in total).

Net P&L in the original test window for each setting.
Setting
10-159.71
15-53.54
20-115.03
30-327.03
40-240.35

Simulated trades

20 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Long2026-07-21 13:45:002026-07-21 20:00:0014.00426.4600436.4600138.79session_end
2.0Long2026-07-28 13:45:002026-07-28 20:00:0014.00420.6275428.9200114.91session_end
3.0Long2026-07-30 18:00:002026-07-30 18:45:0014.00426.8650423.4400-49.14stop_loss
4.0Long2026-08-05 15:45:002026-08-05 20:00:0015.00411.9400412.800011.66session_end
5.0Long2026-08-07 14:15:002026-08-07 20:00:0015.00407.6150407.0500-9.70session_end
6.0Long2026-08-10 13:45:002026-08-10 18:55:0015.00412.1900408.8900-50.73stop_loss
7.0Long2026-08-12 19:45:002026-08-12 20:00:0015.00406.6900405.6100-17.42session_end
8.0Long2026-08-14 16:30:002026-08-14 20:00:0015.00402.7300401.7500-15.91session_end
9.0Long2026-08-21 15:00:002026-08-21 17:05:0015.00392.7500389.2600-53.52stop_loss
10.0Long2026-08-24 13:45:002026-08-24 14:30:0015.00398.5550395.0000-54.52stop_loss
11.0Long2026-08-26 13:45:002026-08-26 14:55:0015.00403.9100400.8300-47.41trailing_stop
12.0Long2026-09-28 13:45:002026-09-28 13:55:0016.00379.6000376.5900-49.37stop_loss
13.0Long2026-10-02 14:00:002026-10-02 20:00:0016.00367.2500371.860072.58session_end
14.0Long2026-10-05 18:30:002026-10-05 20:00:0016.00374.5700378.670064.39session_end
15.0Long2026-10-06 13:45:002026-10-06 14:15:0016.00379.6550376.6600-49.13stop_loss
16.0Long2026-10-07 14:45:002026-10-07 18:45:0016.00379.7100378.5700-19.45trailing_stop
17.0Long2026-10-09 13:45:002026-10-09 14:00:0016.00383.3200378.7900-73.70trailing_stop
18.0Long2026-10-13 13:45:002026-10-13 13:45:0016.00383.5050377.6000-95.70stop_loss
19.0Long2026-10-14 13:45:002026-10-14 20:00:0015.00393.1100395.745038.34session_end
20.0Long2026-10-15 13:45:002026-10-15 20:00:0015.00404.5100406.590029.98session_end