- Report this article
Kirubakaran Rajendran
Kirubakaran Rajendran
Algo Trader | Building, Squareoffbots.com
Published Mar 12, 2024
+ Follow
More than 30 million users actively use TradingView but very few people have Pine script coding knowledge due to which many users just stick to basic Trading view charting functionality, let me explain how can you write your own Pinescript code using ChatGPT - New! free version.
I wanted to study the spike patterns in BankNifty on expiry days, within 5 minutes if market moves greater than 100 points I wanted to track those days and see what happens after such spike, does market makes follow through move or it reverses after spikes?
Go to ChatGPT and enter the below Prompt Create a Pinescript that can track every candle and see if market has moved up more than 100 points or moved down more than 100 points in just one candle and plot bigger text S above that candle.
Key is to be specific with your prompts, it's all about asking the right questions to get what you want. Create a Pine script that can {mention your condition} and plot {mention the outcome you want} Go to Trading view, click on Pine script at the bottom of the chart, copy paste.
If there are any errors , copy paste that error into ChatGPT window so that it can be fixed. Once the error is fixed, copy paste the new code which would display where spikes happened, whenever underlying moves > 100 points in 5 mins, it displays a Spike in the chart.
Recommended by LinkedIn
The given code tracks the spikes on all days, I want to track it only on Wednesday, expiry days for bank nifty, so mention the same to ChatGPT which will make necessary changes in the code. Copy paste the new code in Trading view to track only expiry day spikes.
You can also backtest a trading strategy using pine script with the help of ChatGPT, just mention the rules clearly and you would the code in seconds. Copy paste the same in trading view pine script window. If there are any errors , copy paste the error back to ChatGPT.
The code would automatically plot Long and Short entry on the charts, also you will get the detailed backtest results with complete trade list. You can play around with the parameters like adding stop loss, targets etc. Also you can change the time frame to get different results.
You don't need to subscribe for paid versions, all these can be done with free version of Tradingview and ChatGPT. If you haven't explored it yet, I would highly recommend you to get started with such analysis that helps you in creating strategy based on market behaviour. There are good traders & there are good coders, but there are very few traders who can code & trade well which is a deadly combination, with the rise of AI platforms coding becomes lot more easier for non coders. This could be your first step into the world of Trading + Coding.
47
6 Comments
Eso Natured
--
2mo
- Report this comment
FYI - keep your code simple because ChatGPT Pine Script Pro really is NOVICE and ChatGPT 4o isn't any better. Trust me.
1Reaction
Samuel Ayomide
Research Advisor
4mo
- Report this comment
Can you help me to convert my tradingview pinescript to mt4?
1Reaction
Patent Professional Corporation (Patent PC)
6mo
- Report this comment
Exciting news! As a law firm deeply engaged in tech, we understand the value of leveraging tools like ChatGPT to enhance capabilities. Empowering TradingView users with Pine script coding knowledge opens up endless possibilities for refining charting strategies and making informed decisions. Looking forward to seeing more traders take advantage of this resource!
1Reaction
Rohan Savakar
StockWhiz | Winner Design for Defense 2020 | Indian Institute of Technology Dharwad
6mo
- Report this comment
Hey, Would like to take this chance to introduce you to www.stockwhiz.in , An alternative to the pine editor, but simpler, faster and cheaper. We can Integrate on to the brokerage platforms too!!- YouTube Demo: https://youtu.be/IksWPQFWmW0?
No more previous content
No more next content
1Reaction
Vignesh Suresh
--
6mo
- Report this comment
Thanks for posting
1Reaction
See more comments
To view or add a comment, sign in
More articles by this author
No more previous content
- Which type of SIP generates higher returns? Daily vs Weekly vs Monthly? Aug 22, 2024
- 2024 Election Result - Trading Strategy Jun 2, 2024
- How to Backtest a Trading Strategy using ChatGPT? Oct 23, 2023
- Best Way to do Momentum Trading in India Oct 3, 2023
- Will Every Day Expiry Kill the Backtestresults? Sep 19, 2023
- How did I clear NISM Research Analyst exam? Sep 18, 2023
- How to identify Trending market and Sidewaysmarket? Jul 14, 2023
- How to create your own Trading Strategy? - Chapter 1 May 22, 2023
- Trading Psychology | How to Control Emotions inTrading Apr 20, 2023
No more next content
Sign in
Stay updated on your professional world
Sign in
By clicking Continue to join or sign in, you agree to LinkedIn’s User Agreement, Privacy Policy, and Cookie Policy.
New to LinkedIn? Join now
Insights from the community
- Market Research How can chat analytics help you improve customer service?
- Business Intelligence What live chat software provides the most advanced AI-powered chatbots?
- Software Development What are the best practices for testing and debugging cloud-based voice assistants and chatbots?
- Data Science What are the best practices for using bandit algorithms in A/B testing?
- Creative Strategy How can you effectively test chatbots?
- Consumer Services What are the main challenges and risks of using chatbots and voice assistants in consumer services?
- Real Estate What do you do if your real estate clients expect top-notch customer service from chatbots and AI assistants?
- Quality Assurance What do you do if your Quality Assurance team needs to harness the power of artificial intelligence?
- Mobile Application Development What are the latest trends and innovations in mobile testing tools and how do you keep up with them?
- Call Center Administration What call center software provides AI-powered chatbot capabilities for automated customer support?
Others also viewed
- How I saved $1,000 using ChatGPT Matthew Pullerits 1y
- Would ChatGPT replace developers? Munib Butt 1y
- ChatGPT: Idea to web app in 48 hours Jeffrey Mills 1y
- Attack of the Clones, ChatGPT Test Data, WebDriver.io BiDi and more Joe Colantonio 9mo
- Programmatic interaction with ChatGPT Patrick Boens 1mo
- 10 ChatGPT Prompts To Boost Developer Productivity Engineer's Planet 5d
- Yes, I've been using ChatGPT and I don't regret it at all. Hugo Ulloa 1y
- ChatGPT is my copilot, I shall not want. Robert Krten, HSD 1y
- Different ways of using ChatGPT Reghina Allen 1y
- Week 36 Update: ChatGPT Insights, Hands-On Wisdom, and Building for the Future 🖖 Philip Laureano 🇦🇺 4w
Explore topics
- Sales
- Marketing
- IT Services
- Business Administration
- HR Management
- Engineering
- Soft Skills
- See All