KOSPI Killzone Trader
I don't stare at charts all day. The bot does, and it yells when it's my turn.
The Problem
My trading style is mechanical: the trend has to line up on the daily and weekly charts, then I wait for the pullback to the 9 EMA on the intraday chart. Which means staring at charts all day, waiting.
So I converted my style into code. Now it watches the KOSPI for me and only pings when a stock is in my killzone.
What It Does
- Only looks at stocks whose last completed daily and weekly closes sit above the 9 EMA.
- WATCH ping when a stock holds above the 9 EMA on the 5 or 10 minute chart.
- ENTRY ping when price pulls back into the 9 EMA zone. If it closes too far below, the setup resets.
- Sizes the position from ATR and rounds it to real KRX tick sizes.
- Checks fundamentals from OpenDART, Korea's official disclosure system.
Side Quest
Field Notes
How it is wired
- Worker: a background process polls Korean market data during market hours, keeps the daily, weekly and intraday bars up to date, runs the strategy and writes alerts.
- Dashboard: a Next.js app picks alerts up live through Postgres
LISTEN/NOTIFY. Candidate table, charts, an alert feed (with sound, because I will miss it otherwise) and position cards. - Fundamentals: pulls company data from OpenDART and grades every stock into tiers, from predictable to “erratic / avoid”, so the scanner isn’t pinging me about junk.
My rules, as knobs
Risk per trade, stop distance in ATRs, which timeframes to watch, how many closes above the 9 EMA before a WATCH ping, how close a pullback has to get, and which stocks are even worth scanning. Change a number, the whole scanner follows.

The code is private. It’s my trading, after all.
Live Example
Stocks scanned
2,754
KOSPI + KOSDAQ. 634 had daily + weekly confluence.
Pings
WATCH → ENTRY
Heads up first, then "now".
Charts I stare at
0
The worker does the staring.