0xTheChartist
New member
Use ChatGPT to create Indicator - No Code Tutorial
How many times do you want to combine 2 or more indicators into one indicator but you don't know how to code?
How many times do you want to customize your indicator like add orders, change color, or input… but you cannot code?
How many times do you look at the lines of code of an indicator but you don't know how it works? Is it good? Is it repaint?
You don't know, you want to, but you are not a coder, you are only a trader.
In this topic, I will guide you on how to use chatGPT to build your best trading strategy from scratch.
After this topic, you will be able to combine indicators, customize your indicators, and understand every single line code of these indicators.
Join my discord, a group that all non-coders can discuss freely and also free Tradingview Premium: Join the The Chartist Discord Server!
#1 Version 4 only
Here is an example of when I created a strategy built from 4 EMAs and 1 Bollinger band with buy/sell orders. Pinescript V4 generated from ChatGPT has no error at all, and we will have an error like in the image above showed that the function crossover cannot be found.
The biggest reason is that ChatGPT's data is mostly before 2021, there are not enough references about Pine script version 5 for ChatGPT to understand deeply, but it still can write Pine script version 4 as well.
#2 Break down the job into smaller tasks
Never try to demand ChatGPT to complete a really complex indicator with multiple different functions. You will waste your days on fixing errors and get nothing after all.
That's it, after that, you can tell it to do whatever you want base on the indicator you created, like add buy/sell orders, change color, linewidth…
#3 Combine indicators
Step by step as I mentioned in #2, start with one indicator first, then add more indicators after the first one which works fine.
#4 Customize the indicators
#5 Dig deeper
Just paste the code into ChatGPT then tell it and explain it to you, the shortest way, the most relaxing way to learn pine script and complete your strategy.
Join my discord, a group that all non-coders can discuss freely and also free Tradingview Premium: Join the The Chartist Discord Server!