Library "math" It's a library of discrete aproximations of a price or Series float it uses Fourier Discrete transform, Laplace Discrete Original and Modified transform and Euler's Theoreum for Homogenus White noice operations. Calling functions without source value it automatically take close as the default source value. Here is a picture of Laplace and...
Library "regressions" This library computes least square regression models for polynomials of any form for a given data set of x and y values. fit(X, y, reg_type, degrees) Takes a list of X and y values and the degrees of the polynomial and returns a least square regression for the given polynomial on the dataset. Parameters: X (array) : (float ) ...
Library "divergingchartpattern" Library having implementation of converging chart patterns getPatternNameByType(patternType) Returns pattern name based on type Parameters: patternType (int) : integer value representing pattern type Returns: string name of the pattern method find(this, sProperties, dProperties, patterns, ohlcArray) find...
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 "aprox" It's a library of the aproximations of a price or Series float it uses Fourier transform and Euler's Theoreum for Homogenus White noice operations. Calling functions without source value it automatically take close as the default source value. Copy this indicator to see how each approximations interact between each other. import...
Library "convergingpatterns" Library having implementation of converging chart patterns getPatternNameByType(patternType) Returns pattern name based on type Parameters: patternType (int) : integer value representing pattern type Returns: string name of the pattern method find(this, sProperties, dProperties, patterns, ohlcArray) find...
Library "basechartpatterns" Library having complete chart pattern implementation getPatternNameById(id) Returns pattern name by id Parameters: id (int) : pattern id Returns: Pattern name method find(points, properties, dProperties, ohlcArray) Find patterns based on array of points Namespace types: chart.point Parameters: points...
Library "abstractchartpatterns" Library having abstract types and methods for chart pattern implementations checkBarRatio(p1, p2, p3, properties) checks if three zigzag pivot points are having uniform bar ratios Parameters: p1 (chart.point) : First pivot point p2 (chart.point) : Second pivot point p3 (chart.point) : Third pivot point ...
Library "chartpatterns" Library having complete chart pattern implementation method draw(this) draws pattern on the chart Namespace types: Pattern Parameters: this (Pattern) : Pattern object that needs to be drawn Returns: Current Pattern object method erase(this) erase the given pattern on the chart Namespace types:...
Library "Zigzag" Zigzag related user defined types. Depends on DrawingTypes library for basic types method tostring(this, sortKeys, sortOrder, includeKeys) Converts ZigzagTypes/Pivot object to string representation Namespace types: Pivot Parameters: this (Pivot) : ZigzagTypes/Pivot sortKeys (bool) : If set to true, string output is sorted by...
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 "ZigLib" Calculate the points for ZigZag++. You can use custom data and resolution for your ZigZag++. Sample Usage import DevLucem/ZigLib/1 as ZigZag = ZigZag.zigzag(low, high) bgcolor(direction<0? color.rgb(255, 82, 82, 80): color.rgb(0, 230, 119, 80)) line zz = line.new(z1.time, z1.price, z2.time, z2.price, xloc.bar_time, width=3) if...
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_pivot" Object oriented implementation of Pivot methods. method tostring(this) Converts HLData to a json string representation Namespace types: HLData Parameters: this (HLData) : HLData Returns: string representation of Pivot method tostring(this, date_format) Namespace types: Pivot Parameters: this (Pivot) ...
Library "lib_plot_objects" library wrapping basic builtin object constructors, to be able to do calculations with points/lines/boxes/triangles/polygons via libraries and on securities. inspired by Trendoscope's ( and ) with added update mechanism to not have to recreate objects on every iteration for continously drawn items, automated xloc selection for...
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 ...
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:...