← All strategy tests
Historical simulationStocks15m barsLong onlyIntraday

TSLA: SMA crossover, 15m (2026-07-03 to 2026-09-30)

TradesViz example study: SMA crossover on TSLA.US, 15-minute bars, 2026-07-03 through 2026-09-30. This is a historical simulation with preset rules, not a live account or an optimized strategy. Tests whether a simple moving-average crossover identifies directional persistence on this market and bar interval. Entry: [CROSSED(input_col=SMA(10), input_col2=SMA(25), direction=above)] Exit: [CROSSED(input_col=SMA(10), input_col2=SMA(25), direction=below)] Settings: long only; next-bar-open fills; 25,000 starting equity in quote currency; 25% of current equity per position; 14-period ATR, 2 ATR initial stop, 3R target, 3 ATR trailing stop, and a 100-bar maximum holding period. Session 09:30 to 16:00 in exchange time (selected hours). Positions close at the end of each session. Assumed costs: 0.01% of traded value commission per side and 0.01 points slippage per market fill. These are illustrative fixed assumptions, not broker quotes. Funding, financing, borrow fees, varying spreads, and market impact are not separately modeled. Limitations: Long lookbacks react slowly; short samples can contain very few independent trend changes. The catalog includes preset markets and periods without selecting winners. This recent-intraday window is a separate study, not out-of-sample proof. Data availability, gaps and ambiguous intrabar fills must be checked in the completed report. Requested period: 2026-07-03 to 2026-09-30. Available test data: 2026-07-06 to 2026-09-30, 1,274 bars (America/New_York dates). Simulated historical strategy test for TSLA.US using 15-minute bars from 2026-07-03 to 2026-09-30. Asset class: stocks. Indicators and functions used: CROSSED, SMA; Box 1 condition: [CROSSED(input_col=SMA(10), input_col2=SMA(25), direction=above)]; Box 2 condition: [CROSSED(input_col=SMA(10), input_col2=SMA(25), 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. Close positions at session end. Risk-setting ATR period: 14. Session: 09:30 to 16:00 (exchange time). Saved results. Trades: 25; Net P&L: 360.670207; Return: 1.442681%; Win rate: 40%.

Shared by pk78 · Published 2026-10-17 · Snapshot 2026-10-15 · Report revision 5

Test your versionLoads these rules and settings. Review them before starting a new test.

What was tested

Market
TSLA.US
Timeframe
15-minute bars
Test window
2026-07-03 – 2026-09-30
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 25 trades, which is not enough to judge the strategy. Test a longer period.

Net P&L
360.67
Return
1.44%
Trades
25
Win rate
40.0%
Profit factor
1.57
Maximum drawdown
-2.14%
Average trade
14.43
Average R
0.18R
Sharpe ratio
0.72
Commission paid
30.54
Chance a no-edge strategy does this well
21.7%
P&L without the 2 best trades
-68.60

Read before trusting the numbers

  • Only 25 trades. That is too few to tell skill from luck; test a longer period or a faster timeframe.

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&L360.67360.67N/A
Return on starting equity1.44%N/AN/A
Profit factor1.571.57N/A
Average trade (expectancy)14.4314.43N/A
Average R per trade0.18R0.18RN/A
Total R4.54R4.54RN/A
Buy & hold return (same period)-10.77%N/AN/A
Trades
Trades25250
Win rate40.00%40.00%N/A
Average win99.3699.36N/A
Average loss-42.20-42.20N/A
Average win / average loss2.352.35N/A
Largest win239.74239.74N/A
Largest loss-88.21-88.21N/A
Most wins in a row33N/A
Most losses in a row77N/A
Average bars in trade10.2810.28N/A
Average time in trade2h 32m2h 32mN/A
Average adverse excursion (MAE)35.8435.84N/A
Average favorable excursion (MFE)58.9158.91N/A
Risk
Max drawdown-544.79N/AN/A
Max drawdown %-2.14%N/AN/A
Longest drawdown78d 4hN/AN/A
Sharpe ratio (daily, annualized)0.72N/AN/A
Sortino ratio (daily, annualized)1.37N/AN/A
Time in the market18.60%N/AN/A
Costs
Commission paid30.5430.54N/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-68.60N/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(10), input_col2=SMA(25), direction=above)]

Exit / short entry

