← All strategy tests
Historical simulationStocksDaily barsLong onlyOvernight allowed

MSFT: 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 MSFT.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,617.113768; Return: 6.468455%; Win rate: 42.424242%. 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
MSFT.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,617.11, but that could easily be luck: a strategy with no real edge and trades this variable would do this well about 21% of the time, and without its 2 best trades it loses $492.96. Test a longer period before trusting it.

Net P&L
1,617.11
Return
6.47%
Trades
33
Win rate
42.4%
Profit factor
1.58
Maximum drawdown
-6.49%
Average trade
49.00
Average R
0.14R
Sharpe ratio
0.54
Commission paid
41.63
Chance a no-edge strategy does this well
20.6%
P&L without the 2 best trades
-492.96

Read before trusting the numbers

  • 5 stop exits filled at the open because price gapped past the stop, so they closed beyond the stop price (worst -1.58R).
  • A trade was still open at the end of the test and was closed at the last price.

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,617.111,617.11N/A
Return on starting equity6.47%N/AN/A
Profit factor1.581.58N/A
Average trade (expectancy)49.0049.00N/A
Average R per trade0.14R0.14RN/A
Total R4.68R4.68RN/A
Annualized return2.11%N/AN/A
Buy & hold return (same period)124.48%N/AN/A
Trades
Trades33330
Win rate42.42%42.42%N/A
Average win314.56314.56N/A
Average loss-146.67-146.67N/A
Average win / average loss2.142.14N/A
Largest win1,202.951,202.95N/A
Largest loss-396.43-396.43N/A
Most wins in a row33N/A
Most losses in a row66N/A
Average bars in trade8.368.36N/A
Average time in trade11d 11h11d 11hN/A
Average adverse excursion (MAE)127.34127.34N/A
Average favorable excursion (MFE)233.18233.18N/A
Risk
Max drawdown-1,766.37N/AN/A
Max drawdown %-6.49%N/AN/A
Longest drawdown588dN/AN/A
Sharpe ratio (daily, annualized)0.54N/AN/A
Sortino ratio (daily, annualized)0.47N/AN/A
Calmar ratio0.33N/AN/A
Time in the market34.93%N/AN/A
Costs
Commission paid41.6341.63N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well21%N/AN/A
Net P&L without the 2 best trades-492.96N/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-242022-10-2725.00243.7700231.0300-319.69exit_signal
2.0Long2022-11-112022-11-2225.00243.0000243.580013.28exit_signal
3.0Long2022-11-282022-12-1924.00246.0900243.3000-68.13trailing_stop
4.0Long2022-12-212022-12-2325.00241.7000236.1000-141.19exit_signal
5.0Long2022-12-302023-01-0325.00238.2200243.0700120.05exit_signal
6.0Long2023-01-242023-01-2525.00241.1100234.4700-167.19exit_signal
7.0Long2023-01-262023-02-2125.00243.6600254.4700269.00trailing_stop
8.0Long2023-03-172023-04-2622.00278.2700296.6900403.98exit_signal
9.0Long2023-04-272023-06-1521.00295.9800339.2400907.13take_profit
10.0Long2023-07-312023-08-0219.00336.9300333.6200-64.16exit_signal
11.0Long2023-09-012023-09-2019.00331.3200323.2400-154.76trailing_stop
12.0Long2023-10-122023-10-1319.00330.5800332.370032.75exit_signal
13.0Long2023-10-172023-11-1019.00329.6000368.8700744.80take_profit
14.0Long2023-12-182023-12-1917.00369.4600371.480033.08exit_signal
15.0Long2023-12-202023-12-2117.00375.0100372.5500-43.09exit_signal
16.0Long2023-12-222023-12-2617.00373.6900374.990020.83exit_signal
17.0Long2024-01-092024-01-2417.00372.0200405.5000567.84take_profit
18.0Long2024-03-012024-03-0616.00411.2800402.9600-134.42exit_signal
19.0Long2024-03-082024-03-1116.00407.9700403.7500-68.82exit_signal
20.0Long2024-03-152024-04-1615.00419.2850414.5600-72.13exit_signal
21.0Long2024-05-152024-05-3116.00417.9100412.2200-92.37trailing_stop
22.0Long2024-09-032024-09-0616.00418.0000402.5100-249.15stop_loss
23.0Long2024-10-302024-10-3115.00437.4450415.9500-323.71stop_loss
24.0Long2024-11-062024-11-1815.00412.4400414.860035.06exit_signal
25.0Long2024-11-272024-11-2915.00425.1200420.0200-77.77exit_signal