PINE LIBRARY

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]
發行說明
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
發行說明
v3

Added:
zigzag_highlow()
發行說明
v4

Added:
tr()

accdist_sig()

accdist()
發行說明
v5

Added:
is_between_dates()

change()

cumchange()
發行說明
v6

Added:
typical_price()
發行說明
v7
bar_typesMATH

Pine腳本庫

在真正的TradingView精神中,作者將這段Pine程式碼發佈為開源程式庫,以便我們社群的其他Pine程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。

免責聲明