Library "Waves" Methods for elliot wave detection method delete(this) deletes the subwave drawing Namespace types: Subwave Parameters: this (Subwave) : Subwave object to be deleted Returns: deleted subwave object method delete(this) deletes the wave drawing and the corresponding subwaves Namespace types: Wave Parameters: this...
Library "Drawing" User Defined types and methods for basic drawing structure. Consolidated from the earlier libraries - DrawingTypes and DrawingMethods method get_price(this, bar) get line price based on bar Namespace types: Line Parameters: this (Line) : (series Line) Line object. bar (int) : (series/int) bar at which line price need to be...
Library "CandleAnalysis" A collection of frequently used candle analysis functions in my scripts. isBullish(barsBack) Checks if a specific bar is bullish. Parameters: barsBack (int) : (int) The number of bars to look back. The default is 0 (current bar). Returns: True if the bar is bullish, otherwise returns false. isBearish(barsBack) Checks...
Library "MarketAnalysis" A collection of frequently used market analysis functions in my scripts. bullFibRet(priceLow, priceHigh, fibLevel) Calculates a bullish fibonacci retracement value. Parameters: priceLow (float) : (float) The lowest price point. priceHigh (float) : (float) The highest price point. fibLevel (float) : (float) The...
Library "MarcosLibrary" A colection of frequently used functions in my scripts. bullFibRet(priceLow, priceHigh, fibLevel) Calculates a bullish fibonacci retracement value. Parameters: priceLow (float) : (float) The lowest price point. priceHigh (float) : (float) The highest price point. fibLevel (float) : (float) The fibonacci level to...
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 "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...
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 ) ...
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)...