Library "mZigzag" Matrix implementation of zigzag to allow further possibilities. Main advantage of this library over previous zigzag methods is that you can attach any number of indicator/oscillator information to zigzag calculate(length, ohlc, indicatorHigh, indicatorLow, numberOfPivots) calculates zigzag and related information Parameters: length...
Library "_matrix" Library helps visualize matrix as array of arrays and enables users to use array methods such as push, pop, shift, unshift etc along with cleanup activities on drawing objects wherever required unshift(mtx, row) unshift array of lines to first row of the matrix Parameters: mtx : matrix of lines row : array of lines to be...
Library "drawingutils" Private methods used in my scripts for some basic and customized drawings. No documentation provided as these are meant for private use only. draw_line() draw_label() draw_linefill() draw_labelled_line() draw_labelled_box() runTimer()
Library "eHarmonicpatternsExtended" Library provides an alternative method to scan harmonic patterns. This is helpful in reducing iterations. Republishing as new library instead of existing eHarmonicpatterns because I need that copy for existing scripts. scan_xab(bcdRatio, err_min, err_max, patternArray) Checks if bcd ratio is in range of any harmonic...
Library "eStrategy" Library contains methods which can help build custom strategy for continuous investment plans and also compare it with systematic buy and hold. sip(startYear, initialDeposit, depositFrequency, recurringDeposit, buyPrice) Depicts systematic buy and hold over period of time Parameters: startYear : Year on which SIP is started ...
Library "historicalrange" Library provices a method to calculate historical percentile range of series. hpercentrank(source) calculates historical percentrank of the source Parameters: source : Source for which historical percentrank needs to be calculated. Source should be ranging between 0-100. If using a source which can beyond 0-100, use short...
Library "eHarmonicpatterns" Library provides an alternative method to scan harmonic patterns. This is helpful in reducing iterations scan_xab(bcdRatio, err_min, err_max, patternArray) Checks if bcd ratio is in range of any harmonic pattern Parameters: bcdRatio : AB/XA ratio err_min : minimum error threshold err_max : maximum error...
Library "_arrayutils" Library contains utility functions using arrays. delete(arr, index) remove an item from array at specific index. Also deletes the item Parameters: arr : - array from which the item needs to be deleted index : - index of item to be deleted Returns: void pop(arr) remove the last item from array. Also deletes the...
Library "harmonicpatterns" harmonicpatterns: methods required for calculation of harmonic patterns. These are customised to be used in my scripts. But, also simple enough for others to make use of :) isGartleyPattern(xabRatio, abcRatio, bcdRatio, xadRatio, err_min, err_max) isGartleyPattern: Checks for harmonic pattern Gartley Parameters: xabRatio :...