Library "Logger" Logger Library based on types and methods. Debugging made easy with this simple utility. To enable debugging, we now just need to add 3 lines of code. import HeWhoMustNotBeNamed/Logger/1 as l var logger = l.Logger.new(minimumLevel = 'DEBUG') logger.init() Once done, use it anywhere in the script with simple logger messages. ...
Library "FrizBug" Debug Tools | Pinescript Debugging Tool Kit All in one Debugger - the benefit of wrapper functions to simply wrap variables or outputs and have the code still execute the same. Perfect for Debugging on Pine str(inp) Overloaded tostring like Function for all type+including Object Variables will also do arrays and matricies of all...
Library "columns" Error Tolerant Matrix Setter/Getter Operations. Easy ways to add/remove items into start and end of Columns as well as arrays to grow and shrink matrix. if mismatched sizes occur the typified NA value will be there to prevent catastrophic crashing. Rows and Columns are split into 2 libraries due to limitations on number of exports as well ...
Library "rows" Error Tolerant Matrix Setter/Getter Operations. Easy ways to add/remove items into start and end of rows as well as arrays to grow and shrink matrix. if mismatched sizes occur the typified NA value will be there to prevent catastrophic crashing. columns and rows are split into 2 libraries due to limitations on number of exports as well as...
Library "condition" True/False Condition tools and toggles for booleans and utility. suggested use is checking if a calculation is required, or can be skipped speeding up script calculations in realtime and historical scenarios. isonlywihtout(_first_cond, _second_cond) output is true only if first true and second false Parameters: _first_cond :...
Library "Console" █ OVERVIEW An easy way to output messages to a console like table using a a simple "print" function that can be called from anywhere in your code including functions. █ Supports: - Scrollable console messages - Customisable number of displayed messages - More than one "console" for different types of output if...
Library "Utilities" General utilities print_series(s, skip_na, position, show_index, from_index, to_index) Print series values Parameters: s : Series (string) skip_na : Flag to skip na values (optional bool, dft = false) position : Position to print the Table (optional string, dft = position.bottom_center) show_index : Flag to show...
Library "catchChecks" Type Check for Function Builders to allow Single item to be passed in, and determine what to do with the item, ie: need an x value? function that allows label, line, box, float, or even a string.. check item type? string ? 'str.tonumber(_item)' can be in the same switch as a 'line.get_price(_item, bar_index)' both outputting float or for...
Library "MiteTricks" Matrix Global Registry. Get, Set, automatic growing, universal get/set, multi-matrix dictionaries, multi-dictionary matrixes.. add slice matrixes of any type, share one common global key registry pull up an item from a category, and item name ie a table of info. same cell needs a color, a size, a string, a value, etc.. all of which can be...
Library "threengine_global_automation_library" A collection of functions used for trade automation getBaseCurrency() Gets the base currency for the chart's ticker. Supported trade pairs are USD, USDT, USDC, BTC, and PERP. Returns: Base currency as a string getChartSymbol() Get the current chart's symbol without the base currency appended to it....
Library "UtilityFunctions" Utility functions written by me printLabelOnLastBar_string(string) Prints string in a label on the last bar Parameters: string : value to print Returns: void printLabelOnLastBar_float(float) Prints float in a label on the last bar Parameters: float : value to print Returns: void ...
Library "ArrayMatrixHUD" Show Array or Matrix Elements In Table For Arrays: Set the number of rows you want the data displayed in and it will generate a table, calculating the columns based on the size of the array being displayed. For Matrix: It will automatically match the Rows and Columns to the values in the matrix. Note: On the left, the table shows the...
Library "HTV_LibraryV2" up_bar() 'up_bar' checks true for every candle that closed above open price. Returns: custom Series Bool last_up_bar() 'last_up_bar' checks true for every last candle that closed above open price. Returns: custom Series Bool down_bar() 'down_bar' checks true for every candle that closed below open price. Returns: custom...
This is a collection of functions either found on the internet, or made by me. This is only public so my other scripts that reference this can also be public. If you find anything useful for you here, be my guest.
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 "_helpers" A library containing helper functions. _arrayFill(int, string) Fill a string array with given size and value. Parameters: int : size Total size of array. string : value The value used for filling. (`NaN` is used if no argument is supplied). Returns: A string array filled with given value. _arrayFill(int, float) Fill a...
This is a draft version of a library intended to clean up my other indicators, thats why probably it won't be heplful for others, and I won't focus on documenting it at the moment. However, if by any chance you plan to use this library, let me know if you need me to document anything.
Library "Toolbelt" changePercentExp(float, int) Get change percent expression for given source Parameters: float : source Source used to generate the change percent value int : barIdx The bar index to use Returns: Change percent expression allTimeHighExp(series) Get data from the bar that cointains all time high of the given...