What is the equivalent of console.log in pine-script?
NOTES While this answer’s content is not deprecated, the Pine User Manual now contains a page on debugging techniques explaining much of this answer’s content, and more. RicardoSantos has a very nice DebugConsole library which v5 users can access. There is actually something similar to a console for Pine developers; it’s the Data Window. We … Read more