Skip to content
Menu

Backtest a strategy on real prices

Pick indicators, overlays or candlestick patterns; every signal buys or shorts $10,000 of the stock, and you get the trades, wins and losses and the account value over the range. Your backtests are the ones you keep in the Stock Master app.

  • Indicators, overlays and candlestick patterns
  • Every trade, win and loss
  • Account value over the range

Sample: Sample Backtesting on AAPL

MACD, RSI and Parabolic SAR signals, long only, over the last year. Change the range or action to re-run it here.

Gain
-315.18
$10,000 per signal
Gain / max cost
-1.57%
Trades
5
0 won · 5 lost
Win rate
0%
of closed trades
Signals in range
7
23 bars

Transactions chart

Buy and cover markers below the bar, sell and short markers above

340.0350.0-2000Account valueOct 26Oct 26Nov 26Nov 26Nov 26Nov 26

Results

Trades, wins and losses for the long side, the short side and both together

Backtest results by side
StatisticLongShortTotal
Trades505
Wins000
Losses505
P&L-315.180.00-315.18
P&L average-63.040.00-63.04
Total wins0.000.000.00
Total losses315.180.00315.18
Average win0.000.000.00
Average loss63.040.0063.04
Max wins0.000.000.00
Max losses315.180.00315.18

Market Value / Cost

The account over the range: what the open positions were worth against what they cost.

History & allocation

Latest quote values

Market value
0.00
Account value
-315.18
Cash
-315.18
Cost basis
0.00
Unrealized gain
0.00
Realized gain
-315.18
0.0010,000.0020,000.00Oct 22, 2026Oct 27, 2026Oct 31, 2026Nov 5, 2026Nov 10, 2026Nov 14, 2026Nov 19, 2026

Allocation

No allocation to display.

Transactions

5 trades, oldest first

Backtest transactions
DateActionSignalSharesPriceRealized gainPosition afterAvg price
Oct 22, 2026BuyCross Up MACD (26, 12) - Buy Signal28.72348.22—28.72348.22
Oct 28, 2026SellCross Down MACD (26, 12) - Sell Signal28.72343.83-126.07——
Nov 4, 2026BuyCross Up PSAR (0.02, 0.2) - Buy Signal28.61349.51—28.61349.51
Nov 11, 2026BuyCross Up MACD (26, 12) - Buy Signal28.12355.63—56.73352.54
Nov 19, 2026SellCross Down MACD (26, 12) - Sell Signal56.73349.21-189.11——

The three sample backtests every account starts with

  • Sample Backtesting

    AAPL
    Sample Backtesting
  • Candlestick Patterns

    AAPL
    Candlestick Patterns
  • Doji Star Pattern

    AAPL
    Doji Star Pattern