Library "ma_function" TODO: This library is a package of various MAs. ma_function(name, source, length) This function provides the MA specified in the argument. Parameters: name : MA's name source : Source value length : Look back periods Returns: Ma value
Library "TableColorTheme" TODO: This library provides the color for the table. monokai(name) theme: Provides the colors of monokai. Parameters: name : TODO: The name of the color group. Returns: TODO: Returns an array of colors. kolormark.com monokaipro(name) theme: Provides the colors of monokai pro. Parameters: name : TODO: The name of...
Library "LocalLimit" Calculates the local upper or local lower limit for a given series. Applying multiple passes produces what appears like support or resistance levels. See Local Limits for more detail. upper(src) Produces the recent local upper limit for a given series. Parameters: src : The source series to derive from. lower(src) Produces...
Library "UnicodeReplacementFunction" Unicode Characters Replacement function for strings. replaceFont(_str, _fontType) Unicode Character Replace Function Parameters: _str : String input _fontType : Font Type Selector Returns: Replaced Char String with any custom font type choosed
Library "SgjoeLibrary" Custom functions highest_when(float, float) Permits a condition to be used with highest(high,condition) Parameters: float : _high_series The High for the condition float : _when The condition such as close > high Returns: The high(s) at the point(s) the condition was true lowest_when(float, float) Permits a condition...
Library "MomentumSignals" Contains utilities varying algorithms for detecting key changes in momentum. Note: Momentum is not velocity and should be used in conjunction with other indicators. A change in momentum does not mean a reversal of velocity or trend. simple(primary, secondary, len) Compares two series for changes in momentum to derive signal...
Library "GenericTrading" This library aims to collect rare but useful operations for get_most_recent_long_or_short_position_closed_index() : returns most recent long/short closed bar index. get_most_recent_long_or_short_position_open_index() : returns most recent long/short closed bar index. These two functions designed to help to speed up the...
Library "Momentum" Contains utilities varying algorithms for measuring momentum. simple(fast, slow, src, fastType, slowType) Derives momentum from two moving averages of different lengths. Parameters: fast : The length of the fast moving average. slow : The length of the slow moving average. src : The series to measure from. Default is...
Library "arsenal" This library is a collection of weapons that will help us win the war against the market. isNewbar(res, timezone) Checks if the res is in new bar at the current timeframe Parameters: res : - resolution of the bar to check if new timezone : - timezone of the resolution Returns: ch: - 1=true, 0=false
Library "Time" Utilities for measuring time. bar() Gets the number of milliseconds per bar.
Library "Volatility" Functions for determining if volatility (true range) is within or exceeds normal. The "True Range" (ta.tr) is used for measuring volatility. Values are normalized by the volume adjusted weighted moving average (VAWMA) to be more like percent moves than price. current(len) Returns the current price adjusted volatitlity...
Library "DataCleaner" Functions for acquiring outlier levels and acquiring a cleaned version of a series. outlierLevel(src, len, level) Gets the (standard deviation) outlier level for a given series. Parameters: src : The series to average and add a multiple of the standard deviation to. len : The The number of bars to measure. level : The...
Library "LeoLibrary" A collection of custom tools & utility functions commonly used with my scripts getDecimals() Calculates how many decimals are on the quote price of the current market Returns: The current decimal places on the market quote price truncate(float, float) Truncates (cuts) excess decimal places Parameters: float : _number The...
Library "bench" A simple banchmark library to analyse script performance and bottlenecks. Very useful if you are developing an overly complex application in Pine Script, or trying to optimise a library / function / algorithm... Supports artificial looping benchmarks (of fast functions) Supports integrated linear benchmarks (of expensive scripts) One...
Library "GenericTA" What is it? The real generic library. Which means it is just covering most built-in indicators / functions, but with more parameters, so the user don't have to write more few lines to achieve something simple and replicative. Development process? Will tidy it up, and setting up in later stage. Welcome to inbox me to improve the library...
DEBUGGER is a library to help print debug messages to a console. This library provides an easy-to-use interface to print your debugging messages to a console in the chart. Special attention has been given to printing series and arrays easily. A debugger is a valuable tool when working on scripts and getting into trouble. Unfortunately, TradingView does not...
Library "log" A Library to log and display messages in a table, with different colours. The log consists of 3 columns: Bar Index / Message / Log Credits QuantNomad - for his idea on logging messages as Error/Warnings and displaying the color based on the type of the message setHeader(_t, _location, _header1, _header2, _header3, _halign, _valign, _size) Sets...