You don't need to initialize anything.. After you import the library you can use .print() as easy as that..! Hope this helps * use a unique ID for each .print() call let me know if you run into any bugs by trying to make it as user friendly as possible i had to do some not ideal things so there's a chance it could present some bugs with a lot of labels...
Library "console" Simple debug console to print messages from your strategy code. USAGE : Make sure your strategy overlay is false Import the library : import keio/console/1 as console init(lines, panes) Initialise function. USAGE : var log = console.init() Parameters: lines : Optional. Number of lines to display panes :...
Library "LoggerLib" This is a logging library for Pinescript. It is aimed to help developers testing and debugging scripts with a simple to use logger function. Pinescript lacks a native logging implementation. This library would be helpful to mitigate this insufficiency. This library uses table to print outputs into its view. It is simple, customizable and...
I found MichelT 's work thanks to LucF . One of its cool concepts that touched me was his error's function. Whenever something unexpected takes place, it returns an error's message right on the chart, one nobody can't say they can't see lol. I told him it would be cool if we could get specific messages related to specific cases, he said "there is a task for such...
In the era of central bank's helicopter money, the market will always be skyrocketing up and up given enough time. What's the strategy to profit from indices? Only short the market when its in a state of euphoria /irrational exuberance bubble, or sell when it is confirmed (20% drawdown). Otherwise, you really have no reason not to long at every chance. ...