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程序员可以重复使用它。向作者致敬!您可以私下或在其它开源出版物中使用此脚本库,但在出版物中重复使用此代码受网站规则约束。

免责声明