Young's Xiaohongshu QR codeOpen on Xiaohongshu →Skip to content
Young · PA Research
Go back

Bar Close Alarm: No More Drifting Off While Waiting for a Setup

Contents
  1. How to use it
  2. Settings
  3. A few details
  4. Definition and how to reproduce it

What it does: it beeps 1 minute before each bar closes, to remind me to get back to the chart and watch how the bar closes.

How I use it: click “Start alarms” and go do something else. When I know the next few bars won’t give me a trade, I hit “Skip next bar” or “Mute 15 min”.

My biggest problem as a trader is drifting off while waiting for a setup: when the wait gets long, I start looking at my phone or something else, and by the time I snap back, the signal bar has already closed.

So I needed an alarm that goes off right before each 5-minute bar closes. For example, bar 1 is 09:30–09:35, so it rings at 09:34; bar 2 at 09:39, bar 3 at 09:44, and so on.

US Eastern time

--:--:--

Paused: nothing rings until you click Start (browsers need a click before they can play sound)

Today's barsClick a bar to turn it on or off; the current session opens automatically

Times are US Eastern, with daylight saving handled automatically. Alarms only ring during RTH on weekdays; exchange holidays are not skipped automatically. Keep this page open (a background tab is fine) and don't let the computer sleep. Settings and skipped bars are stored only in this browser. Shortcuts: N skips the next bar, R restores all.

How to use it

  1. Click “Start alarms”: browsers only allow sound after you’ve clicked on the page. Nothing will ring before you click.
  2. Keep the page open: you can switch to another tab or app, but don’t close this page, and don’t let the computer go to sleep.
  3. When you know the next bars won’t give you a trade:
    • “Skip next bar” (or press N on the keyboard) skips only the next alarm;
    • “Skip next 2” and “Skip next 3” work the same way;
    • “Mute 15 min / 30 min” is handy for the slow midday stretch;
    • the list is grouped into morning, midday, afternoon and the last bars, and the current session opens automatically; click any bar to turn it off on its own, for example if you only want an alarm before bar 18 closes.
  4. If you change something by mistake: hit “Restore all” (or press R).

Settings

Click the gear in the top-right corner of the tool to open the settings:

A few details

Definition and how to reproduce it

Bar close alarm

  • Time: US Eastern (America/New_York), converted with the browser’s built-in Intl, so daylight saving time is handled automatically.
  • Bars: counted from the RTH open. Bar 1 is 09:30–09:35, bar 2 is 09:35–09:40, and so on up to the RTH close (16:15 by default): 81 bars a day on the 5-minute chart.
  • Alarm time: bar close − lead time. The default is 1 minute before the close, so bar 1 rings at 09:34.
  • Trading days: Monday to Friday; exchange holidays aren’t skipped.
  • Sound: two short beeps (880 Hz and 1175 Hz), scheduled ahead of time on the browser’s audio clock so they ring on time even in a background tab.
  • Skipping: only the bars you pick are skipped; muting for 15 / 30 minutes silences every alarm in that window.
  • Prompt and code: a simplified version that keeps only the timed alarm and “Skip next bar”. Save it as an .html file and open it in a browser. The grouped list, muting and system notifications are left out.

Share this post:

Previous Post
Day-of-Week Effect: Mondays Have the Smallest Range, Thursdays the Largest, and Fridays Close Up Most Often
Next Post
Two Bull Hours at the Open: The Day Closes Up 84.5% of the Time, but Buying Then Pays Off Only 56%