← All strategy tests
Historical simulationStocks30m barsLong onlyIntraday

HD: EMA pullback with trend filter, 30m (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 HD.US using 30-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. Close positions at session end. Risk-setting ATR period: 14. Session: 09:30 to 16:00 (exchange time). Saved results. Trades: 40; Net P&L: 768.545975; Return: 3.074184%; Win rate: 62.5%. 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
HD.US
Timeframe
30-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

Promising

Profitable with a profit factor of 1.2 or more. A strategy with no real edge would do this well about 1% of the time. Check it on other periods before trusting it.

Net P&L
768.55
Return
3.07%
Trades
40
Win rate
62.5%
Profit factor
2.71
Maximum drawdown
-0.82%
Average trade
19.21
Average R
0.23R
Sharpe ratio
2.72
Commission paid
49.29
Chance a no-edge strategy does this well
1.2%
P&L without the 2 best trades
517.54

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&L768.55768.55N/A
Return on starting equity3.07%N/AN/A
Profit factor2.712.71N/A
Average trade (expectancy)19.2119.21N/A
Average R per trade0.23R0.23RN/A
Total R9.08R9.08RN/A
Annualized return4.18%N/AN/A
Buy & hold return (same period)-9.39%N/AN/A
Trades
Trades40400
Win rate62.50%62.50%N/A
Average win48.6948.69N/A
Average loss-29.92-29.92N/A
Average win / average loss1.631.63N/A
Largest win147.67147.67N/A
Largest loss-113.56-113.56N/A
Most wins in a row66N/A
Most losses in a row44N/A
Average bars in trade7.607.60N/A
Average time in trade3h 48m3h 48mN/A
Average adverse excursion (MAE)21.8621.86N/A
Average favorable excursion (MFE)49.3549.35N/A
Risk
Max drawdown-209.19N/AN/A
Max drawdown %-0.82%N/AN/A
Longest drawdown66d 23hN/AN/A
Sharpe ratio (daily, annualized)2.72N/AN/A
Sortino ratio (daily, annualized)2.07N/AN/A
Calmar ratio5.08N/AN/A
Time in the market11.42%N/AN/A
Costs
Commission paid49.2949.29N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well1%N/AN/A
Net P&L without the 2 best trades517.54N/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
Yes
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-16 19:00:002025-10-16 20:00:0016.00387.2500387.47002.28session_end
2.0Long2025-10-20 14:30:002025-10-20 15:00:0015.00391.3800389.8050-24.80exit_signal
3.0Long2025-10-21 14:00:002025-10-21 19:30:0016.00389.9250391.170018.67exit_signal
4.0Long2025-10-22 14:30:002025-10-22 17:30:0015.00392.4200391.1650-20.00exit_signal
5.0Long2025-12-03 15:00:002025-12-03 21:00:0017.00356.9750358.000016.21session_end
6.0Long2025-12-12 18:30:002025-12-12 21:00:0017.00357.9800359.620026.66session_end
7.0Long2025-12-15 19:30:002025-12-15 21:00:0017.00357.5900356.9800-11.58session_end
8.0Long2025-12-17 15:30:002025-12-17 21:00:0017.00354.9800356.750028.88session_end
9.0Long2026-01-05 17:00:002026-01-05 18:30:0018.00346.5999344.9200-31.48exit_signal
10.0Long2026-01-06 16:30:002026-01-06 21:00:0018.00346.5113349.280048.58session_end
11.0Long2026-01-07 20:00:002026-01-07 21:00:0017.00351.3000349.1100-38.42session_end
12.0Long2026-01-08 15:00:002026-01-08 21:00:0017.00353.3500359.5000103.34session_end
13.0Long2026-01-13 16:00:002026-01-13 21:00:0016.00373.4600379.7950100.15session_end
14.0Long2026-01-15 15:00:002026-01-15 21:00:0016.00376.7600379.170037.35session_end
15.0Long2026-01-21 15:30:002026-01-21 21:00:0016.00378.7450384.610092.62session_end
16.0Long2026-01-23 17:00:002026-01-23 21:00:0016.00382.3550383.760021.25session_end
17.0Long2026-01-26 15:30:002026-01-26 21:00:0016.00385.5300386.460013.64session_end
18.0Long2026-02-05 19:30:002026-02-05 20:30:0016.00384.0900383.7200-7.15exit_signal
19.0Long2026-02-06 15:00:002026-02-06 21:00:0016.00384.7600385.22006.13session_end
20.0Long2026-02-10 15:00:002026-02-10 21:00:0016.00386.9600389.540040.04session_end
21.0Long2026-02-11 17:00:002026-02-11 21:00:0016.00390.0400390.51006.27session_end
22.0Long2026-02-12 19:30:002026-02-12 21:00:0016.00390.8700389.8900-16.93session_end
23.0Long2026-02-13 16:00:002026-02-13 20:00:0016.00390.8800391.23014.35exit_signal
24.0Long2026-02-24 15:00:002026-02-24 19:30:0016.00389.6000382.5800-113.56exit_signal
25.0Long2026-02-24 20:00:002026-02-24 21:00:0016.00385.5400384.6200-15.95session_end

The equity chart displays 2000 sampled points from 2417 saved points. The performance summary uses the full run.