← All strategy tests
Historical simulationStocksDaily barsLong onlyOvernight allowed

MA: SMA crossover, 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 MA.US using daily bars from 2022-10-10 to 2025-10-09. Asset class: stocks. Indicators and functions used: CROSSED, SMA; Box 1 condition: [CROSSED(input_col=SMA(20), input_col2=SMA(50), direction=above)]; Box 2 condition: [CROSSED(input_col=SMA(20), input_col2=SMA(50), 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: 8; Net P&L: 1,362.679079; Return: 5.450716%; Win rate: 50%. 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
MA.US
Timeframe
Daily bars
Test window
2022-10-10 – 2025-10-09
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 8 trades, which is not enough to judge the strategy. Test a longer period.

Net P&L
1,362.68
Return
5.45%
Trades
8
Win rate
50.0%
Profit factor
4.45
Maximum drawdown
-2.29%
Average trade
170.33
Average R
0.70R
Sharpe ratio
0.77
Commission paid
10.07
Chance a no-edge strategy does this well
11.1%
P&L without the 2 best trades
46.91

Read before trusting the numbers

  • Only 8 trades. That is too few to tell skill from luck; test a longer period or a faster timeframe.
  • 1 stop exit filled at the open because price gapped past the stop, so it closed beyond the stop price (worst -0.1R).

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,362.681,362.68N/A
Return on starting equity5.45%N/AN/A
Profit factor4.454.45N/A
Average trade (expectancy)170.33170.33N/A
Average R per trade0.70R0.70RN/A
Total R5.58R5.58RN/A
Annualized return1.79%N/AN/A
Buy & hold return (same period)90.06%N/AN/A
Trades
Trades880
Win rate50.00%50.00%N/A
Average win439.31439.31N/A
Average loss-98.64-98.64N/A
Average win / average loss4.454.45N/A
Largest win825.20825.20N/A
Largest loss-212.22-212.22N/A
Most wins in a row33N/A
Most losses in a row22N/A
Average bars in trade26.2526.25N/A
Average time in trade36d 12h36d 12hN/A
Average adverse excursion (MAE)93.1493.14N/A
Average favorable excursion (MFE)409.15409.15N/A
Risk
Max drawdown-590.00N/AN/A
Max drawdown %-2.29%N/AN/A
Longest drawdown621dN/AN/A
Sharpe ratio (daily, annualized)0.77N/AN/A
Sortino ratio (daily, annualized)0.57N/AN/A
Calmar ratio0.78N/AN/A
Time in the market26.83%N/AN/A
Costs
Commission paid10.0710.07N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well11%N/AN/A
Net P&L without the 2 best trades46.91N/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=SMA(20), input_col2=SMA(50), direction=above)]

Exit / short entry

[CROSSED(input_col=SMA(20), input_col2=SMA(50), 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

8 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Long2022-11-092022-12-1519.00322.2900344.2500415.97trailing_stop
2.0Long2023-04-182023-04-2717.00373.9600361.5500-212.22stop_loss
3.0Long2023-07-052023-08-0315.00388.8200387.5500-20.21trailing_stop
4.0Long2023-11-292024-01-3015.00411.0200443.8100490.57take_profit
5.0Long2024-08-092024-10-1614.00455.5900514.6300825.20take_profit
6.0Long2025-02-032025-03-0411.00552.6500555.080025.51trailing_stop
7.0Long2025-05-122025-06-1311.00580.0100568.4900-127.98trailing_stop
8.0Long2025-08-142025-09-1011.00577.4800574.4900-34.16trailing_stop