How to Build TradingView Indicators Using AI (Claude) – Part 1 | In The Money by Zerodha

In this episode, we explore a skill that every serious trader eventually needs, the ability to build and test your own indicators and strategies without writing a single line of code yourself.

I’m your host, Sandeep Rao (SEBI Registered Research Analyst – INH000013059).

From understanding what separates an indicator from a strategy, to coding your first custom indicator on TradingView using Claude AI, and eventually converting it into a back-testable strategy, this episode walks you through the entire process step by step.

This episode breaks down how to bring your trading ideas to life using Pine Script on TradingView, powered by Claude AI, from a simple session range tracker to a smoothed Heikin-Ashi strategy, and how the build-observe-analyse-refine loop becomes the foundation of a data-driven trading approach.

Chapters:
0: 00 – Introduction: Indicators as measurement tools
2: 12 – What we’ll cover in this episode
2: 20 – Story: The discovery of X-rays (Röntgen)
5: 53 – The build-observe-analyse-refine loop
6: 45 – Indicator vs Strategy: Key differences
8: 49 – Coding Indicator #1: Session Range Tracker
10: 45 – Session Range Tracker: Live demo & bug fix
15: 01 – Coding Indicator #2: Smoothed Heikin-Ashi
16: 38 – Smoothed Heikin-Ashi: Answering Claude’s questions
19: 50 – Converting the indicator into a Strategy
21: 06 – Strategy: Entry/exit logic & back-test setup
24: 28 – Summary & key takeaways
25: 31 – What’s next: Analysing trade logs with Claude

📖 Book recommendations:
Serendipity: Accidental Discoveries in Science → https://www.amazon.in/dp/0471602035/

If you prefer reading, we’ve written a post about this episode here: https://inthemoneybyzerodha.substack.com/

Do check out our newsletter “Aftermarket Report” where we do a quick daily wrap-up of what happened in the markets, both in India and globally. here: https://aftermarketreport.substack.com/

Check out Varsity Live, a hands-on way to learn finance with experts. Instead of only listening, you practice in real time through activities like personal finance planning, technical charting, balance sheet analysis, and more: https://varsitylive.zerodha.com/home

Open a free demat and trading account online at Zerodha:
https://zerodha.com/open-account/?c=ZAPIXG

Disclaimer:

Investments in securities are subject to market risks. Please read all related documents carefully before investing. SEBI registration does not guarantee the performance of the intermediary or assure returns to investors. The securities mentioned are for illustrative purposes only and do not constitute a recommendation. By proceeding, you acknowledge and agree that any returns shown on this platform are solely for informational purposes. They are not intended to serve as advertisements or promotional material, nor should they influence your investment decisions.

Trading and investment decisions should be made at your own discretion, and it is strongly advised to consult a qualified financial advisor before acting on any information provided.

Note: Some image(s) may have been created using Al, no copyright infringement is intended.

About Zerodha

At Zerodha, we simplify complex financial topics to empower you with the knowledge to make smarter investment choices. Whether you’re just getting started or looking to sharpen your skills, we’re here to help you navigate the financial world with clarity.