A study of randomness, the charts it creates, and what traders can do about it

Every chart here is
created by coin flips.

Trends, ranges, breakouts, double tops. Flip a fair coin 1,000 times and it draws all of them. See for yourself, then decide what holds up next to the coin.

Randomness can create price action. That doesn't mean price action is random. But what looks like price action can sometimes be just random.

So don't trust a pattern because it looks like one. Test it against the coin, find where the market isn't random, and only play there.

Understand randomness. Improve your odds.
The lab

Make your own chart.

The rule. Each flip moves the chart one step forward in time. Heads moves price up one unit, tails moves it down one unit. Candles group the flips into their open, high, low and close.

Press Flip for 1,000 new coin flips. Press Watch it flip to see every flip land and become the chart. Hover any candle to see the flips inside it.

COIN1,000 flips · fair coin
1,000.00

The coin

50.0%

Intervention

400
150 flips
35.0%

Indicators

Drawn on the candles' closes. They look just as convincing on coin flips.

Proof

Build it yourself.

Don't take our word for it. Open a blank spreadsheet, follow these steps, and make your own coin-flip chart. Press F9 and you get a brand new one.

B3=IF(RAND()<0.5,1,-1)
AFlipBCoinCPrice
201000
3111001
4211002
53-11001
6411002
75-11001
86-11000
97-1999
⋮⋮⋮⋮
  1. Headers and a start. In row 1 type Flip, Coin, Price. In row 2 put 0 in A2 and 1000 in C2. That's flip 0 and the starting price.
  2. Flip the coin. In B3 type =IF(RAND()<0.5,1,-1). Heads is +1, tails is -1.
  3. Move the price. In A3 type =A2+1 and in C3 type =C2+B3. Each flip moves one step forward in time and one unit up or down.
  4. 1,000 flips. Select A3:C3 and fill down to row 1002.
  5. Candles. In E2 to E101 number the candles 1 to 100. Every 10 flips is one candle. In F2, G2, H2 and I2:
    Open =INDEX($C$2:$C$1002,(E2-1)*10+1)
    High =MAX(INDEX($C$2:$C$1002,(E2-1)*10+1):INDEX($C$2:$C$1002,E2*10+1))
    Low =MIN(INDEX($C$2:$C$1002,(E2-1)*10+1):INDEX($C$2:$C$1002,E2*10+1))
    Close =INDEX($C$2:$C$1002,E2*10+1)
    Fill F2:I2 down to row 101.
  6. Chart it. Select E1:I101 and insert a stock chart, the Open-High-Low-Close type. Give E1 to I1 the headers Candle, Open, High, Low, Close first.
  7. Flip again. Press F9. New flips, new chart, every time.
Same flips, three ways

The data never changes. Only the packaging does.

One set of 1,000 flips, shown three ways. Nobody sees a trade in the dots. Add them up and trends appear. Group them into candles and it looks like a chart people pay to have analyzed.

1 · The flipsHeads up, tails down. Plainly random.
2 · Added upThe same flips as a running total.
3 · As candlesThe same line, 10 flips per candle.

Flip ID · new flips

How it works

The whole engine is a few lines.

Nothing is pulled from market data. Every chart comes from this code, run in your browser, the moment you press Flip. One flip is one step forward in time. Heads up one unit, tails down one unit. Each candle is its flips' open, high, low and close.

// one Flip ID seeds the random numbers, so any chart can be rebuilt
const rand = seeded(flipId)
let price = 1000
for (let i = 0; i < 1000; i++) {
  const heads = rand() < 0.50   // the coin
  price += heads ? +1 : -1          // heads up, tails down
  path.push(price)
}
// every 10 flips -> one candle
candle = { open, high: max(10 flips), low: min(10 flips), close }
Same Flip ID, same chartEach chart has a nine digit Flip ID. Put it in the link and anyone gets the identical chart. Old market data can't do that.
Watch every flip landPress Watch it flip and the chart builds one coin at a time, in front of you.
Every candle traces back to coinsHover a candle to see its 10 flips, like H T T H H H T H T H, +2.
Read

Studies in randomness.

Short pieces on what randomness can create, and on what holds up when you compare it fairly against the coin. Coming as the site grows.

ComingThe coin liesA fair coin finished 52% heads and climbed 46 points. It looked like an edge. It was luck.
ComingDraw your levelsGaps, order blocks, key levels and moving averages, drawn on pure coin flips. How often do they show up?
ComingChaos is not randomnessEven a flipped coin is not truly random. It lands on the side it started on about 51% of the time.
ComingReal or shuffled?A real market next to its own returns, shuffled. Your eye can't tell. One statistic can.
ComingThe next trade is a coin flipSingle outcomes are random. Edges only show up over many. What that means in practice.
ComingFibonacci: real, imagined, tradedSunflowers, seashells and retracements, sorted honestly into three buckets.

A study of randomness and the things it can create. The book, Pursuing Randomness: What 1,000 Coin Flips Taught Me About Trading, is in the works.

Follow

One new coin flip chart every day on X at @PursuingRandom (coming soon).

Support

Keep the coin flipping: a Bitcoin tip jar and partner links are coming. Education only, not financial advice.