Stocks course · Section 6: Pro
Capstone: Build and Test Your Complete Stock Trading or Investing Plan
Put the course together: write a complete stock plan with allocation, rules, sizing and risk limits, test it with fixed pass/fail checks and go live in stages.
Pro6 min read·7:02 video·Lesson 26 of 26·quiz: 4 questions
▶ Video lesson · 7:02Watch on YouTube ↗
On this page +
A complete stock plan is a written document that covers your goal and limits, your allocation, the exact rules for what you buy and sell, how you size positions, your risk limits, your cost and tax assumptions, how you tested it, your daily and weekly routine, your journal and the conditions for stopping. In this capstone you build one step by step, using a worked example, then test it the way this course has taught and set clear conditions for going live, scaling up or stopping. The example shows the structure; it is not a strategy to copy or a recommendation.
Step 1: goal and limits
Write five lines:
- Goal and horizon: for example, "grow savings over 15+ years and learn one tested trading strategy".
- Capital: the amount, and confirmation that an emergency fund is kept separately.
- Time: how many hours a week, and when (US hours are late evening and night in Pakistan; see how the stock market works).
- Maximum drawdown you can live with, for the trading part and for the whole portfolio.
- Access: your broker, and confirmation that you have checked the current rules in your country for holding and funding it (see how to buy US stocks).
Step 2: allocation
Example
A $12,000 portfolio: core 70% ($8,400) in a low-cost S&P 500 index fund, plus $200 added every month; satellite 25% ($3,000) in one trend strategy; cash 5% ($600). Rebalancing: check every quarter, trade only if a part is more than 5 percentage points from target, and use the monthly $200 first (see rules-based portfolio and rebalancing).
Step 3: strategy rules for the satellite
Example
- Universe: the 100 largest NYSE and Nasdaq companies (see the stocks market page).
- Entry: the 50-day average closes above the 200-day (golden cross); buy at the next open.
- Ranking: if more signals than free slots, take the highest 6-month return.
- Exit: death cross, or a close below a trailing stop 3 x ATR(14) under the highest close.
- Slots: 5, each a maximum of $600, fractional shares allowed.
- Earnings: hold through earnings; the slot cap limits gap damage.
Step 4: sizing and risk limits
- Risk per trade: 0.5% of the whole portfolio ($60).
- Position cap: one slot, $600.
- Shares = the smaller of (risk / stop distance) and (cap / price).
Example
A signal fires on a $250 stock with ATR of $6, so the initial stop is 3 x $6 = $18 below entry. The risk limit allows $60 / $18 = 3.33 shares ($833), but the cap allows $600 / $250 = 2.4 shares. You buy 2.4 shares for $600, risking about 2.4 x $18 = $43, or 0.36% of the portfolio.
Portfolio-level limits: total open risk at most 2.5% (five slots at 0.5%), no leverage, and a streak protocol: after a 15% satellite drawdown, halve the slot size until half the loss is recovered (see trading psychology and journaling).
The honest drawdown sum:
Example
In a severe bear market the index could fall 50% and the satellite 30%. Losses: $4,200 on the core and $900 on the satellite, $5,100 in total, or 42.5% of $12,000. The trading rules are not the main risk; the core is. This investor accepts it because of the 15-year horizon and a separate emergency fund. If you cannot accept a fall like this, hold less in stocks overall.
Step 5: costs and taxes
Write down your assumptions: commission, spread and slippage per side, currency conversion on deposits, US dividend withholding at your expected rate, and how your country taxes gains (see stock taxes and record keeping). Use the costs in your test.
Step 6: test it
Before running anything, write the pass/fail checks and date them.
Example checks: at least 100 trades; average trade positive after costs; profit factor above 1.2 in both halves of the period; profitable in at least 60% of calendar years; a better risk-adjusted result than an equal-weight basket of the same stocks; and a Monte Carlo bad-case (95th percentile) satellite drawdown below 35%.
Then test as in backtesting stock strategies: adjusted prices, next-open fills, costs on every trade, and both benchmarks. Run the Monte Carlo reshuffle from drawdowns and risk of ruin. Compare your approach and results with the DanioX stocks backtest, which tests six published rules on the same kind of universe, and read the methodology.
If the strategy fails the checks, do not trade it. Put the satellite money into the core and keep researching. Do not tune settings until it passes; that is overfitting. A failed test that stops you trading a weak strategy has saved you money.
Step 7: your routine
Example routine (Pakistan time):
- Each trading day, early evening (before 18:30 in US summer, 19:30 in winter): check signals from the last New York close, place entry orders for the open, update trailing stops.
- Sunday: weekly journal review, about 30 minutes.
- Month-end: statistics in R, rule-following rate, the monthly $200 deposit.
- Quarter-end: rebalancing band check.
- Year-end: tax records, statements downloaded, W-8BEN expiry checked, full plan review.
Step 8: the journal
Use one spreadsheet for trades, dividends and tax data, with the journal columns from the psychology lesson: setup, reason, entry, stop, size, R at risk, exit reason, result in R, rules followed, lesson.
Step 9: go live in stages
| Stage | What | Move on when |
|---|---|---|
| 1. Paper | Follow every signal on paper for about 2-3 months | You executed every signal exactly as written |
| 2. Half size | Real money, slots at $300 | 30 live trades; results within the range of the test; rules followed on at least 90% of trades |
| 3. Full size | Slots at $600 | Ongoing monthly reviews stay inside the limits |
Step 10: kill-switch and change control
- If the satellite drawdown passes the Monte Carlo bad case (35% in the example), stop new entries and review.
- If live trades stop resembling test trades, stop and find out why.
- Any rule change is written down, dated, re-tested on data and only then applied. Never change rules during a drawdown because of the drawdown.
Your plan template
- Goal, horizon, capital, time, maximum drawdown, access.
- Allocation and rebalancing rule.
- Universe, entry, ranking, exit, slots, earnings rule.
- Risk per trade, position cap, total open risk, leverage, streak protocol.
- Cost and tax assumptions.
- Pass/fail checks (dated) and test results, including Monte Carlo.
- Routine.
- Journal format.
- Go-live stages.
- Kill-switch and change log.
Risk
Even a well-built, well-tested plan can lose money. Markets change, and past results do not guarantee future ones. The purpose of the plan is not to remove risk but to make sure every risk you take is chosen, sized and survivable.
Tip
Fill in the ten-point template this week, even roughly. A rough written plan beats a perfect plan in your head. Then revisit the lessons where you got stuck: position sizing, backtesting and drawdowns are the usual ones.
You have finished the course. Keep learning with the DanioX stocks section, the learning guides and the other Academy courses, and remember the benchmark that never goes away: if your rules cannot beat a low-cost index fund after costs and with acceptable risk, owning the index is a perfectly good plan.
Key takeaways
- A complete plan covers goals, allocation, rules, sizing, risk limits, costs, tests, routine, journal and kill-switch.
- Size each position by the smaller of your risk limit and your position cap.
- Your total drawdown includes the core: an index fund can fall 50% in a severe bear market.
- Fix pass/fail checks before testing; if the strategy fails, put that money in the core instead.
- Go live in stages: paper, half size, then full size, each with clear conditions.
Quiz: check what you learned
0/4 answeredAnswer every question to finish the lesson. Wrong answers are fine: read the explanation and try again.
⚠ Not financial advice — educational signals only. Read the disclaimer.