<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Trading with Stocko: Trading with AI]]></title><description><![CDATA[From strategy building and data analysis to automation, learn practical, AI-driven skills to trade smarter, faster, and more efficiently.]]></description><link>https://tradingwithstocko.substack.com/s/trading-with-ai</link><image><url>https://substackcdn.com/image/fetch/$s_!HP2h!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6456986-c4de-427a-a0b7-8c4303999fc8_256x256.png</url><title>Trading with Stocko: Trading with AI</title><link>https://tradingwithstocko.substack.com/s/trading-with-ai</link></image><generator>Substack</generator><lastBuildDate>Fri, 22 May 2026 12:52:48 GMT</lastBuildDate><atom:link href="https://tradingwithstocko.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[InCred Money]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[tradingwithstocko@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[tradingwithstocko@substack.com]]></itunes:email><itunes:name><![CDATA[InCred Money]]></itunes:name></itunes:owner><itunes:author><![CDATA[InCred Money]]></itunes:author><googleplay:owner><![CDATA[tradingwithstocko@substack.com]]></googleplay:owner><googleplay:email><![CDATA[tradingwithstocko@substack.com]]></googleplay:email><googleplay:author><![CDATA[InCred Money]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Does Your Indicator Actually Work? How to Backtest It with Claude AI]]></title><description><![CDATA[From Indicator to Strategy in six steps.]]></description><link>https://tradingwithstocko.substack.com/p/does-your-indicator-actually-work</link><guid isPermaLink="false">https://tradingwithstocko.substack.com/p/does-your-indicator-actually-work</guid><dc:creator><![CDATA[InCred Money]]></dc:creator><pubDate>Mon, 18 May 2026 13:31:21 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!QZPt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>This is Part 2 of our series. In Part 1, we built a working indicator using Claude and the skill file going from a plain English idea to a live chart in under 30 minutes. This post picks up exactly where that one ended.</em></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://tradingwithstocko.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://tradingwithstocko.substack.com/subscribe?"><span>Subscribe now</span></a></p><p><em>Haven&#8217;t read Part 1 yet? Start there first. This won&#8217;t make as much sense without it.</em></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;4cfd513d-16d3-4cbd-80c8-172db82af7f6&quot;,&quot;caption&quot;:&quot;Welcome! This Substack channel is part of our initiative to help you upgrade your trading with AI. If you find this guide helpful, please consider subscribing so you don't miss future updates.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Building your TradingView indicators with CLAUDE AI was never simpler than NOW! &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:426485106,&quot;name&quot;:&quot;InCred Money&quot;,&quot;bio&quot;:&quot;Diversify your investment portfolio with unlisted shares, FDs, and bonds for higher returns. Get started with InCred Money now!&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa72e714-d8f4-40b7-8602-6e7869c13699_600x600.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null},{&quot;id&quot;:441299686,&quot;name&quot;:&quot;Hitesh Chotalia&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/11e9c04e-cccd-4dbe-91d2-4cc9b2ae21d1_3200x3200.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null},{&quot;id&quot;:428028705,&quot;name&quot;:&quot;Vedant Rajmane&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!ZHQd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F676a3f3e-3c69-4b21-a0d7-65854146bebc_144x144.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-05-04T09:31:33.697Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!fg9T!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://tradingwithstocko.substack.com/p/building-your-tradingview-indicators&quot;,&quot;section_name&quot;:&quot;Trading with AI&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:195731119,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:8,&quot;comment_count&quot;:4,&quot;publication_id&quot;:7648590,&quot;publication_name&quot;:&quot;Trading with Stocko&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!HP2h!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6456986-c4de-427a-a0b7-8c4303999fc8_256x256.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div><hr></div><p>You&#8217;ve got an indicator on your chart and it looks good!<br>But here&#8217;s the question nobody asks until, &#8220;<em>they&#8217;ve lost money&#8221;</em> &#8212; <strong>does it actually work? </strong>That&#8217;s what a backtest answers.  </p><div><hr></div><h3>Quick Recap: Indicator vs. Strategy</h3><p>Before we start, one distinction worth nailing.</p><p>An <strong>indicator</strong> is observational. It doesn&#8217;t trade anything.</p><p>A <strong>strategy</strong> is the same logic, wrapped in a framework that TradingView can actually test. It has entry rules, exit rules, position sizing and a performance report you can read.</p><p>The indicator you built in Part 1 is already 80% of the way there. We&#8217;re just adding the other 20%.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QZPt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QZPt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png 424w, https://substackcdn.com/image/fetch/$s_!QZPt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png 848w, https://substackcdn.com/image/fetch/$s_!QZPt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png 1272w, https://substackcdn.com/image/fetch/$s_!QZPt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QZPt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png" width="1456" height="588" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:588,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:231158,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/196763937?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!QZPt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png 424w, https://substackcdn.com/image/fetch/$s_!QZPt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png 848w, https://substackcdn.com/image/fetch/$s_!QZPt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png 1272w, https://substackcdn.com/image/fetch/$s_!QZPt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0eaf943-cf2f-4d64-84bc-77120b9714f5_1839x743.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h3>Step 1: Open Claude and Load the Skill File</h3><p>We&#8217;ll be using the exact same setup as Part 1. You can find the link to download the skill file below.</p><p><em>Important: Don&#8217;t forget to upload the entire </em><code>.zip</code><em> folder! The skill isn&#8217;t just a single file, and Claude needs the complete folder to understand the full context.<br><a href="https://drive.google.com/drive/folders/1KWNY53EpUauqN6Iv-BTbG5xWKRmiJ2x3?usp=sharing&amp;pli=1">Download the skill File</a></em></p><p>Open a new Claude conversation, upload the Pine Script skill file (the full .zip), and wait for it to load. If you still have your Part 1 conversation open, you can continue there, but a fresh session with the skill file reloaded tends to give cleaner output.</p><p>In this session, we built a custom indicator inspired by our recent post on VWAP lines and the Supertrend! You can find the link to the original post below, along with a Google Drive link to download the indicator.<br><em><a href="https://drive.google.com/drive/folders/1KWNY53EpUauqN6Iv-BTbG5xWKRmiJ2x3?usp=sharing&amp;pli=1">Download the indicator</a></em></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;20b58134-9a0a-45b8-bde8-25cabbdbb672&quot;,&quot;caption&quot;:&quot;Welcome to our educational series designed to make you a smarter trader! If you value these insights, please subscribe today so you never miss an update.&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;VWAP: The One Line that Tracks SMART MONEY&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:426485106,&quot;name&quot;:&quot;InCred Money&quot;,&quot;bio&quot;:&quot;Diversify your investment portfolio with unlisted shares, FDs, and bonds for higher returns. Get started with InCred Money now!&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa72e714-d8f4-40b7-8602-6e7869c13699_600x600.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null},{&quot;id&quot;:441299686,&quot;name&quot;:&quot;Hitesh Chotalia&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/11e9c04e-cccd-4dbe-91d2-4cc9b2ae21d1_3200x3200.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-05-08T08:03:13.074Z&quot;,&quot;cover_image&quot;:null,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://tradingwithstocko.substack.com/p/vwap-the-one-line-that-separates&quot;,&quot;section_name&quot;:&quot;Tips &amp; Tricks&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:196868780,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:10,&quot;comment_count&quot;:1,&quot;publication_id&quot;:7648590,&quot;publication_name&quot;:&quot;Trading with Stocko&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!HP2h!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6456986-c4de-427a-a0b7-8c4303999fc8_256x256.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><blockquote><p><em>&#8220;Here is a Pine Script indicator I built. I want to convert it into a strategy so I can backtest it in TradingView&#8217;s Strategy Tester. Use /pinescript to help me plan it.&#8221;</em></p></blockquote><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!J15F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!J15F!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png 424w, https://substackcdn.com/image/fetch/$s_!J15F!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png 848w, https://substackcdn.com/image/fetch/$s_!J15F!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png 1272w, https://substackcdn.com/image/fetch/$s_!J15F!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!J15F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png" width="1319" height="686" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:686,&quot;width&quot;:1319,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:111000,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/196763937?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!J15F!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png 424w, https://substackcdn.com/image/fetch/$s_!J15F!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png 848w, https://substackcdn.com/image/fetch/$s_!J15F!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png 1272w, https://substackcdn.com/image/fetch/$s_!J15F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2c8d6f1-3d81-488f-982f-2ea2f4bc234e_1319x686.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>That&#8217;s the whole prompt. Claude takes it from there.</p><div><hr></div><h3>Step 2: Claude Asks Its Questions</h3><p>In the previous post, we defined our entry conditions based on our indicators. In this one, we need to define our exit conditions so our strategy works well in the real market. <br>Also, Claude won't touch the code until it knows exactly what to build. This time, the questions are about how the strategy should behave, not just what it should show.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!83in!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!83in!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png 424w, https://substackcdn.com/image/fetch/$s_!83in!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png 848w, https://substackcdn.com/image/fetch/$s_!83in!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png 1272w, https://substackcdn.com/image/fetch/$s_!83in!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!83in!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png" width="1041" height="619" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:619,&quot;width&quot;:1041,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:158381,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/196763937?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8a04de8-767e-451a-afd3-7b6e6a221985_1041x619.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!83in!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png 424w, https://substackcdn.com/image/fetch/$s_!83in!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png 848w, https://substackcdn.com/image/fetch/$s_!83in!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png 1272w, https://substackcdn.com/image/fetch/$s_!83in!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5825348-ddee-4299-b4e2-4e84106a8797_1041x619.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h3>Step 3: Review the Strategy Spec</h3><p>Before any code is written, Claude sends back a Strategy Spec a plain English summary of exactly what it&#8217;s about to build.</p><pre><code>S .crossover(close, vwap) + direction &lt; 0. Short: ta.crossunder(close, vwap) + direction &gt; 0. Both gated by per-leg lock vars.
Exits: Opposite signal only. strategy.entry("Short", strategy.short) auto-reverses the open long (and vice versa) &#8212; no separate strategy.exit() needed since pyramiding = 0.
Filters: None by default. Optional NSE session filter input (9:15&#8211;15:30 IST) &#8212; off by default, user can enable.
Notes: process_orders_on_close=false (default) &#8212; entries fire at next bar's open, which is realistic for NIFTY futures. lookahead_on from the Earnings/Dividends/Splits anchor branches is stripped &#8212; those introduce future bias in backtests. alertcondition() calls removed (not valid in strategy scripts).</code></pre><p>Read this carefully. This is your only checkpoint before Claude writes any code.</p><p>If everything looks right, reply: <em>Looks good, go ahead.</em></p><div><hr></div><h3>Step 4: Paste Into TradingView</h3><p>Once Claude gives you the strategy code:</p><ol><li><p>Open TradingView<br></p></li><li><p>Click <strong>Pine Editor</strong> at the bottom of the screen</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fryl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fryl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png 424w, https://substackcdn.com/image/fetch/$s_!fryl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png 848w, https://substackcdn.com/image/fetch/$s_!fryl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png 1272w, https://substackcdn.com/image/fetch/$s_!fryl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fryl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png" width="1837" height="766" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:766,&quot;width&quot;:1837,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:229837,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/196763937?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90526eeb-ab6a-4f62-b4ba-e4eed79ede6d_1837x766.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fryl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png 424w, https://substackcdn.com/image/fetch/$s_!fryl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png 848w, https://substackcdn.com/image/fetch/$s_!fryl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png 1272w, https://substackcdn.com/image/fetch/$s_!fryl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882c7d0-f551-4992-8567-c8037d5e8ae1_1837x766.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p></li><li><p>Clear the existing code and paste in the strategy code</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fP6U!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fP6U!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png 424w, https://substackcdn.com/image/fetch/$s_!fP6U!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png 848w, https://substackcdn.com/image/fetch/$s_!fP6U!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png 1272w, https://substackcdn.com/image/fetch/$s_!fP6U!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fP6U!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png" width="1001" height="738" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:738,&quot;width&quot;:1001,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:149210,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/196763937?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fP6U!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png 424w, https://substackcdn.com/image/fetch/$s_!fP6U!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png 848w, https://substackcdn.com/image/fetch/$s_!fP6U!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png 1272w, https://substackcdn.com/image/fetch/$s_!fP6U!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79fafc4e-fe8e-4249-a8fa-e77184c076b0_1001x738.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p></li><li><p>Click <strong>Add to Chart<br></strong>A new panel will appear at the bottom of your screen labelled <strong>Strategy Tester</strong>. </p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!U3A0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!U3A0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png 424w, https://substackcdn.com/image/fetch/$s_!U3A0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png 848w, https://substackcdn.com/image/fetch/$s_!U3A0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png 1272w, https://substackcdn.com/image/fetch/$s_!U3A0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!U3A0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png" width="1456" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:233519,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/196763937?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!U3A0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png 424w, https://substackcdn.com/image/fetch/$s_!U3A0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png 848w, https://substackcdn.com/image/fetch/$s_!U3A0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png 1272w, https://substackcdn.com/image/fetch/$s_!U3A0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1ffddf-69f3-4147-b5ed-5a4b099a5dcd_1721x745.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h3>Step 5: Backtest Setup </h3><p>Most people open the Strategy Tester and jump straight to net profit. Don&#8217;t. The numbers mean nothing until you&#8217;ve told TradingView what assumptions to run them on.</p><p>Click the <strong>Settings icon</strong> on your strategy panel. You&#8217;ll see a Properties tab. Three inputs to set before anything else:</p><ul><li><p><strong>Initial Capital</strong>: Enter what you&#8217;d actually deploy. &#8377;5L and &#8377;50L will produce very different profit figures, and neither is wrong. What matters is that the number reflects your real situation, so the results stay meaningful to you.</p></li><li><p><strong>Commission</strong>: For NIFTY futures, 0.03&#8211;0.05% per side is a reasonable starting point. Leave this at zero and every strategy looks better than it actually is.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!j7d6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!j7d6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png 424w, https://substackcdn.com/image/fetch/$s_!j7d6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png 848w, https://substackcdn.com/image/fetch/$s_!j7d6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png 1272w, https://substackcdn.com/image/fetch/$s_!j7d6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!j7d6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png" width="1150" height="767" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:767,&quot;width&quot;:1150,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:133071,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/196763937?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34a4ffb7-cfc6-4ec4-b533-04a478283f05_1150x767.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!j7d6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png 424w, https://substackcdn.com/image/fetch/$s_!j7d6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png 848w, https://substackcdn.com/image/fetch/$s_!j7d6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png 1272w, https://substackcdn.com/image/fetch/$s_!j7d6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9991fd4c-2ba9-4b08-90fe-a7759e90fefd_1150x767.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h3>Step 6: Read the Strategy Tester Report</h3><p>This is the step most people rush through. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LA9Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LA9Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png 424w, https://substackcdn.com/image/fetch/$s_!LA9Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png 848w, https://substackcdn.com/image/fetch/$s_!LA9Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png 1272w, https://substackcdn.com/image/fetch/$s_!LA9Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LA9Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png" width="1316" height="750" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/29c89beb-7769-4747-acde-710ed20993bb_1316x750.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:750,&quot;width&quot;:1316,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:103547,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/196763937?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!LA9Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png 424w, https://substackcdn.com/image/fetch/$s_!LA9Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png 848w, https://substackcdn.com/image/fetch/$s_!LA9Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png 1272w, https://substackcdn.com/image/fetch/$s_!LA9Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F29c89beb-7769-4747-acde-710ed20993bb_1316x750.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The report has two tabs. Here&#8217;s what actually matters in each:</p><p><strong>Net Profit</strong>: The starting point, not the finish line. A positive number tells you the strategy didn&#8217;t lose money historically. That&#8217;s it. Check everything else before drawing conclusions.</p><p><strong>Win Rate</strong>: Easy to misread. A 70% win rate looks strong until the losses are 3x larger than the wins. It only means something when you read it alongside Profit Factor.</p><p><strong>Profit Factor</strong>: Total profit divided by total loss. Above 1.5 and the strategy is generating more than it&#8217;s giving back. Below 1.0, it lost money overall and no further analysis needed.</p><p><strong>Max Drawdown</strong>: The worst stretch the strategy went through in the entire backtest period. Before you move on, ask yourself: if this was happening to your actual capital in real time, would you have stayed in? If the honest answer is no, the strategy isn&#8217;t right for you! regardless of what the net profit looks like.</p><p><strong>Number of Trades</strong>: Sample size matters. A backtest with 15 trades over two years isn&#8217;t a backtest, it&#8217;s a handful of data points. You want at least 50&#8211;100 trades before the numbers carry any real weight.</p><h3>List of Trades Tab</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2gQ6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2gQ6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png 424w, https://substackcdn.com/image/fetch/$s_!2gQ6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png 848w, https://substackcdn.com/image/fetch/$s_!2gQ6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png 1272w, https://substackcdn.com/image/fetch/$s_!2gQ6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2gQ6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png" width="1331" height="752" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:752,&quot;width&quot;:1331,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:134656,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/196763937?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!2gQ6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png 424w, https://substackcdn.com/image/fetch/$s_!2gQ6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png 848w, https://substackcdn.com/image/fetch/$s_!2gQ6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png 1272w, https://substackcdn.com/image/fetch/$s_!2gQ6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36883b00-a3e9-4a5e-9496-f934a4661b6f_1331x752.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Click individual trades and watch where TradingView marks them on the chart. Ask yourself:</p><ul><li><p>Are entries happening where your logic says they should?</p></li><li><p>Are exits cutting trades too early, or holding too long into reversals?</p></li><li><p>Are there obvious bad trades that all cluster around one market condition (e.g., sideways chop)?</p></li></ul><p>This is where you catch logic errors that the numbers alone won&#8217;t show you.</p><div><hr></div><h3>What You&#8217;ve Built</h3><p>You took a trading idea. You turned it into a strategy. You checked whether it held up across historical trades.</p><p>In Part 3, we go one step further.  We will create a telegram bot which messages you everytime your strategy gives a signal!</p><div><hr></div><p><em>(Disclaimer: Any video/image/text content is for educational and informational purposes only and does not constitute financial advice. Refer - <a href="https://stocko.in/stocko-disclaimer/">https://stocko.in/stocko-disclaimer/</a>. Please do your own research or consult a qualified financial advisor before making any investment or trading decisions. Trading in stock markets involves the risk of loss.)</em></p>]]></content:encoded></item><item><title><![CDATA[Building your TradingView indicators with CLAUDE AI was never simpler than NOW! ]]></title><description><![CDATA[No errors. No syntax.]]></description><link>https://tradingwithstocko.substack.com/p/building-your-tradingview-indicators</link><guid isPermaLink="false">https://tradingwithstocko.substack.com/p/building-your-tradingview-indicators</guid><dc:creator><![CDATA[InCred Money]]></dc:creator><pubDate>Mon, 04 May 2026 09:31:33 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!fg9T!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Welcome! This Substack channel is part of our initiative to help you upgrade your trading with AI. If you find this guide helpful, please consider subscribing so you don't miss future updates.</em></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://tradingwithstocko.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://tradingwithstocko.substack.com/subscribe?"><span>Subscribe now</span></a></p><div class="pullquote"><p><em><strong>No syntax. No errors. Just tell Claude what you need.</strong></em></p></div><blockquote><p><em>Just a heads-up before we start, you can definitely do this on the free version of Claude without needing Pro subscription. Just keep an eye on your usage so you don&#8217;t hit the message limit too quickly!</em></p></blockquote><p>If you&#8217;ve ever opened TradingView&#8217;s Pine Editor, stared at it for five minutes, and closed it, this one&#8217;s for you.</p><p>Pine Script is TradingView&#8217;s built-in scripting language. It&#8217;s how you build custom indicators, set alerts, and run backtests. But it&#8217;s also notoriously finicky. The rules change between versions, functions have strict naming rules, and one wrong spacing will break your entire script with an error that tells you almost nothing useful.</p><p><strong>But this changes today.</strong></p><p>This post closes that gap. We&#8217;ll walk through how to use Claude as a Pine Script co-pilot, from describing your idea in plain English to having a backtested strategy running in Strategy Tester. Two steps, one workflow.</p><div><hr></div><h3>First: The Skill File</h3><p>Claude on its own will write Pine Script. Claude with the right context will write Pine Script that <em>just works</em>.</p><blockquote><p><em><strong>What is a skill file?<br>&#8220;</strong>A skill file is a document that instructs AI agents on how to perform specific tasks, workflows, or follow company standard</em><strong>s&#8221;</strong></p></blockquote><p>The skill file we&#8217;ve built for pinescript is a reference document that tells Claude exactly how Pine Script v6 works and common mistakes it should avoid when writing it. The skill file also has a 10-pass self-review checklist that Claude runs on its own code before showing it to you <em>(it means minimal errors)</em>.</p><div><hr></div><h3><strong>Step 1: Download the Skill File</strong></h3><p>We&#8217;ve dropped the skill file in our Google Drive. This is the file that turns Claude into your Pine Script co-pilot download it before anything else.</p><blockquote><p><em>Uploading the whole .zip folder is important since the skill is not a single file but multiple files, which give the right context to claude</em></p></blockquote><p><a href="https://drive.google.com/drive/folders/1KWNY53EpUauqN6Iv-BTbG5xWKRmiJ2x3?usp=sharing">Download the skill File</a></p><div><hr></div><h3><strong>Step 2: Load the Skill File in Claude</strong></h3><p>Once downloaded, follow the video below to get it set up in Claude. It takes under two minutes. Do it once and it&#8217;s ready every time you open Claude.</p><div class="native-video-embed" data-component-name="VideoPlaceholder" data-attrs="{&quot;mediaUploadId&quot;:&quot;7ca8130e-ad77-418b-b849-50a232bcf6e4&quot;,&quot;duration&quot;:null}"></div><div><hr></div><h3><strong>Step 3: Call the Skill</strong></h3><p>Once the skill is loaded, activating it is just one word. Type <code>/pinescript</code> before your message and Claude instantly knows it&#8217;s in Pine Script mode with all the rules, checks, and context already loaded.</p><div><hr></div><h3><strong>Step 4: Describe What You Want</strong></h3><p>This is where most people expect it to get complicated. It doesn&#8217;t.</p><p>Just describe your indicator in plain English, the same way you&#8217;d explain it to a friend. You don&#8217;t need to know any code, any syntax, or anything about how TradingView works under the hood.</p><p>For example:</p><blockquote><p><em>&#8220;</em>hey I want to create a indicator which shows the historical probability that the nifty on 1d timeframe has bounced from their EMAs. 10,21,50,100,200<br>---<br>use <strong>/</strong>pinescript to help me plan it<em>&#8221;</em></p></blockquote><p>That&#8217;s enough to get started.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fg9T!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fg9T!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png 424w, https://substackcdn.com/image/fetch/$s_!fg9T!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png 848w, https://substackcdn.com/image/fetch/$s_!fg9T!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png 1272w, https://substackcdn.com/image/fetch/$s_!fg9T!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fg9T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png" width="1207" height="474" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:474,&quot;width&quot;:1207,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:86584,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/195731119?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42940016-9671-4d53-8118-7b3a0abac6cf_1207x670.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fg9T!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png 424w, https://substackcdn.com/image/fetch/$s_!fg9T!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png 848w, https://substackcdn.com/image/fetch/$s_!fg9T!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png 1272w, https://substackcdn.com/image/fetch/$s_!fg9T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbe12f34-28db-4f40-816d-3d27dd342d74_1207x474.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Some other examples you can use:</strong></p><ul><li><p>&#8220;I want to plan an indicator that highlights when volume is unusually high compared to the past 20 candles using /pinescript.&#8221;</p></li><li><p>&#8220;I want to see when the 9 EMA crosses above or below the 21 EMA, with arrows on the chart using /pinescript. Help me plan it&#8221;</p></li><li><p>&#8220;I trade breakouts. I want an indicator that draws a box around the high and low of the last 20 candles and alerts me when price breaks out using /pinescript. Help me plan it&#8221;</p></li></ul><blockquote><p><em>Also, the trick to make claude write efficient code is be as detailed as possible!  One more thing to be cautious of is to use the word &#8220;PLAN&#8221; while writing your prompts!</em></p></blockquote><div><hr></div><h3><strong>Step 5: Answer Claude&#8217;s Questions</strong></h3><p>Here&#8217;s what makes this workflow different from just asking claude to write you a script&#8230; Claude won&#8217;t write a single line of code before it asks you clarifying questions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7Xnc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7Xnc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png 424w, https://substackcdn.com/image/fetch/$s_!7Xnc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png 848w, https://substackcdn.com/image/fetch/$s_!7Xnc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png 1272w, https://substackcdn.com/image/fetch/$s_!7Xnc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7Xnc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png" width="748" height="628" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:628,&quot;width&quot;:748,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:139612,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/195731119?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7Xnc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png 424w, https://substackcdn.com/image/fetch/$s_!7Xnc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png 848w, https://substackcdn.com/image/fetch/$s_!7Xnc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png 1272w, https://substackcdn.com/image/fetch/$s_!7Xnc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2024d944-9029-4018-91f2-b8d130e0c83b_748x628.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>It asks you a focused set of questions first:</p><ul><li><p>What should it plot: a line, histogram, background colour, shapes on the candles?</p></li><li><p>Should it mark buy/sell signals? At what condition exactly?</p></li><li><p>What RSI length and thresholds? Should those be user-configurable?</p></li><li><p>Any overbought/oversold levels to draw?</p></li></ul><p>Answer them in one reply. The more specific you are, the better the output.</p><p>If Claude doesn&#8217;t ask you these questions and directly gives you the script, tell it to do the following:</p><p><em>&#8220;Please read the /pinescript file again and ask me the questions&#8221;</em></p><div><hr></div><h3><strong>Step 6: Review the Script</strong></h3><p>Before writing any code, Claude sends back a <strong>Script Spec</strong> &#8212; a plain English plan of exactly what it&#8217;s about to build. Think of it as a blueprint you approve before construction starts.</p><pre><code><code>Script Spec &#8212; EMA Bounce Probability Table

Type: Indicator (overlay=true)
Logic: For each of the 5 EMAs (10, 21, 50, 100, 200), scan the last 252 bars on the 1D timeframe. A touch is a candle whose low dips below the EMA but closes above it (wick crossunder + body recovery). A bounce is confirmed when the next candle's close is also above that EMA. Probability = confirmed bounces &#247; total touches.
Visuals: A single stats table (top-right corner) with rows for each EMA showing: EMA period | # Touches | # Bounces | Bounce Probability %
Inputs: Lookback period (default 252 bars), toggle to show/hide each EMA line on chart, table position
Filters: Minimum 1 touch required to show a % (otherwise shows &#8212;)
Notes: No short-side / resistance logic. Works on any symbol on 1D timeframe; EMAs computed natively so no request.security() needed.</code></code></pre><h4>What you should check</h4><p>Read through the spec and ask yourself:</p><ul><li><p>Does the logic match what I described?</p></li><li><p>Are the signals correct?</p></li><li><p>Are the visuals what I pictured?</p></li><li><p>Are the default settings what I want?</p></li></ul><h4>How to respond</h4><p><strong>If everything looks right, simply reply:</strong></p><p>Looks good, go ahead.</p><p><strong>If something is wrong or missing, tell Claude what to change:</strong></p><p>Change the buy signal condition to when RSI crosses above 40 instead of 30.<br><br><strong>&#9888;&#65039; Important:  </strong>Do not skip this step. This is your only chance to check the plan before the code is written. It is much easier to change the spec now than to fix code later.</p><div><hr></div><p><em>One thing that makes this skill unique is that it forces claude to run a 10 step internal checklist before it gives you the code! </em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ucpp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ucpp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png 424w, https://substackcdn.com/image/fetch/$s_!Ucpp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png 848w, https://substackcdn.com/image/fetch/$s_!Ucpp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png 1272w, https://substackcdn.com/image/fetch/$s_!Ucpp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ucpp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png" width="818" height="344" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:344,&quot;width&quot;:818,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:66777,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/195731119?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ucpp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png 424w, https://substackcdn.com/image/fetch/$s_!Ucpp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png 848w, https://substackcdn.com/image/fetch/$s_!Ucpp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png 1272w, https://substackcdn.com/image/fetch/$s_!Ucpp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8da7f29c-7ad4-45b3-a909-5ffedda4aed9_818x344.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h3><strong>Step 7: Get Your Code</strong></h3><p>Claude writes the complete Pine Script and before showing it to you, silently runs a 10-pass review on its own output, checking for errors, outdated syntax, and common Pine Script traps. If it catches something, it fixes it on the spot.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!svsZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!svsZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png 424w, https://substackcdn.com/image/fetch/$s_!svsZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png 848w, https://substackcdn.com/image/fetch/$s_!svsZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png 1272w, https://substackcdn.com/image/fetch/$s_!svsZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!svsZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png" width="825" height="620" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/de91ff16-43f0-4729-aa04-c1c44673554f_825x620.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:620,&quot;width&quot;:825,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:150126,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/195731119?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!svsZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png 424w, https://substackcdn.com/image/fetch/$s_!svsZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png 848w, https://substackcdn.com/image/fetch/$s_!svsZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png 1272w, https://substackcdn.com/image/fetch/$s_!svsZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde91ff16-43f0-4729-aa04-c1c44673554f_825x620.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>What you get is clean, ready-to-use code.</p><div><hr></div><h3><strong>Step 8: Paste Into TradingView</strong></h3><ul><li><p>Open TradingView</p></li><li><p>Click <strong>Pine Editor</strong> at the bottom of the screen</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GzjF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GzjF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png 424w, https://substackcdn.com/image/fetch/$s_!GzjF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png 848w, https://substackcdn.com/image/fetch/$s_!GzjF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png 1272w, https://substackcdn.com/image/fetch/$s_!GzjF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GzjF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png" width="1907" height="804" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:804,&quot;width&quot;:1907,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:220444,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/195731119?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0dd3b65-8cd5-43a7-aad2-b5b4f6f13785_1907x804.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GzjF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png 424w, https://substackcdn.com/image/fetch/$s_!GzjF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png 848w, https://substackcdn.com/image/fetch/$s_!GzjF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png 1272w, https://substackcdn.com/image/fetch/$s_!GzjF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F34816a5a-0aa3-4146-9761-49c2963b02da_1907x804.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v76u!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v76u!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png 424w, https://substackcdn.com/image/fetch/$s_!v76u!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png 848w, https://substackcdn.com/image/fetch/$s_!v76u!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png 1272w, https://substackcdn.com/image/fetch/$s_!v76u!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v76u!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png" width="981" height="784" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:784,&quot;width&quot;:981,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:22806,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/195731119?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v76u!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png 424w, https://substackcdn.com/image/fetch/$s_!v76u!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png 848w, https://substackcdn.com/image/fetch/$s_!v76u!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png 1272w, https://substackcdn.com/image/fetch/$s_!v76u!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F94466a9e-28f7-4ef2-a12d-87de0deb9153_981x784.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li><li><p>Paste the code</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!hiD9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hiD9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png 424w, https://substackcdn.com/image/fetch/$s_!hiD9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png 848w, https://substackcdn.com/image/fetch/$s_!hiD9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png 1272w, https://substackcdn.com/image/fetch/$s_!hiD9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hiD9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png" width="770" height="798" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:798,&quot;width&quot;:770,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:126389,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/195731119?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!hiD9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png 424w, https://substackcdn.com/image/fetch/$s_!hiD9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png 848w, https://substackcdn.com/image/fetch/$s_!hiD9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png 1272w, https://substackcdn.com/image/fetch/$s_!hiD9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa039337-37b6-4934-bbb6-89d22b8dedf3_770x798.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li><li><p>Click <strong>Add to Chart</strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3Uoz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3Uoz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png 424w, https://substackcdn.com/image/fetch/$s_!3Uoz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png 848w, https://substackcdn.com/image/fetch/$s_!3Uoz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png 1272w, https://substackcdn.com/image/fetch/$s_!3Uoz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3Uoz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png" width="1456" height="468" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:468,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:144654,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/195731119?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!3Uoz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png 424w, https://substackcdn.com/image/fetch/$s_!3Uoz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png 848w, https://substackcdn.com/image/fetch/$s_!3Uoz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png 1272w, https://substackcdn.com/image/fetch/$s_!3Uoz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96497c6c-47e1-4a12-aa88-2c8fbe0d8cce_1787x574.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><p>Your indicator is now live!</p><div><hr></div><h3>Troubleshooting if something goes wrong </h3><p>In most cases the code will work perfectly the first time. But if you do see an error, here is what to do.</p><h4><br>If TradingView shows a red error message</h4><blockquote><p>Do not panic. Simply copy the exact error message text, go back to Claude, and paste it in the chat:</p><p><em>&#8220;TradingView is giving me this error. Please fix it: [paste the error here]&#8221;</em></p><p>Claude will read the error, identify the problem, fix the code, and give you a corrected version to paste back in.</p></blockquote><h4>If the indicator doesn&#8217;t look right</h4><blockquote><p>Go back to Claude and describe what is wrong. Be specific:</p><p><em>&#8220;The indicator is working but the buy signal is appearing too frequently. I only want it to fire when RSI has been below 30 for at least 2 candles and then crosses back above 30.&#8221;</em></p><p>Claude will update the spec, confirm with you, and give you revised code.</p></blockquote><h4>If Claude seems to forget the skill File</h4><blockquote><p>This can happen in very long conversations. If Claude starts making Pine Script errors again, simply say:</p><p><em>&#8220;Please re-read the skill File and apply all Pine Script v6 rules before continuing.&#8221;</em></p></blockquote><div><hr></div><h3>Stuck somewhere?</h3><p>Refer to the below chart!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7aq9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7aq9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png 424w, https://substackcdn.com/image/fetch/$s_!7aq9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png 848w, https://substackcdn.com/image/fetch/$s_!7aq9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png 1272w, https://substackcdn.com/image/fetch/$s_!7aq9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7aq9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png" width="1456" height="999" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:999,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:263749,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://tradingwithstocko.substack.com/i/195731119?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7aq9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png 424w, https://substackcdn.com/image/fetch/$s_!7aq9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png 848w, https://substackcdn.com/image/fetch/$s_!7aq9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png 1272w, https://substackcdn.com/image/fetch/$s_!7aq9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcebaceb0-26a5-4369-9e00-ce6285cb7033_2432x1668.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h3>Now Try It With Your Own Idea</h3><p>You don&#8217;t need to start from scratch. Already trade a setup manually? Describe it. Seen an indicator you liked but couldn&#8217;t replicate? Describe that. The skill handles everything in between.</p><p>Next, we&#8217;ll take this exact indicator and turn it into a backtest so you can see whether your setup actually holds up historically.</p><div><hr></div><div class="poll-embed" data-attrs="{&quot;id&quot;:506709}" data-component-name="PollToDOM"></div><p><em>(Disclaimer: Any video/image/text content is for educational and informational purposes only and does not constitute financial advice. Refer - <a href="https://stocko.in/stocko-disclaimer/">https://stocko.in/stocko-disclaimer/</a>. Please do your own research or consult a qualified financial advisor before making any investment or trading decisions. Trading in stock markets involves the risk of loss.)</em></p>]]></content:encoded></item></channel></rss>