← All strategy tests
Historical simulationStocksDaily barsLong onlyOvernight allowed

PG: Donchian channel breakout, daily (profile 1) - training

Selected from a random mix of saved backtests. Profitability and a favorable verdict were not required. Simulated historical strategy test for PG.US using daily bars from 2022-10-11 to 2025-10-10. Asset class: stocks. Indicators and functions used: DONC_LOWER, DONC_UPPER; Box 1 condition: [close > DONC_UPPER(period=30, lag_period=1)]; Box 2 condition: [close < DONC_LOWER(period=30, 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. Risk-setting ATR period: 14. Session: 09:30 to 16:00 (exchange time). Saved results. Trades: 11; Net P&L: -480.102223; Return: -1.920409%; Win rate: 27.272727%. No saved robustness results are available for this run.

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
PG.US
Timeframe
Daily bars
Test window
2022-10-11 – 2025-10-10
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 11 trades, which is not enough to judge the strategy. Test a longer period.

Net P&L
-480.10
Return
-1.92%
Trades
11
Win rate
27.3%
Profit factor
0.62
Maximum drawdown
-4.99%
Average trade
-43.65
Average R
-0.31R
Sharpe ratio
-0.31
Commission paid
13.67
Chance a no-edge strategy does this well
75.0%
P&L without the 2 best trades
-1,074.53

Read before trusting the numbers

  • Only 11 trades. That is too few to tell skill from luck; test a longer period or a faster timeframe.
  • 2 stop exits filled at the open because price gapped past the stop, so they closed beyond the stop price (worst -1.6R).

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-480.10-480.10N/A
Return on starting equity-1.92%N/AN/A
Profit factor0.620.62N/A
Average trade (expectancy)-43.65-43.65N/A
Average R per trade-0.31R-0.31RN/A
Total R-3.36R-3.36RN/A
Annualized return-0.64%N/AN/A
Buy & hold return (same period)21.02%N/AN/A
Trades
Trades11110
Win rate27.27%27.27%N/A
Average win258.81258.81N/A
Average loss-157.07-157.07N/A
Average win / average loss1.651.65N/A
Largest win307.61307.61N/A
Largest loss-261.33-261.33N/A
Most wins in a row22N/A
Most losses in a row66N/A
Average bars in trade20.2720.27N/A
Average time in trade28d 4h28d 4hN/A
Average adverse excursion (MAE)137.73137.73N/A
Average favorable excursion (MFE)214.41214.41N/A
Risk
Max drawdown-1,288.66N/AN/A
Max drawdown %-4.99%N/AN/A
Longest drawdown893dN/AN/A
Sharpe ratio (daily, annualized)-0.31N/AN/A
Sortino ratio (daily, annualized)-0.22N/AN/A
Calmar ratio-0.13N/AN/A
Time in the market28.15%N/AN/A
Costs
Commission paid13.6713.67N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well75%N/AN/A
Net P&L without the 2 best trades-1,074.53N/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=30, lag_period=1)]

Exit / short entry

[close < DONC_LOWER(period=30, 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
No
Commission per side
0.01 %
Slippage per fill
0.01 points
Session
09:30 – 16:00 (exchange time)

Simulated trades

11 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Long2022-11-112023-01-1844.00141.2100148.2300307.61trailing_stop
2.0Long2023-03-212023-05-1843.00144.9200151.6200286.82trailing_stop
3.0Long2023-07-242023-08-1741.00152.8500152.1500-29.95trailing_stop
4.0Long2023-11-142023-12-0541.00152.5600148.6300-162.36stop_loss
5.0Long2024-01-242024-04-0341.00153.9400158.4100181.99trailing_stop
6.0Long2024-05-082024-05-2838.00165.9900163.3000-103.47trailing_stop
7.0Long2024-07-182024-07-3037.00168.8100161.7800-261.33stop_loss
8.0Long2024-09-042024-09-1936.00173.6400170.5600-112.12trailing_stop
9.0Long2024-11-252024-12-0935.00177.4900173.1200-154.18trailing_stop
10.0Long2025-02-142025-02-1436.00169.8000164.7100-184.44stop_loss
11.0Long2025-03-042025-03-1235.00176.7600169.6900-248.66stop_loss