Double Bottom (forming) — NIFTY 5m — Chrome Alert

Default is Yahoo's NIFTY index: ^NSEI (encoded as %5ENSEI).
Max allowed difference between the two bottoms
Status: stopped
Notes: This tool detects a *forming* Double Bottom: two troughs with a peak (neckline) between them and a bounce after the second trough, but BEFORE a confirmed neckline breakout (unless you choose breakout required). It uses Yahoo Finance's public chart endpoint. If data fetch fails due to CORS when opening the file directly, run a local server (instructions below) or open via a web host. See the usage notes at the end of this page.
How to run (easy):
  1. Save this file as double_bottom_alert.html.
  2. Open it in Chrome. If notifications are allowed, the page will ask permission — allow it.
  3. Click Start. Leave the tab open (it can be in background). When pattern forms you'll get a desktop popup + beep.
If live data fetch fails due to CORS (common when opening file locally):
  1. Run a tiny local server (one-time). If you have Python installed, open a terminal in the file folder and run: python -m http.server 8000 then open http://localhost:8000/double_bottom_alert.html in Chrome.
  2. Or upload the file to any static host (Netlify, gist + rawgit-like service) and open the hosted URL.
Change parameters (tolerance, bounce) if you want the detector to be stricter/looser.