← All strategy tests
Historical simulationStocks1h barsLong onlyMixed holding periods

AAPL: EMA pullback with trend filter, 60m (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 AAPL.US using 60-minute bars from 2025-10-11 to 2026-07-11. Asset class: stocks. Indicators and functions used: CROSSED, EMA, SMA; Box 1 condition: [CROSSED(input_col=close, input_col2=EMA(20), direction=above)] AND [close > SMA(100)]; Box 2 condition: [CROSSED(input_col=close, input_col2=EMA(20), 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: 40; Net P&L: 296.218046; Return: 1.184872%; Win rate: 22.5%. No saved robustness results are available for this run.

Shared by pk78 · Published 2026-10-18 · Snapshot 2026-10-18 · Report revision 3

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

What was tested

Market
AAPL.US
Timeframe
60-minute bars
Test window
2025-10-11 – 2026-07-11
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 $296.22, but that could easily be luck: a strategy with no real edge and trades this variable would do this well about 33% of the time, and without its 2 best trades it loses $250.79. Test a longer period before trusting it.

Net P&L
296.22
Return
1.18%
Trades
40
Win rate
22.5%
Profit factor
1.21
Maximum drawdown
-1.92%
Average trade
7.41
Average R
0.07R
Sharpe ratio
0.61
Commission paid
49.11
Chance a no-edge strategy does this well
33.2%
P&L without the 2 best trades
-250.79

Read before trusting the numbers

  • 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&L296.22296.22N/A
Return on starting equity1.18%N/AN/A
Profit factor1.211.21N/A
Average trade (expectancy)7.417.41N/A
Average R per trade0.07R0.07RN/A
Total R2.98R2.98RN/A
Annualized return1.60%N/AN/A
Buy & hold return (same period)26.45%N/AN/A
Trades
Trades40400
Win rate22.50%22.50%N/A
Average win187.06187.06N/A
Average loss-44.75-44.75N/A
Average win / average loss4.184.18N/A
Largest win290.03290.03N/A
Largest loss-166.24-166.24N/A
Most wins in a row22N/A
Most losses in a row88N/A
Average bars in trade6.856.85N/A
Average time in trade1d 6h1d 6hN/A
Average adverse excursion (MAE)49.6849.68N/A
Average favorable excursion (MFE)74.2974.29N/A
Risk
Max drawdown-486.19N/AN/A
Max drawdown %-1.92%N/AN/A
Longest drawdown195d 3hN/AN/A
Sharpe ratio (daily, annualized)0.61N/AN/A
Sortino ratio (daily, annualized)0.66N/AN/A
Calmar ratio0.83N/AN/A
Time in the market20.20%N/AN/A
Costs
Commission paid49.1149.11N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well33%N/AN/A
Net P&L without the 2 best trades-250.79N/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=close, input_col2=EMA(20), direction=above)] AND [close > SMA(100)]

Exit / short entry

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

40 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Long2025-10-23 14:30:002025-10-27 19:55:0024.00259.4300269.0500229.61take_profit
2.0Long2025-11-04 16:30:002025-11-05 15:30:0023.00270.6500268.9900-39.42exit_signal
3.0Long2025-11-05 16:30:002025-11-05 20:30:0023.00270.2900269.6000-17.11exit_signal
4.0Long2025-11-06 14:30:002025-11-07 14:30:0023.00267.9000269.785042.12exit_signal
5.0Long2025-11-07 15:30:002025-11-07 16:30:0023.00271.5800269.5100-48.85exit_signal
6.0Long2025-11-10 15:30:002025-11-10 16:30:0023.00271.8400269.0300-65.87exit_signal
7.0Long2025-11-10 18:30:002025-11-10 19:30:0023.00269.7200269.6200-3.54exit_signal
8.0Long2025-11-11 15:30:002025-11-13 17:30:0022.00274.0800272.8300-28.70exit_signal
9.0Long2025-11-13 19:30:002025-11-13 20:30:0022.00273.5500273.0300-12.64exit_signal
10.0Long2025-11-14 15:30:002025-11-14 20:30:0022.00273.7800272.9600-19.24exit_signal
11.0Long2025-11-19 15:30:002025-11-20 14:30:0023.00271.8601270.9100-23.10exit_signal
12.0Long2025-11-20 15:30:002025-11-20 17:30:0022.00273.9200268.8600-112.51exit_signal
13.0Long2025-11-28 17:30:002025-12-02 15:20:0022.00277.0700285.1700176.96take_profit
14.0Long2025-12-09 19:30:002025-12-09 20:30:0022.00278.6910277.8400-19.95exit_signal
15.0Long2025-12-10 17:30:002025-12-10 18:30:0022.00278.5300278.1100-10.46exit_signal
16.0Long2025-12-10 20:30:002025-12-11 14:40:0022.00279.0000275.5300-77.56stop_loss
17.0Long2025-12-12 18:30:002025-12-12 19:30:0022.00279.0500277.9400-25.65exit_signal
18.0Long2026-01-28 20:30:002026-01-30 14:30:0024.00256.4800252.5300-96.02trailing_stop
19.0Long2026-01-30 16:30:002026-01-30 17:30:0024.00256.7000255.1500-38.43exit_signal
20.0Long2026-01-30 19:30:002026-02-02 20:00:0024.00257.6100268.3700256.98take_profit
21.0Long2026-02-11 15:30:002026-02-11 20:30:0022.00277.1100276.0000-25.64exit_signal
22.0Long2026-02-26 19:30:002026-02-27 15:30:0022.00272.8200268.4601-97.11exit_signal
23.0Long2026-03-27 14:30:002026-03-27 15:30:0024.00254.4700252.6200-45.62exit_signal
24.0Long2026-04-02 15:30:002026-04-07 13:30:0024.00255.1750253.5200-40.94trailing_stop
25.0Long2026-04-08 14:30:002026-04-13 14:30:0024.00258.1500257.3000-21.64exit_signal