This library contains functions that try to analyze trading signals performance. Like the % of average returns after a long or short signal is provided or the number of times that signal was correct, in the inmediate 2 candles after the signal.
Library "json" JSON Easy Object Create/stringiffy Functions to add/write JSON new (name , kind) -> object set (_item , _obj , _key ) -> key index for parent object's array add (_obj , _key , _item ) -> key index for parent object's array write (object , kind ) -> stringified object // (enter kind to cut off key...
█ OVERVIEW This is a simplest example of user-defined types (UDT) or objects , which simplify as alternative to hello world. █ CREDITS Tradingview █ USAGE These are the types used during initializations, commonly variables. export type Settings int bar float price string phrase ... Example of library function to print out label. ...
█ OVERVIEW This library is a Pine Script™ programmer’s tool containing custom user-defined types and functions to calculate Zig Zag indicators within their scripts. It is not a stand-alone indicator. Pine Script™ libraries are publications that contain reusable code for importing into Pine Script™ indicators, strategies, and other libraries. For more...
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 "BinaryInsertionSort" Library containing functions which can help create sorted array based on binary insertion sort. This sorting will be quicker than array.sort function if the sorting needs to be done on every bar and the size of the array is comparatively big. This is created with the intention of using this to solve a bigger problem posted by...
Library "POA" This library is a client script for making a webhook signal formatted string to POABOT server. entry_message(password, percent, leverage, kis_number) Create a entry message for POABOT Parameters: password : (string) The password of your bot. percent : (float) The percent for entry based on your wallet balance. leverage :...
Library "PlurexSignalStrategy" Provides functions that wrap the built in TradingView strategy functions so you can seemlessly integrate with Plurex Signal automation. NOTE: Be sure to: - set your strategy default_qty_value to the default entry percentage of your signal - set your strategy default_qty_type to strategy.percent_of_equity - set your strategy...
Library "datTable" Dynamic Array Table.... Configurable Shape/Size Table from Arrays Allows for any data in any size combination of arrays to join together with: all possible orientations! filling all cells contiguously and/or flipping at boundaries vertical or horizontal rotation x/y axis direction swapping all types array inputs for data. ...
Library "PlurexSignalCore" General purpose functions and helpers for use in more specific Plurex Signal alerting scripts and libraries plurexMarket() Build a Plurex market string from a base and quote asset symbol. Returns: A market string that can be used in Plurex Signal messages. tickerToPlurexMarket() Builds Plurex market string from the...
Library "ExpansionContraction" Library for Expansion Contraction Indicator, a zero-lag dual perspective indicator created by Brian Latta based on Jake Bernstein’s principles of Moving Average Channel system. calc(shortLookback, longLookback) Calculates Expansion Contraction values. Parameters: shortLookback : Integer for the short lookback...
Library "Stringify" Cast variable types and enumerations to human-readable Strings timeframe(string) Cast a timeframe enumeration to readable string. Parameters: string : `T` is a timeframe enumeration ('3D', '120', '15', '5s' ...) Returns: A string representation of the timeframe or 'NA' if `x` is `na`
Library "EMAFlow" Functions that manipulate a set of 5 MAs created within user-supplied maximum and minimum lengths. The MAs are spaced out (within the range) in a way that approximates how Fibonnaci numbers are spaced. Using MA flow, as opposed to simple crosses of the minimum and maximum lengths, gives more detail, and can result in faster changes and more...
Library "ta" Collection of all custom and enhanced TA indicators. Same as enhanced_ta. But, removed all the displays to make it faster. ma(source, maType, length) returns custom moving averages Parameters: source : Moving Average Source maType : Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median ...
Library "CSMlibrary" TODO: Contains functions to simplify my scripts. Using code snippets in reference manual and elsewhere ..... CSMplot()
Library "Slope_TK" This library calculate the slope of a serie between two points The serie can be ta.ema(close,200) for example The size is the number of bars between the two points for the slope calculation, for example it can be 10 slope_of_ema200 = slope(t a.eam(close, 200) , 10 ) slope( float serie, int size )
Library "libcompress" numbers compressor for large output data compression compress_fp24() converts float to base64 (4 chars) | 24 bits: 1 sign + 5 exponent + 18 mantissa Returns: 4-character base64_1/5/18 representation of x compress_ufp18() converts unsigned float to base64 (3 chars) | 18 bits: 5 exponent + 13 mantissa Returns: 3-character...
Library "racille_arrayutils" The most used array utility functions func_sin() returns sin function as a parameter to calculate the function_array() func_cos() returns cos function as a parameter to calculate the function_array() func_tan() returns tan function as a parameter to calculate the function_array() func_cot() returns cot function...