TradingView
calmrat
Dec 2, 2021 9:35 AM

CRC.lib Bars - Bar Functions 

Bitcoin / U.S. dollarBitstamp

Description

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]

Release Notes

v2

Added:
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

Release Notes

v3

Added:
zigzag_highlow()

Release Notes

v4

Added:
tr()

accdist_sig()

accdist()

Release Notes

v5

Added:
is_between_dates()

change()

cumchange()

Release Notes

v6

Added:
typical_price()

Release Notes

v7
More