PINE LIBRARY
Telah dikemas kini CRC.lib Bars - Bar Functions

Library "CRCBars"
min_max(open, open) Get bar min (low) and max (high) price points
Parameters:
open: Open price data
open: Close price data
Returns: [min_price, max_price]
is_bullish_bearish(open, open) Get bar bullish/bearish boolean signals
Parameters:
open: Open price data
open: Close price data
Returns: [is_bullish, is_bearish]
sizes(open, open, open, open) Get bar sizes based on open/high/low/close data
Parameters:
open: Open price data
open: High price data
open: Low price data
open: Close price data
Returns: [body_size, wick_bottom_size, wick_top_size]
min_max(open, open) Get bar min (low) and max (high) price points
Parameters:
open: Open price data
open: Close price data
Returns: [min_price, max_price]
is_bullish_bearish(open, open) Get bar bullish/bearish boolean signals
Parameters:
open: Open price data
open: Close price data
Returns: [is_bullish, is_bearish]
sizes(open, open, open, open) Get bar sizes based on open/high/low/close data
Parameters:
open: Open price data
open: High price data
open: Low price data
open: Close price data
Returns: [body_size, wick_bottom_size, wick_top_size]
Nota Keluaran
v2Added:
zigzag_basic(bars_lookback, price_range) Basic ZigZag
Parameters:
bars_lookback: bars lookback (float)
price_range: price range (float)
Returns: tuple with: zigzag, direction, reverse_line, realtimeofpivot
Nota Keluaran
v3Added:
zigzag_highlow()
Nota Keluaran
v4Added:
tr()
accdist_sig()
accdist()
Nota Keluaran
v5Added:
is_between_dates()
change()
cumchange()
Nota Keluaran
v6Added:
typical_price()
Nota Keluaran
v7Perpustakaan Pine
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.
Penafian
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.
Perpustakaan Pine
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.
Penafian
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.