Library "Gauge" The gauge library utilizes a gaugeParams object, encapsulating crucial parameters for gauge creation. Essential attributes include num (the measured value) , min (the minimum value equating to 100% on the gauge's minimum scale) , and max (the maximum value equating to 100% on the gauge's maximum scale) . The size attribute ...
Library "Mad_Fibonaccibox" This library is designed to create and manage multiple Fibonacci boxes, which are graphical representations based on the inputs. ----------------- exports: f_fib_calc(_Fibonacci_box, _itemnumber) fibonacci calc. @description This function block uses the levels and paramters set into the type_fibonacci_box(levels) and fills the...
This library introduces the `PolylinePlus` type, which is an enhanced version of the built-in PineScript `polyline`. It enables two features that are absent from the built-in type: 1. Developers can now efficiently add or remove points from the polyline. In contrast, the built-in `polyline` type is immutable, requiring developers to create a new instance of the...
Library ”StrategyDashboard” Hey, everybody! I haven’t done anything here for a long time, I need to get better ^^. In my strategies, so far private, but not about that, I constantly use dashboards, which clearly show how my strategy is working out. Of course, you can also find a number of these parameters in the standard strategy window, but I prefer to display...
Strategy Statistics This library will add a table with statistics from your strategy. With this library, you won't have to switch to your strategy tester tab to view your results and positions. Usage: You can choose whether to set the table by input fields by adding the below code to your strategy or replace the parameters with the ones you would like to use...
Library "Touched" Breakout(zone, lookback) Tells if the zone has been broken on the current bar. Parameters: zone (Zone) : The definitiin of the zone. lookback (int) : How many bars to look back. Returns: a Touch object that tells if the zone has been broken up or down. FalseBreakout(zone, lookback) Tells if the zone has a false breakout...
Library "TableUtils" Collection of table utility functions getTablePositionByLabel(tablePosition) Return the position for the table by given label. Useful if you want to control the position of the table with a pine script input selector that use a more human friendly labels Parameters: tablePosition (string) : (string) Label of the table position....
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 "Utils" A collection of convenience and helper functions for indicator and library authors on TradingView formatNumber(num) My version of format number that doesn't have so many decimal places... Parameters: num (float) : (float) the number to be formatted Returns: (string) The formatted number getDateString(timestamp) Convenience...
🚀 Introduction Welcome to the TradingView PineScript Library for Discord Webhook Integration! This library is designed for traders and developers who use TradingView for technical analysis and want to integrate their trading strategies with Discord notifications. Key Features: * Embed Creation: Easily create rich and informative embeds for your Discord...
Library "lib_retracement_patterns" types and functions for XABCD pattern detection and plotting method set_tolerances(this, tolerance_Bmin, tolerance_Bmax, tolerance_Cmin, tolerance_Cmax, tolerance_Dmin, tolerance_Dmax) sets tolerances for B, C and D retracements. This creates another Pattern instance that is set as tolerances field on the original and...
Library "lib_plot_composite_objects" library building on top of lib_plot_objects for composite objects such as Triangles and Polygons. heavily using chart.points method tostring(this, date_format) Namespace types: Triangle Parameters: this (Triangle) date_format (simple string) method tostring(this, date_format) Namespace types:...
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
This lightweight library provides a utility method that analyzes any provided background color and automatically chooses the optimal black or white foreground color to ensure maximum visual contrast and readability. 🟠 Algorithm The library utilizes the HSP Color Model to calculate the brightness of the background color. The formula for this calculation is as...
Library "lib_retracement_label" creates a retracement label between the origin and target of a retracement, updating it's position (via update + draw) when the target moves. create_tooltip(name, min, max, tol_min, tol_max) Parameters: name (string) min (float) max (float) tol_min (float) tol_max (float) method update(this)...
Library "Trade" A Trade Tracking Library Monitor conditions with less code by using Arrays. When your conditions are met in chronologically, a signal is returned and the scanning starts again. Create trades automatically with Stop Loss, Take Profit and Entry. The trades will automatically track based on the market movement and update when the targets are...
Library "imlib" Description The library allows you to display images in your scripts utilising the objects. You can change the image size and screen aspect ratio (the ratio of width to height which you can change if the image is too wide / tall). The library has "example()" function which you can use to see how it works. It also has a handy "logo()" function...
Library "multidata" A library for multi-dimensional data arrays. Full documentation: faiyaz7283.github.io This library is designed to enhance data storage capabilities in Pine Script, enabling users to work with two separate data structures: data2d (key -> main-value | alternate-value) and data3d (primary key -> data key-> main-value | alternate-value)....