Motive Wave Scanner is a simple algorithm to find out motive waves as per the rules of Elliott Wave theory. It is an extension to our previous open source script Interactive Motive Wave Checklist which provides interactive capability to select six points of a five wave formation. Once users select them, the rules of motive waves are applied to manually...
Over the years, we have extensively explored and published numerous scripts centered around various chart patterns, including Harmonic Patterns, Reversal Patterns, Elliott Waves, and more. Our expertise in these areas has led to frequent requests for an indicator based on the ABCD pattern. Although we didn't include it as part of our Harmonic Patterns collection,...
Library "BinaryInsertionSort" Library containing functions which can help create sorted array based on binary insertion sort. This sorting will be quicker than array.sort function if the sorting needs to be done on every bar and the size of the array is comparatively big. method binary_search_basic(sortedArray, item, order) binary_search_basic - finds the...
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...
In this indicator, we demonstrate how to plot oscillator behavior of oversold-overbought against price movements in the form of scatterplots and perform analysis. Scatterplots are drawn on a graph containing x and y-axis, where x represent one measure whereas y represents another. We use the library Graph to collect the data and plot it as...
Library "Graph" Library to collect data and draw scatterplot and heatmap as graph method init(this) Initialise Quadrant Data Namespace types: Quadrant Parameters: this (Quadrant) : Quadrant object that needs to be initialised Returns: current Quadrant object method init(this) Initialise Graph Data Namespace types: Graph Parameters: ...
Library "InsertionSort" Library of sorting algorithm for binary insertion sort and related methods method binary_insertion_sort(sortedArray, item, order) binary insertion sort - inserts item into sorted array while maintaining sort order Namespace types: array Parameters: sortedArray (array) : array which is assumed to be sorted in the requested...
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 "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 "simpletrade" Library with Simple Trade types and tracking mechanism method evaluate(this) Evaluate current trade and update status Namespace types: SimpleTrade Parameters: this (SimpleTrade) : SimpleTrade object that need to be evaluated Returns: current SimpleTrade object method erase(this) Erase SimpleTrade drawings Namespace...
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 ...
🎲 An extension to Chart Patterns based on Trend Line Pairs - Flags and Pennants After exploring Algorithmic Identification and Classification of Chart Patterns and developing Auto Chart Patterns Indicator , we now delve into extensions of these patterns, focusing on Flag and Pennant Chart Patterns. These patterns evolve from basic trend line pair-based...
🎲 Introducing our most comprehensive automatic chart pattern recognition indicator. Last week, we published an idea on how to algorithmically identify and classify chart patterns. This indicator is nothing but the initial implementation of the idea. Whatever we explained in that publication that users can do manually to identify and classify the pattern, this...
Library "ohlc" Library having OHLC and Indicator type and method implementations. getOhlcArray(o, h, l, c, barindex, bartime, indicators) get array of OHLC values when called on every bar Parameters: o (float) : Open price h (float) : High Price l (float) : Low Price c (float) : Close Price barindex (int) : bar_index of OHLC...
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 "LineWrapper" Wrapper Type for Line. Useful when you want to store the line details without drawing them. Can also be used in scnearios where you collect lines to be drawn and draw together towards the end. method draw(this) draws line as per the wrapper object contents Namespace types: Line Parameters: this (Line) : (series Line) Line...