The fact that GPT can generate Pine Script™ code has garnered much attention lately. While the perspective of making natural language requests to an AI to generate code is understandably attractive, it is unfortunately not something traders should use as a substitute for learning to program or finding a freelancer who will program for them if they are not interested in learning to code.
Simply put, the core of the problem lies in the fact that code generated by software like GPT is unreliable. Only someone who already knows Pine can analyze it and make the inevitable changes required for it to work as intended.
Would you rely on a code you cannot trust to trade your money? Those who can answer "yes" to that question are gamblers — not traders — and they most probably won't be reading this publication anyway. Because you are reading this, we assume that you are, or hope to become a trader, in which case elementary risk management would dictate that you consider GPT-generated Pine code with suspicion and not use it to make your trading decisions.
Some of the typical problems you can expect of GPT-generated Pine Script™ code are that its logic will not do what you asked it to do and that it will frequently fail to compile because its syntax is malformed, among other reasons because it mixes up different versions of Pine.
Consequently, we have decided not to allow requests to fix GPT-related code in the Q&A forums where PineCoders answer programming questions. We believe this is the best way to support our community's all-important volunteers who contribute their valuable time and knowledge to help Pine programmers facing programming challenges. Our Q&A forums are not indicator-writing services for traders who do not code in Pine. For that, traders can use our list of Trusted Pine Script™ Programmers for Hire to find a reliable freelancer they will pay to do the work for them.
If you are interested in learning Pine Script™, start here.
Whether you program or not, do not miss the opportunity to explore our 100,000-strong Community Scripts published by TradingViewers who so graciously share their work with our community.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.