← All strategy tests
Historical simulationStocksDaily barsLong onlyOvernight allowed

ABBV: EMA pullback with trend filter, daily (profile 2) - training

Selected from a random mix of saved backtests. Profitability and a favorable verdict were not required. Simulated historical strategy test for ABBV.US using daily bars from 2022-10-11 to 2025-10-10. 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(200)]; 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: 29; Net P&L: 575.294332; Return: 2.301177%; Win rate: 41.37931%. 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
ABBV.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

Too few trades

Only 29 trades, which is not enough to judge the strategy. Test a longer period.

Net P&L
575.29
Return
2.30%
Trades
29
Win rate
41.4%
Profit factor
1.29
Maximum drawdown
-6.60%
Average trade
19.84
Average R
0.03R
Sharpe ratio
0.27
Commission paid
36.45
Chance a no-edge strategy does this well
34.5%
P&L without the 2 best trades
-995.56

Read before trusting the numbers

  • Only 29 trades. That is too few to tell skill from luck; test a longer period or a faster timeframe.
  • 2 stop exits filled at the open because price gapped past the stop, so they closed beyond the stop price (worst -2.6R).

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&L575.29575.29N/A
Return on starting equity2.30%N/AN/A
Profit factor1.291.29N/A
Average trade (expectancy)19.8419.84N/A
Average R per trade0.03R0.03RN/A
Total R0.81R0.81RN/A
Annualized return0.76%N/AN/A
Buy & hold return (same period)67.00%N/AN/A
Trades
Trades29290
Win rate41.38%41.38%N/A
Average win216.08216.08N/A
Average loss-118.68-118.68N/A
Average win / average loss1.821.82N/A
Largest win790.14790.14N/A
Largest loss-750.66-750.66N/A
Most wins in a row44N/A
Most losses in a row66N/A
Average bars in trade6.726.72N/A
Average time in trade9d 8h9d 8hN/A
Average adverse excursion (MAE)112.75112.75N/A
Average favorable excursion (MFE)195.46195.46N/A
Risk
Max drawdown-1,732.95N/AN/A
Max drawdown %-6.60%N/AN/A
Longest drawdown503dN/AN/A
Sharpe ratio (daily, annualized)0.27N/AN/A
Sortino ratio (daily, annualized)0.16N/AN/A
Calmar ratio0.12N/AN/A
Time in the market25.23%N/AN/A
Costs
Commission paid36.4536.45N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well35%N/AN/A
Net P&L without the 2 best trades-995.56N/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(200)]

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

29 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Long2022-11-082022-12-0942.00148.8400167.4600780.71take_profit
2.0Long2022-12-202022-12-2139.00161.6200161.4400-8.28exit_signal
3.0Long2022-12-222023-01-0339.00161.8800162.03004.59exit_signal
4.0Long2023-01-042023-01-1039.00162.4100162.2200-8.68exit_signal
5.0Long2023-02-132023-02-1742.00152.0300149.1400-122.64exit_signal
6.0Long2023-02-212023-03-0942.00149.8300150.06008.40exit_signal
7.0Long2023-03-142023-04-2742.00151.9600153.860078.52trailing_stop
8.0Long2023-10-192023-10-2043.00148.5600145.2700-142.73exit_signal
9.0Long2024-03-252024-04-0435.00179.0100177.6400-49.20exit_signal
10.0Long2024-04-242024-04-2537.00168.5300167.6500-33.80exit_signal
11.0Long2024-05-162024-05-2238.00163.4600161.5600-73.44exit_signal
12.0Long2024-06-032024-06-0439.00160.0100160.18005.38exit_signal
13.0Long2024-06-052024-07-0339.00162.9100166.0800122.35exit_signal
14.0Long2024-07-102024-07-1638.00167.4600168.590041.66exit_signal
15.0Long2024-07-172024-07-2537.00169.5200184.7600562.57take_profit
16.0Long2024-09-102024-09-1333.00196.1300193.8500-76.53exit_signal
17.0Long2024-09-172024-09-1833.00194.8100193.1200-57.05exit_signal
18.0Long2024-09-302024-10-0733.00194.8600194.4050-16.30exit_signal
19.0Long2024-10-102024-10-1133.00194.5500194.990013.23exit_signal
20.0Long2024-10-152024-10-1633.00194.7400190.4400-143.17exit_signal
21.0Long2024-10-312024-11-1132.00201.9800178.5600-750.66stop_loss
22.0Long2024-11-272024-12-0534.00181.1500174.9700-211.33exit_signal
23.0Long2025-04-012025-04-0229.00210.5300207.2100-97.49exit_signal
24.0Long2025-05-132025-05-1432.00189.0400186.5100-82.16exit_signal
25.0Long2025-07-022025-07-1632.00189.7100186.9100-90.81exit_signal