OVERVIEW This script is a tinny library for creating and displaying formatted values in TradingView scripts. It provides a structured way to present key information like titles, percentages, currency values, decimals, and integers with clear formatting. This allows you to coordinate your strings in advance and hold one item to use for calling your string to a...
Library "formattingUtilities" toPercentageString(x, decimals) : Converts a decimal number into a string formatted as percentage. Parameters: x (float) : (simple float): Float number to be converted decimals (int) : (simple int): Number of decimals to apply Returns: : Returns a string with x as percentage. toFactorString(x,...
Library "utilities" toPercentageString(x, decimals) : Converts a decimal number into a string formatted as percentage. Parameters: x (float) : (simple float): Float number to be converted decimals (int) : (simple int): Number of decimals to apply Returns: : Returns a string with x as percentage. toFactorString(x, decimals)...
Library "StyleLibrary" A small library of Pine Script functions that return built-in style variables. method sizeStyle(size) Takes a `string` that returns the corresponding built-in size style variable. Namespace types: series string, simple string, input string, const string Parameters: size (string) : A `string` representing a built-in size...
🔵 Introduction Harmonic patterns blend geometric shapes with Fibonacci numbers, making these numbers fundamental to understanding the patterns. One person who has done a lot of research on harmonic patterns is Scott Carney.Scott Carney's research on harmonic patterns in technical analysis focuses on precise price structures based on Fibonacci ratios to identify...
Library "Objects" A collection of frequently used objects functions in my scripts. method getType(this) Identifies an object's type. Namespace types: series int, simple int, input int, const int Parameters: this (int) : Object to inspect. Returns: A string representation of the type. method getType(this) Namespace types: series float,...
🔵 Introduction One of the challenges of script users is matching the colors used in indicators or strategies. By default, colors are chosen to display based on either the dark theme or the light theme. In scripts with a large number of colors used, changing all colors to better display in dark mode or light mode can be a difficult and tedious process. This...
Library "Complex" This library includes user-defined complex type, and functions to perform basic arithmetic operations on complex numbers. real(radius, angle) Calculates the real part of a complex number based on its polar coordinates. Parameters: radius (float) angle (float) imag(radius, angle) Calculates the imaginary part of a...
Library "Binary" This library includes functions to convert between decimal and binary numeral formats, and logical and arithmetic operations on binary numbers. method toBin(value) Converts the provided boolean value into binary integers (0 or 1). Namespace types: series bool, simple bool, input bool, const bool Parameters: value (bool) :...
Library "ColourUtilities" Utility functions for colour manipulation adjust_colour(rgb, desaturation_amount, transparency_amount) to reduce saturation or increase transparency of an RGB colour Parameters: rgb (color) desaturation_amount (float) : 0 means no desaturation (colours remains as-is), and 1 means full desaturation (colour turns grey)....
🔵 Introduction Perhaps one of the most challenging tasks for Pine script developers (especially beginners) is properly drawing order blocks. While utilizing the latest technical analysis methods for "Price Action," beginners heavily rely on accurately plotting "Supply" and "Demand" zones, following concepts like "Smart Money Concept" and "ICT". However,...
Library "MarkdownUtils" This library shows all of CommonMark's formatting elements that are currently (2024-03-30) available in Pine Script® and gives some hints on how to use them. The documentation will be in the tooltip of each of the following functions. It is also logged into Pine Logs by default if it is called. We can disable the logging by setting...
Library "AlertSenderLibrary_TradingFinder" 🔵 Introduction The "Alert Sender Library" is a management and production program for "Alert Messages" that enables the creation of unique messages for any type of signal generated by indicators or strategies. These messages include the direction of the signal, symbol, time frame, the date and time the condition was...
The "Pineify/common" library presents a specialized toolkit crafted to empower traders and script developers with state-of-the-art time manipulation functions on the TradingView platform. It is instead a foundational utility aimed at enriching your script's ability to process and interpret time-based data with unparalleled precision. Key Features String...
Library "Table" This library provides an easy way to convert arrays and matrixes of data into tables. There are a few different implementations of each function so you can get more or less control over the appearance of the tables. The basic rule of thumb is that all matrix rows must have the same number of columns, and if you are providing multiple...
Library "printer" Printer Library, designed to streamline the process of printing data directly onto charts while offering advanced features for enhanced functionality. For full documentation, please visit faiyaz7283.github.io
Library "CryptoSpotSymbols" This Library has one purpose only. It generate Symbols for the Crypto Spot Market, like all the currencies pairs of most Crypto Exchanges available to TradingView. Have a look at .find() , which is an all in one function. Binance(basecurrency) Generate 27 Symbols for the Spot Market of Binance. Parameters: ...
Library "Tooltip" This library helps creating and managing nice looking data (key/value) tooltips that you can use for labels. The tooltips data key/value will align automatically. It is optional to convert the data to a values only string too. method addSpacesToKey(this) Calculates the amount of spaces needed after the key to make it the key least 4...