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...
Library "MathOperator" Methods to handle operators. method add(value_a, value_b) Add value a to b. Namespace types: series float, simple float, input float, const float Parameters: value_a (float) : float, value a. value_b (float) : float, value b. Returns: float. method subtract(value_a, value_b) subtract value b from a. Namespace...
🔵 Introduction The "Zig Zag" indicator is an analytical tool that emerges from pricing changes. Essentially, it connects consecutive high and low points in an oscillatory manner. This method helps decipher price changes and can also be useful in identifying traditional patterns. By sifting through partial price changes, "Zig Zag" can effectively pinpoint...
The TUF_LOGIC library incorporates three-valued logic (also known as trilean logic) into Pine Script, enabling the representation of states beyond the binary True and False to include an 'Uncertain' state. This addition is particularly apt for financial market contexts where information may not always be black or white, accommodating scenarios of partial or...
This is yet another ZigZag library. 🔵 Key Features 1. Lightning-Fast Performance : Optimized code ensures minimal lag and swift chart updates. 2. Real-Time Swing Detection : No more waiting for swings to finalize! This library continuously identifies the latest swing formation. 3. Amplitude-Aware : Discover significant swings earlier, even if they haven't...
Library "lib_fvg" further expansion of my object oriented library toolkit. This lib detects Fair Value Gaps and returns them as objects. Drawing them is a separate step so the lib can be used with securities. It also allows for usage of current/close price to detect fill/invalidation of a gap and to adjust the fill level dynamically. FVGs can be detected while...
Library "arraymethods" Supplementary array methods. delete(arr, index) remove int object from array of integers at specific index Parameters: arr : int array index : index at which int object need to be removed Returns: void delete(arr, index) remove float object from array of float at specific index Parameters: arr : float...
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:...
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...
Description: An optimised library for non-repainting Rational Quadratic Kernel Library. Added lookbackperiod and a validation to prevent division by zero. Thanks to original author jdehorty. Usage: 1. Import the library into your Pine Script code using the library function. import vinayakavajiraya/RationalQuadraticKernelFunction/1 2. Call the Main...
Library "lib_profile" a library with functions to calculate a volume profile for either a set of candles within the current chart, or a single candle from its lower timeframe security data. All you need is to feed the method delete(this) deletes this bucket's plot from the chart Namespace types: Bucket Parameters: this (Bucket) method...
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 "libHTF" libHTF: use HTF values without request.security() This library enables to use HTF candles without request.security(). Basic data structure Using to access values in the same manner as series variable. The last member of HTF array is always latest current TF's data. If new bar in HTF(same as last bar closes), new member is pushed to HTF...
Library "CandlesGroup_Types" CandlesGroup Type allows you to efficiently store and access properties of all the candles in your chart. You can easily manipulate large datasets, work with multiple timeframes, or analyze multiple symbols simultaneously. By encapsulating the properties of each candle within a CandlesGroup object, you gain a convenient and...
Library "lib_zig" Object oriented implementation of ZigZag method tostring(this, date_format) Namespace types: Zigzag Parameters: this (Zigzag) date_format (simple string) method update(this) Namespace types: Zigzag Parameters: this (Zigzag) method draw(this, colors) Namespace types: Zigzag Parameters: this (Zigzag)...
Library "lib_drawing_composites" methods to draw and manage composite obejects. Based on Trendoscope's added Triangle and Polygon composite objects, fixed tostring method output to be actual json method tostring(this, format_date, format, tz, pretty) Converts lib_drawing_types/LineProperties object to a json string representation Namespace types:...
Library "lib_drawing_composite_types" User Defined Types for basic drawing structure. Other types and methods will be built on these. (added type Triangle and Polygon to ) TriangleProperties TriangleProperties object Fields: border_color (series color) : Box border color. Default is color.blue fill_color (series color) : Fill color ...