← All strategy tests
Historical simulationStocksDaily barsLong onlyOvernight allowed

BAC: Rate-of-change zero cross, 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 BAC.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(21), input_col2=0, direction=above)]; Box 2 condition: [CROSSED(input_col=ROC(21), 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 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: 33; Net P&L: 1,339.259195; Return: 5.357037%; Win rate: 39.393939%. 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
BAC.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

Inconclusive

Up $1,339.26, but that could easily be luck: a strategy with no real edge and trades this variable would do this well about 22% of the time, and without its 2 best trades it loses $340.87. Test a longer period before trusting it.

Net P&L
1,339.26
Return
5.36%
Trades
33
Win rate
39.4%
Profit factor
1.43
Maximum drawdown
-6.46%
Average trade
40.58
Average R
0.12R
Sharpe ratio
0.47
Commission paid
41.45
Chance a no-edge strategy does this well
22.3%
P&L without the 2 best trades
-340.87

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&L1,339.261,339.26N/A
Return on starting equity5.36%N/AN/A
Profit factor1.431.43N/A
Average trade (expectancy)40.5840.58N/A
Average R per trade0.12R0.12RN/A
Total R4.12R4.12RN/A
Annualized return1.76%N/AN/A
Buy & hold return (same period)60.19%N/AN/A
Trades
Trades33330
Win rate39.39%39.39%N/A
Average win343.75343.75N/A
Average loss-156.48-156.48N/A
Average win / average loss2.202.20N/A
Largest win946.74946.74N/A
Largest loss-286.72-286.72N/A
Most wins in a row22N/A
Most losses in a row55N/A
Average bars in trade9.399.39N/A
Average time in trade12d 22h12d 22hN/A
Average adverse excursion (MAE)123.25123.25N/A
Average favorable excursion (MFE)271.50271.50N/A
Risk
Max drawdown-1,665.80N/AN/A
Max drawdown %-6.46%N/AN/A
Longest drawdown501dN/AN/A
Sharpe ratio (daily, annualized)0.47N/AN/A
Sortino ratio (daily, annualized)0.52N/AN/A
Calmar ratio0.27N/AN/A
Time in the market39.44%N/AN/A
Costs
Commission paid41.4541.45N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well22%N/AN/A
Net P&L without the 2 best trades-340.87N/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(21), input_col2=0, direction=above)]

Exit / short entry

[CROSSED(input_col=ROC(21), 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.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

33 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Long2022-10-192022-10-20179.0034.590033.9700-112.21exit_signal
2.0Long2022-10-212022-12-05184.0033.570035.8000409.04exit_signal
3.0Long2023-01-092023-01-13183.0034.760033.2000-286.72stop_loss
4.0Long2023-04-172023-04-27211.0029.780028.5100-269.20exit_signal
5.0Long2023-04-282023-05-03214.0028.540028.1500-84.67exit_signal
6.0Long2023-05-082023-05-09222.0028.090027.4100-152.19exit_signal
7.0Long2023-06-052023-06-23213.0028.720027.7300-212.07exit_signal
8.0Long2023-06-282023-06-29215.0028.260028.490048.23exit_signal
9.0Long2023-06-302023-07-07212.0028.950028.2900-141.13exit_signal
10.0Long2023-07-132023-07-17206.0029.530029.1400-81.55exit_signal
11.0Long2023-07-182023-08-08205.0030.010030.6900138.16trailing_stop
12.0Long2023-11-022023-12-01229.0026.720030.8600946.74take_profit
13.0Long2024-01-312024-02-01181.0034.580033.2000-251.01stop_loss
14.0Long2024-02-132024-02-14185.0033.130032.9700-30.82exit_signal
15.0Long2024-02-152024-03-01188.0033.330034.5200222.44exit_signal
16.0Long2024-03-042024-04-11182.0034.300036.2600355.44trailing_stop
17.0Long2024-04-162024-04-16177.0036.105034.6100-265.87stop_loss
18.0Long2024-04-222024-04-30170.0037.010037.335053.99exit_signal
19.0Long2024-05-062024-05-09169.0037.670037.5200-26.62exit_signal
20.0Long2024-05-102024-05-30164.0038.490037.7500-122.61trailing_stop
21.0Long2024-06-252024-06-27157.0039.790038.6900-173.93exit_signal
22.0Long2024-07-012024-07-25156.0039.920041.8400298.24trailing_stop
23.0Long2024-09-032024-09-06154.0040.590038.9100-259.94stop_loss
24.0Long2024-09-172024-09-19159.0039.290040.0300116.40exit_signal
25.0Long2024-09-202024-09-25153.0040.630039.2400-213.89exit_signal