🔵 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 "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...
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 "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...
Lib:Generator This library generate levels that could be used inside SNG scripts and strategies. Also uses beta version of SNG Types library
You don't need to initialize anything.. After you import the library you can use .print() as easy as that..! Hope this helps * use a unique ID for each .print() call let me know if you run into any bugs by trying to make it as user friendly as possible i had to do some not ideal things so there's a chance it could present some bugs with a lot of labels...
Library "cphelper" ACPU helper library - for private use. Not so meaningful for others. calculate_rr(targetArray, rrArray, breakevenOnTarget1) calculates risk reward for given targets Parameters: targetArray (float ) : array of targets rrArray (float ) : array of risk reward breakevenOnTarget1 (simple bool) : option to breakeven Returns:...