← All strategy tests
Historical simulationFuturesDaily barsLong + shortOvernight allowed

CL: EMA crossover, daily (2024-04-04 to 2026-04-03)

Selected from a random mix of saved backtests. Profitability and a favorable verdict were not required. Simulated historical strategy test for CL.FUTUS using daily bars from 2024-04-04 to 2026-04-03. Asset class: futures. 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 and short. Fills at the next bar's open. Opposite signal reverses the position. Starting equity: 25,000. Position size: 1 shares/contracts. Stop loss: 2 ATR. Take profit: 3 R. Trailing stop: 3 ATR. Commission per side: 2.5 per share/contract. Slippage per fill: 1 ticks. Maximum holding period: 100 bars. Risk-setting ATR period: 14. Session: 08:30 to 15:00 (exchange time). Saved results. Trades: 4; Net P&L: 5,460; Return: 21.84%; Win rate: 25%.

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
CL.FUTUS
Timeframe
Daily bars
Test window
2024-04-04 – 2026-04-03
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 4 trades, which is not enough to judge the strategy. Test a longer period.

Net P&L
5,460.00
Return
21.84%
Trades
4
Win rate
25.0%
Profit factor
2.03
Maximum drawdown
-35.36%
Average trade
1,365.00
Average R
0.35R
Sharpe ratio
0.40
Commission paid
20.00
Chance a no-edge strategy does this well
32.3%
P&L without the 2 best trades
-4,750.00

Read before trusting the numbers

  • Only 4 trades. That is too few to tell skill from luck; test a longer period or a faster timeframe.
  • 1 stop exit filled at the open because price gapped past the stop, so it closed beyond the stop price (worst -0.08R).
  • Futures margin is not modelled; equity can go negative if losses exceed the account.

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&L5,460.009,300.00-3,840.00
Return on starting equity21.84%N/AN/A
Profit factor2.037.350.00
Average trade (expectancy)1,365.004,650.00-1,920.00
Average R per trade0.35R1.24R-0.54R
Total R1.39R2.48R-1.09R
Annualized return10.42%N/AN/A
Buy & hold return (same period)30.96%N/AN/A
Trades
Trades422
Win rate25.00%50.00%0.00%
Average win10,765.0010,765.00N/A
Average loss-1,768.33-1,465.00-1,920.00
Average win / average loss6.097.35N/A
Largest win10,765.0010,765.00N/A
Largest loss-3,285.00-1,465.00-3,285.00
Most wins in a row110
Most losses in a row312
Average bars in trade16.0013.5018.50
Average time in trade18d 18h14d 12h23d
Average adverse excursion (MAE)2,927.501,965.003,890.00
Average favorable excursion (MFE)5,445.006,795.004,095.00
Risk
Max drawdown-8,840.00N/AN/A
Max drawdown %-35.36%N/AN/A
Longest drawdown538dN/AN/A
Sharpe ratio (daily, annualized)0.40N/AN/A
Sortino ratio (daily, annualized)0.23N/AN/A
Calmar ratio0.29N/AN/A
Time in the market9.72%N/AN/A
Costs
Commission paid20.0010.0010.00
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well32%N/AN/A
Net P&L without the 2 best trades-4,750.00N/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 and short
Signal mode
Long and short entries
Order fills
Next bar's open
Opposite signal
Reverse position
Starting equity
25,000.00
Position size
1.00 shares / contracts
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
No
Commission per side
2.50 per share / contract
Slippage per fill
1.00 ticks
Session
08:30 – 15: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 2 of 3 periods with sufficient price coverage. 2 requested periods were excluded because price data or indicator warmup is incomplete.

TestTradesNet P&LProfit factorDrawdownFinding
Apr 04, 2024 to Apr 03, 2026
Available data: 2024-04-04 to 2026-04-02, 617 bars.
46,410.002.47-31.56%Too few trades
Apr 05, 2022 to Apr 03, 2024
Available data: 2022-04-05 to 2024-04-03, 590 bars.
4-10,560.000.23-61.26%Too few trades
Apr 05, 2020 to Apr 04, 2022
Available data: 2020-04-05 to 2022-04-04, 617 bars.
33,995.001.87-22.69%Too few trades
Apr 06, 2018 to Apr 04, 2020
Available data: 2018-04-06 to 2020-04-03, 612 bars.
N/AN/AN/AN/AInsufficient indicator warmup: 81 of 420 required bars are available (at least 50% required).
Apr 06, 2016 to Apr 05, 2018
Available data: 2018-01-01 to 2018-04-05, 81 bars.
N/AN/AN/AN/APrice data starts more than 5 calendar days after the requested start date. Price data is missing for selected months: 2016-05, 2016-06, 2016-07, 2016-08, 2016-09, 2016-10, 2016-11, 2016-12, 2017-01, 2017-02, 2017-03, 2017-04, 2017-05, 2017-06, 2017-07, 2017-08, 2017-09, 2017-10, 2017-11, 2017-12. Insufficient indicator warmup: 0 of 420 required bars are available (at least 50% required).

Other symbols

Profitable on 2 of 3 other symbols. The rules hold up on most of them.

TestTradesNet P&LProfit factorDrawdownFinding
Apr 04, 2024 to Apr 03, 2026
Available data: 2024-04-04 to 2026-04-02, 617 bars.
46,410.002.47-31.56%Too few trades
ES.FUTUS
Available data: 2024-04-04 to 2026-04-03, 621 bars.
24,702.501.41N/AToo few trades
NQ.FUTUS
Available data: 2024-04-04 to 2026-04-03, 624 bars.
2101,695.00No lossesN/AToo few trades
GC.FUTUS
Available data: 2024-04-04 to 2026-04-02, 616 bars.
00.00N/AN/ANo trades

Stops and targets

22 of 35 stop/target settings were profitable in your window. Yours ranks 14. 16 were profitable in most of the 3 periods; the steadiest is a 1.5 ATR stop with no target (2 of 3 periods, $32,185.00 in total).

Net P&L in the original test window for each setting.
SettingNo target1R1.5R2R3R4R5R
0.5 ATR-3,950.00-920.00-2,370.00-2,020.00-1,310.00-600.00110.00
1 ATR-7,330.00-5,410.00-4,710.00-4,000.00-7,330.00-7,330.00-7,330.00
1.5 ATR26,230.0013,650.0017,220.005,450.005,450.007,220.009,910.00
2 ATR25,410.0015,200.004,630.004,630.006,410.0010,000.0013,590.00
3 ATR24,120.003,340.003,340.005,110.0010,490.0015,870.0026,340.00

Condition numbers

4 of 5 condition settings were profitable in your window. Yours ranks 3. 4 were profitable in most of the 3 periods; the steadiest uses 75 for 50 (3 of 3 periods, $24,355.00 in total).

Net P&L in the original test window for each setting.
Setting
25-30,260.00
384,710.00
506,410.00
7514,280.00
10018,640.00

Simulated trades

4 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Short2024-06-062024-06-10-1.0074.420077.7000-3285.00stop_loss
2.0Long2024-06-252024-07-161.0081.700080.2400-1465.00trailing_stop
3.0Short2024-08-232024-10-04-1.0073.100073.6500-555.00trailing_stop
4.0Long2026-02-232026-03-031.0066.010076.780010765.00take_profit