FOUNDING ACCESS IS FULL·Founder onboarding is closed.Get launch updates →
← All indicators
FreeIndicators·ThinkorSwim

Candle Counter

Counts consecutive candles for exhaustion reads.

How to install in ThinkorSwim

  1. In ThinkorSwim, open a chart, then go to Studies → Edit Studies.
  2. Click Create, clear the editor, and paste the code.
  3. Name it, click Apply, then OK, and it draws on your chart.

How to Use — WeTradePro Candle Counter

Counts consecutive green/red candles and flags when a long streak finally flips — a simple exhaustion read. Educational, not advice.

What it is (one line)

A streak counter: it tracks how many candles in a row have closed green or red, labels the current run, and prints a bubble when a long run (≥ minStreak) flips color.

Who it's for & best timeframe

Trader typeHow you use itBest timeframeRecommended setting
Day traderSpot intraday exhaustion after 4–6 same-color bars1-min – 5-minminStreak 4
Swing traderBest fit — long daily streaks mark over-extension and likely pausesDailyminStreak 5
Position traderRare weekly streaks (6+ green weeks) flag stretched conditionsWeeklyminStreak 4

Best overall: Daily, `minStreak 5`. Five-plus same-color days is statistically stretched on most liquid names.

What you see (overlay on price)

  • Bubble: prints on the bar that ends a streak of minStreak+ — e.g. "6 green" above a green run that just flipped red.
  • Labels:
  • Current streak — color + count (or "doji").
  • Longest up — the longest green run seen on the chart.
  • Longest down — the longest red run seen.

How to trade it (the core play)

  1. Use it as a context filter, not a standalone signal. A long streak says "stretched," not "reverse now."
  2. After a long green run flips red (bubble prints), tighten stops on longs or look for a mean-reversion short *with* another signal (e.g. RSI band, VScore).
  3. After a long red run flips green, look for a bounce — pair with support or a demand level.
  4. Compare to the "longest" labels — a streak approaching the chart's record is unusually stretched.

Settings (inputs)

  • minStreak (4) — minimum run length before a flip prints a bubble. Higher = only the rarest, most stretched runs.
  • showBubbles (yes) — toggle the flip bubbles.

Best on

  • Any liquid instrument. Most useful on names with clean candle bodies (avoid ultra-choppy, doji-heavy symbols).

Common mistakes

  • Trading the streak alone — "5 green so it must drop" is a coin flip without confluence.
  • Ignoring trend strength — strong trends produce long streaks that keep going; combine with a reversion tool.
  • Forgetting dojis reset the count — a flat bar breaks the streak; that's intentional.
  • Setting `minStreak` too low — bubbles everywhere, no edge.

Video script outline (for your WeTradePro tutorial)

  1. Hook: "Six green days in a row. Now what?"
  2. Show the streak label counting up.
  3. The flip bubble = the run ended.
  4. Why this is a *context* tool, not a trigger.
  5. Pairing it with RSI/VScore for a real reversion entry.
  6. Reading the "longest run" labels for relative stretch.
  7. Recap + "import link in description."

Educational analysis, not financial advice.

← Back to all 103 indicators