How to block TradingView on Chrome

Sameed Ahmad
By Sameed Ahmad, who builds Focus AI (so read the Focus AI parts with that in mind).
Updated December 2026

To block TradingView on Chrome, add tradingview.com to a Chrome website blocker extension or map tradingview.com and www.tradingview.com to 127.0.0.1 and ::1 in your Mac or Windows hosts file. Even when you do not execute a trade, keeping a 1-minute or 5-minute candlestick chart open on a second monitor steals constant visual attention and injects market stress straight into engineering, writing, or client work. Open chrome://extensions and turn on Allow in Incognito because TradingView charts load publicly without signing in. If you legitimately review weekly charts after market close, run Focus AI timed focus sessions during business hours so tradingview.com stays locked while you work and opens cleanly afterward. Focus AI is free for 3 AI focus sessions and up to 3 always-blocked sites.

Option 1: Block TradingView on Chrome with Focus AI (context-aware + Passcode Lock)

Focus AI gives you two ways to block TradingView in Chrome, Edge, Brave, and Firefox: put it in the Always-On Site Blocker (up to 3 sites free, unlimited on Pro) for a permanent lock, or run a context-aware AI focus session that blocks distractions while allowing task-relevant pages. On Pro, you can lock your settings behind a Friend/Parent Passcode Lock so you cannot switch the block off on impulse.

  1. Install Focus AI from the Chrome Web Store (free for 3 AI focus sessions and up to 3 always-blocked sites, no account needed).
  2. Open chrome://extensions, click Details on Focus AI, and turn on Allow in Incognito so private windows cannot bypass the block.
  3. Add tradingview.com to your Always-On Site Blocker, or type your active task and click Lock me in.

Option 2: Block TradingView manually via the Mac or Windows hosts file (free)

Add 127.0.0.1 and ::1 entries for tradingview.com and www.tradingview.com to your hosts file. Note that TradingView also has a standalone desktop app; close it during focus blocks.

Exact domains and hosts file lines for TradingView:

127.0.0.1 tradingview.com
::1 tradingview.com
127.0.0.1 www.tradingview.com
::1 www.tradingview.com
Apply on Mac
Run sudo nano /etc/hosts in Terminal, paste the lines at the bottom, press Control-O then Control-X, and flush DNS with sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder.
Apply on Windows
Open Notepad as Administrator, open C:\Windows\System32\drivers\etc\hosts (file type: All Files), paste the lines, save, and run ipconfig /flushdns in Command Prompt.

Blocking multiple sites at once? Build a full copy-paste blocklist with our free Hosts File Website Blocker Generator →

Option 3: Standard list-based Chrome blocker extensions

List-based extensions such as BlockSite, StayFocusd, or LeechBlock NG let you block tradingview.com faster than editing system files. Two trade-offs remain: domain lists are all-or-nothing (blocking legitimate work resources alongside feeds), and most standard extensions can be disabled in two clicks when temptation spikes.

Interactive Demo · Zero Install

Try Focus AI live against TradingView

Pick or type a real work task, then test any URL to see what stays open and what gets blocked.

tradingview.com/chart/

No clear link between tradingview.com and "Building Next.js app". Use a 3-minute Quick Check if you truly need it.

BLOCKED
Session check log for “Building Next.js app”
Simulated client-side demo. In Chrome, Focus AI runs live on every tab during active sessions.Add Focus AI to Chrome
Why this site breaks focus

Why TradingView keeps pulling you back

Watching live 1-minute candles tick up and down feels analytical while silently burning hours of peak mental energy with zero control over the market.

Best blocking strategy for TradingView: Unless your full-time job is active desk trading, keep TradingView blocked during work sessions via Focus AI and review charts once after market close.
Privacy & pricing: Focus AI checks only the URL and brief page snippet during active sessions. Banking, login, email, and form inputs are skipped. Nothing is stored as browsing history or sold. Free for 3 AI focus sessions and up to 3 always-blocked sites, then $4.99/week, $14.99/month, or $79/year (save 56%).
FUTURE YOU IS WATCHINGLOCK IN

Ready to block TradingView without fighting yourself?

Start free with 3 AI focus sessions and up to 3 always-blocked sites. Add Friend/Parent Passcode Lock and unlimited protection anytime on Pro.

Add Focus AI to Chrome
Free for 3 AI focus sessions + 3 always-blocked sites · 30-second setup · No account needed

Frequently asked questions

Why does TradingView still load in Incognito after I install a blocker?

TradingView shows live charts without login, and Chrome disables extensions in Incognito by default. Enable Allow in Incognito under chrome://extensions.

Can I allow TradingView only when my task is financial modeling or after 4 PM?

Yes. Focus AI blocks tradingview.com during coding or writing sessions and unlocks it once your focus session ends (or if your task explicitly involves market chart analysis).

Is Focus AI free?

Focus AI is free for 3 AI focus sessions and up to 3 always-blocked sites.

Block more distractions & guides