Library "TrendPivots" This library provides functions to search for bullish and bearish divergences between pivots and indicators. Functions search for higher highs and lower lows, automating lines, labels and signals for technical analysis and strategies. method maxBeforeLast(id) Method function to get the maximum price before the last, stored in an...
Library "TA" General technical analysis functions div_bull(pS, iS, cp_length_after, cp_length_before, pivot_length, lookback, no_broken, pW, iW, hidW, regW) Test for bullish divergence Parameters: pS : Price series (float) iS : Indicator series (float) cp_length_after : Bars after current (divergent) pivot low to be considered a valid...
Library "Pivots" This Library focuses in functions related to pivot highs and lows and some of their applications (i.e. divergences, zigzag, harmonics, support and resistance...) pivots(srcH, srcL, length) Delivers series of pivot highs, lows and zigzag. Parameters: srcH : Source series to look for pivot highs. Stricter applications might source from...
Library "Divergence" Calculates a divergence between 2 series bullish(_src, _low, depth) Calculates bullish divergence Parameters: _src : Main series _low : Comparison series (`low` is used if no argument is supplied) depth : Fractal Depth (`2` is used if no argument is supplied) Returns: 2 boolean values for regular and hidden...
Library "TheDivergentLibrary" The Divergent Library is only useful when combined with the Pro version of The Divergent - Advanced divergence indicator . This is because the Basic (free) version of The Divergent does not expose the "Divergence Signal" value. Usage instructions: 1. Create a new chart 2. Add The Divergent (Pro) indicator to your...