DEV Community

Eastkap
Eastkap

Posted on

I Replaced My Morning Routine App With a Stock Chart. Here's What Changed.

I Replaced My Morning Routine App With a Stock Chart. Here's What Changed.

I used to use a habit tracker with a morning routine checklist. Meditate, journal, exercise, cold shower. The works.

I quit it after 3 months. Not because the habits were bad -- because the feedback was.

Every miss felt like a verdict. Streak gone. Start over. The app didn't distinguish between "I skipped once" and "I've basically quit." Binary tracking treats both the same.

So I built something different. Now my morning routine lives inside HabitStock, and each habit has a stock price chart. Here's what changed.

Consistency Beats Intensity -- And Now I Can See It

Old tracker: I exercised 6 days one week, 0 the next. Streak-wise? A disaster. Emotionally? Demotivating.

Stock chart view: that same behavior looks like a volatile asset. High peaks, deep dips. The chart tells me the truth -- this habit isn't stable, it's intensity-based. I'm sprinting, not pacing.

The math behind it:

function calculateHabitPrice(history) {
  const BASE_PRICE = 100;
  const GAIN = 10;
  const LOSS = 18; // 1.8x loss aversion coefficient

  return history.reduce((price, completed) => {
    const delta = completed ? GAIN : -LOSS;
    return Math.max(10, price + delta); // price floor prevents going to zero
  }, BASE_PRICE);
}
Enter fullscreen mode Exit fullscreen mode

That 1.8x asymmetry is from Kahneman-Tversky. Missing a habit costs more than hitting it earns. This is how human psychology actually works -- and streak-based apps ignore it entirely.

Now when I see a flat, upward-trending chart, I know I'm hitting 60-70% consistency. Not 100%, but sustainable. That's the real signal.

What the Chart Reveals About Morning vs Evening Habits

Here's something a streak counter can never show you: when your habits fail.

After 30 days of charting, I noticed:

  • My morning habits (meditate, journal) were climbing steadily -- solid 75% hit rate
  • My evening habits (reading, no-screens) were volatile -- massive swings week to week

The chart made this obvious. The streak counter would have just shown me two broken streaks.

Now I know: I'm a morning person for habits. Evening routines need external triggers or they collapse. I'm building around that instead of fighting it.

The Price Floor Changes Everything

Standard streak logic: miss once = reset to zero. Psychologically, this is brutal.

The price floor in HabitStock means a habit can never go below 10. No matter how bad a week you have, the chart doesn't go to zero. The habit is still alive. It just needs a recovery run.

This is borrowed from circuit breakers in financial markets. Markets don't go to zero in a day -- there are mechanisms that catch the fall.

Your habits shouldn't go to zero either.

After a bad week, I open the app and see a dip -- not a graveyard. That framing difference is enormous for motivation.

The Morning Routine Comparison

Old app (streak-based):

  • Week 1: 7/7 -- 🔥 perfect streak
  • Week 2: 5/7 -- streak broken, shame spiral
  • Week 3: barely opened the app

HabitStock:

  • Week 1: price goes from 100 to 180 -- solid climb
  • Week 2: price drops to 130 -- still above baseline, chart shows recovery opportunity
  • Week 3: I check the chart, see the dip, want to recover it -- I actually open the app

The behavioral difference is real. I've been consistent for 60 days because of the chart, not in spite of it.

The Tool

HabitStock -- free, no login, runs in the browser. Vanilla JS, localStorage only.

Add your habits, log completions, watch the chart. That's it.

If you're building something similar or thinking about behavioral design in habit apps, I'd love to compare notes in the comments.

Top comments (0)