The lab

Concept, then test

An idea from the books on my shelf, written as a precise rule, then tested on my own data with every cost included. The result goes up whether the idea holds or not.

Next up

Lab #01: The trend-following pullback

Trade only in the direction of the trend, and only after price has come back to a fair level instead of chasing it.

Topic: Trend & setups · Source: Alexander Elder's "value zone", The New Trading for a Living

The queue · ideas from the books on my shelf
No.Idea & where it comes fromTopicStatus
#01The trend-following pullbackAlexander Elder's "value zone", The New Trading for a LivingTrend & setupsNext up
#02The support bounceEdwards & Magee, Technical Analysis of Stock TrendsPrice structureQueued
#03Breakouts on above-average volumeWilliam O'Neil, How to Make Money in Stocks, and Mark MinerviniVolumeQueued
#04What the 2% rule does to a losing streakAlexander Elder; Van K. Tharp on position sizingRiskQueued
#05Renko trend on NIFTY futuresPrashant Shah, Profitable Trading with Renko ChartsChartsQueued

How every test is run

  1. The rule is written before the test. Every condition is precise enough for a computer to follow.
  2. The data is split. The rule is built on the first 70% of the data, then run unchanged on the last 30%, which it has never seen.
  3. Every cost is charged. Brokerage, STT, exchange charges, GST and slippage.
  4. Small samples are called small. Fewer than 100 trades means the result is weak, and the entry says so.
  5. The drawdown sits next to the result. Never below it, never left out.
  6. No re-tuning after the test. If the rule fails on the data it has never seen, it failed, and it goes up as a failure.

Seedha baat: a test tells you whether an idea held up in the past. It promises nothing about the future.