← All strategy tests
Historical simulationStocksDaily barsLong onlyOvernight allowed

META: SMA crossover, daily (profile 1) - training

Selected from a random mix of saved backtests. Profitability and a favorable verdict were not required. Simulated historical strategy test for META.US using daily bars from 2022-10-10 to 2025-10-09. Asset class: stocks. Indicators and functions used: CROSSED, SMA; Box 1 condition: [CROSSED(input_col=SMA(20), input_col2=SMA(50), direction=above)]; Box 2 condition: [CROSSED(input_col=SMA(20), input_col2=SMA(50), 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 ATR. Take profit: 3 R. Trailing stop: 3 ATR. Commission per side: 0.01 %. Slippage per fill: 0.01 points. Maximum holding period: 100 bars. Risk-setting ATR period: 14. Session: 09:30 to 16:00 (exchange time). Saved results. Trades: 6; Net P&L: 1,828.1537; Return: 7.312615%; Win rate: 50%. 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
META.US
Timeframe
Daily bars
Test window
2022-10-10 – 2025-10-09
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 6 trades, which is not enough to judge the strategy. Test a longer period.

Net P&L
1,828.15
Return
7.31%
Trades
6
Win rate
50.0%
Profit factor
3.84
Maximum drawdown
-4.28%
Average trade
304.69
Average R
0.46R
Sharpe ratio
0.84
Commission paid
7.81
Chance a no-edge strategy does this well
18.9%
P&L without the 2 best trades
-602.64

Read before trusting the numbers

  • Only 6 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 -0.69R).

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&L1,828.151,828.15N/A
Return on starting equity7.31%N/AN/A
Profit factor3.843.84N/A
Average trade (expectancy)304.69304.69N/A
Average R per trade0.46R0.46RN/A
Total R2.74R2.74RN/A
Annualized return2.38%N/AN/A
Buy & hold return (same period)449.24%N/AN/A
Trades
Trades660
Win rate50.00%50.00%N/A
Average win824.27824.27N/A
Average loss-214.88-214.88N/A
Average win / average loss3.843.84N/A
Largest win1,709.331,709.33N/A
Largest loss-382.85-382.85N/A
Most wins in a row22N/A
Most losses in a row33N/A
Average bars in trade19.8319.83N/A
Average time in trade28d 8h28d 8hN/A
Average adverse excursion (MAE)150.49150.49N/A
Average favorable excursion (MFE)726.42726.42N/A
Risk
Max drawdown-1,166.18N/AN/A
Max drawdown %-4.28%N/AN/A
Longest drawdown729dN/AN/A
Sharpe ratio (daily, annualized)0.84N/AN/A
Sortino ratio (daily, annualized)0.65N/AN/A
Calmar ratio0.56N/AN/A
Time in the market15.01%N/AN/A
Costs
Commission paid7.817.81N/A
Same-bar exits assumed stop-first0N/AN/A
Luck check
Chance a no-edge strategy does this well19%N/AN/A
Net P&L without the 2 best trades-602.64N/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=SMA(20), input_col2=SMA(50), direction=above)]

Exit / short entry

[CROSSED(input_col=SMA(20), input_col2=SMA(50), 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.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
0.01 %
Slippage per fill
0.01 points
Session
09:30 – 16:00 (exchange time)

Simulated trades

6 trades in this snapshot. All times are UTC.

#SideEntryExitSizeEntry priceExit priceNet P&LExit reason
1.0Long2022-12-202023-01-2454.00113.2700144.95001709.33take_profit
2.0Long2023-10-022023-10-2522.00302.7500304.720042.00trailing_stop
3.0Long2024-06-142024-07-1213.00502.6600497.7450-65.20trailing_stop
4.0Long2024-08-232024-09-0412.00536.9300505.1300-382.85stop_loss
5.0Long2024-12-062024-12-2010.00610.1100590.5700-196.60trailing_stop
6.0Long2025-05-192025-07-1610.00628.2600700.5400721.47trailing_stop