Hello! This little script tells you everything TradingView lets you access in a ticker's syminfo in Pine Script: - description - type: crypto, economic, forex, fund, futures, index, spread, stock - tickerid, such as AMEX:BLOK - prefix, such as AMEX - Ticker, such as BLOK - root: for derivatives such as futures contracts - currency, such as USD - base currency:...
Library "AbdulLibrary" The library consists of three sections: Technical Analysis Functions - A collection of tools commonly used by day traders Trading Setup Filters Functions - A number of filters that help day traders to screen trading signals Candlestick Pattern Detection Functions - To detect different candlestick patterns that are...
Library "Punchline_Lib" roundSmart(float) Truncates decimal points of a float value based on the amount of digits before the decimal point Parameters: float : _value any number Returns: float tostring_smart(float) converts a float to a string, intelligently cutting off decimal points Parameters: float : _value any number Returns: string
experimental: a basic method to evaluate stock dividend periodicity. known issues: * it does not adapt well to changes in periodicity, if there is a big enough change on the dividend period plan.
a function for relative weighted average using arrays
Function to create a array from a sample taken from a series (ex:. close, hlc3...).
Based on Sort pseudo-array v2 by apozdnyakov - fixed issue where if the same number is repeated in the list it gets skipped - replaced hardcoded 10000 and -10000 values with na in case those values are in the list - added sort_all to demonstrate how to sort a list if the length is fixed
A simple function method to build color gradient palettes to use in scripts