PINE LIBRARY
Updated Jags_Lib

Library "Jags_Lib"
TODO: add library description here
ComplexRejBear(_can)
Returns whether candle is a rejection based on complex rules within library
Parameters:
_can (int)
Returns: true/false
ComplexRejBull(_can)
Returns whether candle is a rejection based on complex rules within library
Parameters:
_can (int)
Returns: true/false
bullHCS(_can, _lookback)
Returns whether current candle is creating a bull HCS
Parameters:
_can (int)
_lookback (int)
Returns: integer value representing the first candle in the HCS. 0 = no HCS
bearHCS(_can, _lookback)
Returns whether current candle is creating a bear HCS
Parameters:
_can (int)
_lookback (int)
Returns: integer value representing the first candle in the HCS. 0 = no HCS
bullIBLQtake(_can, _lookback)
Returns whether current candle is is a BullRej which has taken IB liquidiy in the last _lookback candles
Parameters:
_can (int)
_lookback (int)
Returns: integer value representing the first candle in the HCS. 0 = no HCS
bearIBLQtake(_can, _lookback)
Returns whether current candle is is a BearRej which has taken IB liquidiy in the last _lookback candles
Parameters:
_can (int)
_lookback (int)
Returns: integer value representing the first candle in the HCS. 0 = no HCS
TODO: add library description here
ComplexRejBear(_can)
Returns whether candle is a rejection based on complex rules within library
Parameters:
_can (int)
Returns: true/false
ComplexRejBull(_can)
Returns whether candle is a rejection based on complex rules within library
Parameters:
_can (int)
Returns: true/false
bullHCS(_can, _lookback)
Returns whether current candle is creating a bull HCS
Parameters:
_can (int)
_lookback (int)
Returns: integer value representing the first candle in the HCS. 0 = no HCS
bearHCS(_can, _lookback)
Returns whether current candle is creating a bear HCS
Parameters:
_can (int)
_lookback (int)
Returns: integer value representing the first candle in the HCS. 0 = no HCS
bullIBLQtake(_can, _lookback)
Returns whether current candle is is a BullRej which has taken IB liquidiy in the last _lookback candles
Parameters:
_can (int)
_lookback (int)
Returns: integer value representing the first candle in the HCS. 0 = no HCS
bearIBLQtake(_can, _lookback)
Returns whether current candle is is a BearRej which has taken IB liquidiy in the last _lookback candles
Parameters:
_can (int)
_lookback (int)
Returns: integer value representing the first candle in the HCS. 0 = no HCS
Release Notes
v2Updated:
bullIBLQtake(_can, _lookback)
Returns whether current candle is is a BullRej which has taken IB liquidiy in the last _lookback candles
Parameters:
_can (int)
_lookback (int)
Returns: integer value representing the IB that was found and it's liquidity taken. 0 = not found
bearIBLQtake(_can, _lookback)
Returns whether current candle is is a BearRej which has taken IB liquidiy in the last _lookback candles
Parameters:
_can (int)
_lookback (int)
Returns: integer value representing the IB that was found and it's liquidity taken. 0 = not found
Release Notes
v3Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.