Loading video...
Video Failed to Load
Claude controlling TradingView live — switching symbols, writing Pine Script, batch scanning futures, replay trading, drawing levels. All from the terminal. Still rough edges but the vision is clear.
1,356,993 views • 5 months ago •via X (Twitter)
50 Comments

@tradingview Perplexity Comet browser does most of this quite well. Here it is scanning @edgeful and marking up the chart according to mutiple filtered reports.

Pretty cool! The main difference between the 2 is comet browser is i assume is controlling the UI of the webpage, Where as the MCP and CLI I built is allowing the LLM to use internal API’s and controlling it from the backend of the desktop application. Nonetheless the future is here and we will have agents in the loop of trading become very normalized for the retail traders very soon.

@tradingview This was cool to watch. So many possibilities are attached to this project. Good job. Good good job.

@tradingview thanks i look forward to seeing what people cook up with this

@tradingview We will be sure to credit you with whatever we do. Our team is already on it. Don't you worry.

@tradingview Yep, the future of trading is agentic.

@tradingview Claude could barely get the code right before running out of tokens for the day.

@tradingview i had some issues today as well. opus on max effort couldn’t figure out a simple problem i had today even using a multi agent swarm

@tradingview It couldn’t debug a simple pine code to work properly. But it would be great if it could work

@tradingview i just use Context 7 MCP for best practices for pinescript and 1 shot nearly everything with it

@tradingview I’ll try that

@Tradesdontlie @tradingview Have you tried to extract the Pine Script language model from GitHub and transferred the MD’s into your workspace? You likely have just making sure👌

@Tradesdontlie @tradingview This was a year ago before mcp but I’ll try it. I was creating custom asset lists and moving averages for a class on US-China trade, nothing too crazy

@tradingview It worked, Thanks man alot, I will share the results too

@tradingview Why not fetching data from provider directly like tick by tick, vol, order book

difference use case all together in my opinion. this is showcasing how an LLM can control trading platform, insert and compile indicators and fetch the indicator data directly from tradingview from an internal api. while using a data stream directly from provider like say data bento i would envision it would be meant for the LLM to manage and turning on and off a set of trading algorithms. allowing the LLM to just make trades for you is insane to me because there is no way to back test forward test or run monte carlo on results without concrete repeatable processes

@PoeticJusticeHA @tradingview There’s a whole world out there with people building related things more complex than you could ever imagine…

@PoeticJusticeHA @tradingview show me some examples i am always willing to learn and take inspiration

@tradingview Super interesting — how are you interfacing with TradingView here? Browser automation, MCP or something deeper?

@tradingview MCP

@tradingview That's nutty brother, good job.

Impressive work. 78 tools through CDP on a local Electron debug port is a creative approach and the Pine Script compile/fix loop is genuinely useful for indicator development. Two things that conern us slighty- First, it's reading undocumented TradingView internals through a debug interface. Any desktop update can break the entire tool chain without warning and there's no migration path. Second, port 9222 open locally means any process on your machine can connect to that session. Worth being aware of, especially if you're running it alongside other software. That said, this has us seriously considering building a Pelican MCP server. Our backtest engine, conviction scoring, and cross-asset analysis exposed as MCP tools that any developers and traders could plug into their existing workflows would be cool. Builders building. We like seeing it. Great work!

@tradingview Curious on how you're finding the token usage while doing this.

@tradingview The frustrations I had while trying to get OpenClaw to do something as simple as navigate to MNQ and take a chart screenshot and then you drop this. Thank you, excited to play around with this when I get home 🙏🏾

@tradingview Claude hitting the usage limit in 3 minutes

@tradingview The Pine Script generation is impressive, but live symbol switching and replay trading from a terminal takes workflow to another level.

@tradingview Impressive stuff 😎 Meanwhile, I’m running 4 AI portfolios — Gemini, DeepSeek, Grok & the newest one — tracking live market moves and publishing daily P/L updates. Full history and breakdowns in my latest thread.

@tradingview We need a how to video…

@tradingview This is awesome! Thanks for sharing!

@tradingview receipts over emotions

@tradingview this is exactly the kind of stuff i want to see more of. hooking claude into tradingview opens up so many workflow possibilities - especially the batch scanning part. how's the latency been when switching between symbols?

@tradingview The real test isn't whether AI can execute trades - it's whether it knows when NOT to trade. Most edge gets arbitraged away once it's systematic. Curious how this handles regime changes that break historical patterns.

@tradingview Wait this is crazy bookmark

@tradingview And still it isn’t makin money

@tradingview How fast was the video sped up? Genuinely curious

@tradingview 8x speed

@tradingview <3 thanks G and great write up btw

@tradingview Any video how to connect all this?

@tradingview This is pretty cool to see. Building something similar but on Kalshi prediction markets, Claude confirms every trade before it fires. Different market structure but same idea.

@tradingview This worked perfectly with my openclaw agent. Thank you!

@tradingview This is genuinely amazing work, integrating a personal trading model into it would be great.

@tradingview Incredible 🙏🙏🙏

@tradingview Looks cool

@FadiZeidan @tradingview You wasting time and efficiency with trading view -

@tradingview @Hadometa

@tradingview What a time be alive… @DannyOkec you started similar project almost a decade using node.js I think. 😃😃

@tradingview woaww

@tradingview @_JRGREATNESS_ see this shit

@tradingview Need to give this to Claude Co-work to help me with the setup looks very promising 💯

@tradingview Sick, well done bro, definitely going to check it out
