← All strategy tests
Historical simulationStocksDaily barsLong onlyOvernight allowed

COST: Rate-of-change zero cross, daily (profile 2) - training

Selected for a historical-results sample targeting 80% profitable, Promising tests and 20% other saved results. Individual verdicts are unchanged. This selection is not independent validation. Simulated historical strategy test for COST.US using daily bars from 2022-10-11 to 2025-10-10. Asset class: stocks. Indicators and functions used: CROSSED, ROC; Box 1 condition: [CROSSED(input_col=ROC(14), input_col2=0, direction=above)]; Box 2 condition: [CROSSED(input_col=ROC(14), input_col2=0, direction=below)]. 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.5 ATR. Take profit: 2 R. Trailing stop: 4 ATR. Commission per side: 0.01 %. Slippage per fill: 0.01 points. Maximum holding period: 60 bars. Risk-setting ATR period: 14. Session: 09:30 to 16:00 (exchange time). Saved results. Trades: 38; Net P&L: 2,498.415443; Return: 9.993662%; Win rate: 44.736842%. 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
COST.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

Promising

Profitable with a profit factor of 1.2 or more. A strategy with no real edge would do this well about 5% of the time. Check it on other periods before trusting it.

Net P&L
2,498.42
Return
9.99%
Trades
38
Win rate
44.7%
Profit factor
2.16
Maximum drawdown
-2.79%
Average trade
65.75
Average R
0.26R
Sharpe ratio
0.90
Commission paid
47.16
Chance a no-edge strategy does this well
4.8%
P&L without the 2 best trades
1,348.17

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&L2,498.422,498.42N/A
Return on starting equity9.99%N/AN/A
Profit factor2.162.16N/A
Average trade (expectancy)65.7565.75N/A
Average R per trade0.26R0.26RN/A
Total R9.72R9.72RN/A
Annualized return3.23%N/AN/A
Buy & hold return (same period)100.00%N/AN/A
Trades
Trades38380
Win rate44.74%44.74%N/A
Average win273.75273.75N/A
Average loss-102.64-102.64N/A
Average win / average loss2.672.67N/A
Largest win587.59587.59N/A
Largest loss-384.11-384.11N/A
Most wins in a row44N/A
Most losses in a row55N/A
Average bars in trade9.329.32N/A
Average time in trade13d 4h13d 4hN/A
Average adverse excursion (MAE)112.60112.60N/A
Average favorable excursion (MFE)228.55228.55N/A
Risk
Max drawdown-788.40N/AN/A
Max drawdown %-2.79%N/AN/A
Longest drawdown281dN/AN/A
Sharpe ratio (daily, annualized)0.90N/AN/A
Sortino ratio (daily, annualized)0.80N/AN/A
Calmar ratio1.16N/AN/A
Time in the market46.08%N/AN/A
Costs
Commission paid47.1647.16N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well5%N/AN/A
Net P&L without the 2 best trades1,348.17N/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

[CROSSED(input_col=ROC(14), input_col2=0, direction=above)]

Exit / short entry

[CROSSED(input_col=ROC(14), input_col2=0, direction=below)]

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.50 ATR
Take profit
2.00 R
Trailing stop
4.00 ATR
Move stop to breakeven at R
Not set
Maximum bars in trade
60.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

38 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Long2022-10-142022-10-1713.00472.0400461.6400-136.41exit_signal
2.0Long2022-10-242022-12-0112.00481.6200496.7600180.51trailing_stop
3.0Long2023-01-092023-02-2212.00482.9400503.9100250.46exit_signal
4.0Long2023-03-202023-04-1012.00488.0100483.8900-50.61exit_signal
5.0Long2023-04-112023-04-1712.00493.8400492.7600-14.14exit_signal
6.0Long2023-04-182023-04-2712.00496.1100494.8200-16.67exit_signal
7.0Long2023-04-282023-05-0212.00501.5700494.9900-80.16exit_signal
8.0Long2023-05-032023-05-0412.00496.6100488.9300-93.34exit_signal
9.0Long2023-05-082023-05-1112.00497.3800499.500024.24exit_signal
10.0Long2023-05-172023-05-1812.00498.0100494.9900-37.43exit_signal
11.0Long2023-05-222023-05-2312.00497.0100487.1600-119.38exit_signal
12.0Long2023-05-302023-07-1012.00509.7950525.0500181.82exit_signal
13.0Long2023-07-112023-07-2411.00527.5100563.2300391.72take_profit
14.0Long2023-08-082023-08-1411.00558.0100564.760073.01exit_signal
15.0Long2023-09-082023-10-0911.00549.0800554.990063.80exit_signal
16.0Long2023-10-122023-10-2311.00568.0600554.1300-154.46exit_signal
17.0Long2023-11-092023-12-0811.00569.0100612.8700481.16take_profit
18.0Long2024-01-122024-02-089.00677.5100726.2700437.58take_profit
19.0Long2024-03-132024-03-148.00735.0100738.320025.30exit_signal
20.0Long2024-04-012024-04-039.00731.7700709.9700-197.50exit_signal
21.0Long2024-04-232024-05-029.00719.0400724.740050.00exit_signal
22.0Long2024-05-032024-05-168.00734.2900794.6700481.82take_profit
23.0Long2024-07-032024-07-127.00855.0100849.8800-37.10exit_signal
24.0Long2024-07-162024-07-177.00847.8100848.00000.14exit_signal
25.0Long2024-07-232024-07-247.00848.9100844.5900-31.43exit_signal