How To Connect Codex to Trading View (Insanely Cool)

In this video, I show you how I connected OpenAI’s Codex CLI directly
to TradingView and used it as an AI coding agent to build trading
strategies, add indicators, and draw support/resistance levels β€”
all through simple prompts.

This is Part 1 of a 2-part series. In this video, I cover the
installation and the TradingView connection. In Part 2, we’ll go
deeper β€” building real-time strategies, running live bots 24/7,
and connecting everything to a broker for actual execution.

πŸ”§ What’s Codex CLI?
Codex is OpenAI’s coding agent β€” think of it as the OpenAI version
of Claude Code. It runs inside your VS Code terminal and can write,
edit, and execute code for you using natural language prompts.

🎯 What You’ll Learn in This Video:
β†’ What Codex CLI is and how it compares to other AI coding agents
β†’ Step-by-step installation inside VS Code
β†’ How to connect Codex to your TradingView account
β†’ Adding indicators (9 EMA, Supertrend, etc.) using simple prompts
β†’ Drawing support and resistance boxes automatically
β†’ A real example of a strategy I built that runs live on my broker
β†’ Honest reality check: what works, what doesn’t, and what’s just
show-off content

πŸ’° Real Result Shown:
I demo a live strategy I built using Codex that’s currently running
on a β‚Ή1 lakh capital account, showing actual daily P&L numbers β€”
not theoretical, not backtested, real money.

⚠️ Reality Check:
Connecting Codex to TradingView is cool, but is it actually useful
for making money? Honest answer in the video. This is NOT for
scalpers or short-timeframe traders. For real edge, you need
real-time data subscriptions and proper architecture β€” which I’ll
cover in Part 2.

πŸš€ Part 2 Drops When:
50% of viewers comment “DONE” after completing the setup in this
video. Part 2 covers:
βœ… Real-time data feeds
βœ… Building live strategies with Codex
βœ… Running 24/7 trading bots
βœ… Broker integration (Dhan)
βœ… Telegram/Instagram notifications

πŸ“ Prompts Used in This Video:

– Use basic prompts like connect : npm i -g @openai/codex
– build a project that connects TradingView with my VS Code Terminal and by simply giving an English-based command, it can do that work on trading

πŸ’‘ Why This Matters:
We’re in the AI era. Every person now has access to AI. The ones
who win in this era are the ones who keep talking to AI, keep
giving it context, and don’t give up when they don’t get results
on the first prompt. Stay consistent.

πŸ“² Follow for daily content:
Instagram: https://www.instagram.com/algo.sid/

Tags:
#CodexCLI #OpenAI #TradingView #AlgoTrading #AITrading
#PythonTrading #TradingBots #AlgoSid #AIAgents #TradingAutomation