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 "DrawIndicatorOnTheChart" this library is used to show an indicator (such RSI, CCI, MOM etc) on the main chart with indicator's horizontal lines in a window. Location of the window is calculated dynamically by last price movemements drawIndicator(indicatorName, indicator, indicatorcolor, period, indimax_, indimin_, levels, precision, xlocation) draws...