[CROSSED(input_col=SMA(10), input_col2=SMA(25), 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
Yes
Commission per side
0.01 %
Slippage per fill
0.01 points
Session
09:30 – 16:00 (exchange time)

Robustness check

The same strategy tested across periods, symbols and nearby settings. These checks do not make a strategy immune to overfitting.

Earlier periods

Profitable in 4 of 5 periods with sufficient price coverage.

TestTradesNet P&LProfit factorDrawdownFinding
Jul 03 to Sep 30, 2026
Available data: 2026-07-06 to 2026-09-30, 1,274 bars.
25360.671.57-2.14%Too few trades
Apr 04 to Jul 02, 2026
Available data: 2026-04-06 to 2026-07-02, 1,612 bars.
31740.832.50-0.79%Inconclusive
Jan 04 to Apr 03, 2026
Available data: 2026-01-05 to 2026-04-02, 1,612 bars.
33-614.960.47-3.59%Unprofitable
Oct 06, 2025 to Jan 03, 2026
Available data: 2025-10-06 to 2026-01-02, 1,612 bars.
32296.141.38-2.30%Inconclusive
Jul 08 to Oct 05, 2025
Available data: 2025-07-08 to 2025-10-03, 1,638 bars.
33785.472.96-0.92%Promising

Other symbols

Profitable on 1 of 3 other symbols.

TestTradesNet P&LProfit factorDrawdownFinding
Jul 03 to Sep 30, 2026
Available data: 2026-07-06 to 2026-09-30, 1,274 bars.
25360.671.57-2.14%Too few trades
SPY.US
Available data: 2026-07-06 to 2026-09-30, 1,612 bars.
32-210.030.31N/AUnprofitable
QQQ.US
Available data: 2026-07-06 to 2026-09-30, 1,274 bars.
25-167.850.41N/AToo few trades
AAPL.US
Available data: 2026-07-06 to 2026-09-30, 1,612 bars.
3435.731.08N/AInconclusive

Stops and targets

26 of 35 stop/target settings were profitable in your window. Yours ranks 15. 30 were profitable in most of the 5 periods; the steadiest is a 3 ATR stop with 3R target (4 of 5 periods, $1,751.82 in total).

Net P&L in the original test window for each setting.
SettingNo target1R1.5R2R3R4R5R
0.5 ATR241.47-119.93-115.19-66.47-9.75-30.96-53.96
1 ATR574.2617.4535.06124.77215.27384.55489.08
1.5 ATR426.59-106.36-66.9667.50288.86376.74427.31
2 ATR408.10-21.4062.60225.37360.67424.24408.10
3 ATR413.82175.45290.27366.40461.76413.82413.82

Condition numbers

5 of 5 condition settings were profitable in your window. Yours ranks 1. 5 were profitable in most of the 5 periods; the steadiest is your own setting (4 of 5 periods, $1,568.15 in total).

Net P&L in the original test window for each setting.
Setting
5104.88
8244.01
10360.67
15258.86
2093.67

Simulated trades

25 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Long2026-07-06 14:15:002026-07-06 20:00:0015.00403.6950419.7600239.74session_end
2.0Long2026-07-09 14:30:002026-07-09 20:00:0015.00394.5475406.5500178.84session_end
3.0Long2026-07-14 14:30:002026-07-14 17:15:0015.00397.5800394.9300-40.94trailing_stop
4.0Long2026-07-15 14:00:002026-07-15 14:25:0015.00398.5700393.6500-74.99stop_loss
5.0Long2026-07-15 19:30:002026-07-15 20:00:0016.00394.8000394.3000-9.26session_end
6.0Long2026-07-17 19:00:002026-07-17 20:00:0016.00381.7500380.8300-15.94session_end
7.0Long2026-07-21 14:30:002026-07-21 19:25:0016.00382.5500377.6400-79.78stop_loss
8.0Long2026-07-27 14:30:002026-07-27 14:45:0020.00306.9201304.7500-44.63exit_signal
9.0Long2026-07-27 15:15:002026-07-27 15:45:0020.00309.5750308.1450-29.84exit_signal
10.0Long2026-07-28 17:15:002026-07-28 20:00:0020.00306.7750307.470012.67session_end
11.0Long2026-07-29 19:15:002026-07-29 19:35:0020.00304.7300300.3800-88.21stop_loss
12.0Long2026-07-31 17:00:002026-07-31 20:00:0020.00309.7100311.100026.56session_end
13.0Long2026-08-07 14:00:002026-08-07 14:15:0019.00326.6600322.9400-71.91stop_loss
14.0Long2026-08-10 14:45:002026-08-10 18:30:0018.00330.6500328.5201-39.52exit_signal
15.0Long2026-08-11 14:00:002026-08-11 18:15:0018.00333.8000332.3200-27.84exit_signal
16.0Long2026-08-12 19:30:002026-08-12 20:00:0019.00327.6800327.4400-5.80session_end
17.0Long2026-08-19 14:30:002026-08-19 20:00:0018.00342.3900351.1100155.71session_end
18.0Long2026-08-21 13:45:002026-08-21 14:25:0017.00348.8600360.0800189.53take_profit
19.0Long2026-08-25 16:30:002026-08-25 19:45:0017.00354.4214351.1100-57.49exit_signal
20.0Long2026-08-26 19:30:002026-08-26 20:00:0018.00345.6700345.87002.36session_end
21.0Long2026-08-31 14:15:002026-08-31 20:00:0017.00360.8999367.9100117.93session_end
22.0Long2026-09-22 13:45:002026-09-22 20:00:0016.00375.3700378.850054.47session_end
23.0Long2026-09-24 17:45:002026-09-24 20:00:0016.00380.6054377.9000-44.50session_end
24.0Long2026-09-25 19:15:002026-09-25 20:00:0017.00372.1300372.0700-2.29session_end
25.0Long2026-09-30 18:00:002026-09-30 20:00:0017.00353.8900354.890015.80session_end