← All strategy tests
Historical simulationStocksDaily barsLong onlyOvernight allowed

JNJ: EMA crossover, 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 JNJ.US using daily bars from 2022-10-11 to 2025-10-10. Asset class: stocks. Indicators and functions used: CROSSED, EMA; Box 1 condition: [CROSSED(input_col=EMA(50), input_col2=EMA(200), direction=above)]; Box 2 condition: [CROSSED(input_col=EMA(50), input_col2=EMA(200), 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: 5; Net P&L: -107.873711; Return: -0.431495%; Win rate: 40%. 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
JNJ.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 5 trades, which is not enough to judge the strategy. Test a longer period.

Net P&L
-107.87
Return
-0.43%
Trades
5
Win rate
40.0%
Profit factor
0.83
Maximum drawdown
-2.88%
Average trade
-21.57
Average R
-0.10R
Sharpe ratio
-0.10
Commission paid
6.08
Chance a no-edge strategy does this well
55.2%
P&L without the 2 best trades
-631.42

Read before trusting the numbers

  • Only 5 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&L-107.87-107.87N/A
Return on starting equity-0.43%N/AN/A
Profit factor0.830.83N/A
Average trade (expectancy)-21.57-21.57N/A
Average R per trade-0.10R-0.10RN/A
Total R-0.52R-0.52RN/A
Annualized return-0.14%N/AN/A
Buy & hold return (same period)18.92%N/AN/A
Trades
Trades550
Win rate40.00%40.00%N/A
Average win261.77261.77N/A
Average loss-210.47-210.47N/A
Average win / average loss1.241.24N/A
Largest win515.26515.26N/A
Largest loss-244.91-244.91N/A
Most wins in a row11N/A
Most losses in a row22N/A
Average bars in trade22.2022.20N/A
Average time in trade30d 4h30d 4hN/A
Average adverse excursion (MAE)140.33140.33N/A
Average favorable excursion (MFE)262.84262.84N/A
Risk
Max drawdown-723.23N/AN/A
Max drawdown %-2.88%N/AN/A
Longest drawdown1008dN/AN/A
Sharpe ratio (daily, annualized)-0.10N/AN/A
Sortino ratio (daily, annualized)-0.05N/AN/A
Calmar ratio-0.05N/AN/A
Time in the market14.08%N/AN/A
Costs
Commission paid6.086.08N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well55%N/AN/A
Net P&L without the 2 best trades-631.42N/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=EMA(50), input_col2=EMA(200), direction=above)]

Exit / short entry

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

5 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Long2022-11-252023-01-1135.00177.3900172.3200-178.67trailing_stop
2.0Long2023-08-072023-08-2336.00169.5000163.7600-207.84trailing_stop
3.0Long2024-08-162024-10-0438.00159.1500159.40008.29trailing_stop
4.0Long2025-03-042025-03-1436.00168.0900161.3200-244.91stop_loss
5.0Long2025-07-212025-08-1937.00163.7800177.7400515.26take_profit