PINE LIBRARY

CandleLib

已更新
Library "CandleLib"
TODO: add library description here

zero()
發布通知
v2

Добавлено:
candle_body()

candle_shadow_top()

candle_shadow_bottom()

candle_body_sma(length)
  Parameters:
    length

candle_type_dodge()

Обновлено:
zero(maxSize)
  Get approximate candle zero size
  Parameters:
    maxSize: mitiplier to avarage body size of the candle
發布通知
v3

Добавлено:
candle_type_spin()

candle_trend()

candle_type_marubotsu()
發布通知
v4
發布通知
v5

Добавлено:
candle_type_hammer()

candle_type_hammer_inverted()
發布通知
v6

Добавлено:
trend_candle()

trend_volume()

trend_reversal_trough_dodge()

trend_reversal_trough_hammer_inverted()

trend_reversal_trough_hammer()

Удалено:
candle_trend()
發布通知
v7

Добавлено:
trend_candle_changed()

trend_reversal()
發布通知
v8
發布通知
v9
發布通知
v10
發布通知
v11
發布通知
v12
發布通知
v13
發布通知
v14
發布通知
v15
發布通知
v16
發布通知
v17

Добавлено:
createCandle()
  Creates instance of the candleModel

barsAllByOffset(predicate, from_offset, to_offset)
  Parameters:
    predicate (bool)
    from_offset (int)
    to_offset (int)

barsAnyByOffset(predicate, from_offset, to_offset)
  Parameters:
    predicate (bool)
    from_offset (int)
    to_offset (int)

barsAllByBarIndex(predicate, from_index, to_index)
  Parameters:
    predicate (bool)
    from_index (int)
    to_index (int)

barsAnyByBarIndex(predicate, from_index, to_index)
  Parameters:
    predicate (bool)
    from_index (int)
    to_index (int)

collectCandles(storage, count)
  collectes last [count] candleModel instanses in preinitialized [storage]
  Parameters:
    storage (candleModel[])
    count (int)

candleModel
  Fields:
    high (series__float)
    low (series__float)
    close (series__float)
    open (series__float)
    bar_index (series__float)
    side (series__integer)
    size (series__float)
    body (series__float)
    tail_top (series__float)
    tail_bottom (series__float)
發布通知
v18

Добавлено:
barsOffset(target_bar_index)
  Parameters:
    target_bar_index (int)
發布通知
v19

Добавлено:
barOffset(target_bar_index)
  Parameters:
    target_bar_index (int)

barTime(target_bar_index)
  Parameters:
    target_bar_index (int)

Удалено:
barsOffset(target_bar_index)
發布通知
v20
發布通知
v21

Добавлено:
zeroSize(ethalon, maxSize)
  Get approximate candle zero size
  Parameters:
    ethalon (float)
    maxSize (simple float): mitiplier to avarage body size of the candle

method isDodge(candle, zero_size)
  Namespace types: candleModel
  Parameters:
    candle (candleModel)
    zero_size (float)

method isSpin(candle, zero_size)
  Namespace types: candleModel
  Parameters:
    candle (candleModel)
    zero_size (float)

method isMarubotsu(candle, zero_size)
  Namespace types: candleModel
  Parameters:
    candle (candleModel)
    zero_size (float)

method isHammer(candle, zero_size)
  Namespace types: candleModel
  Parameters:
    candle (candleModel)
    zero_size (float)

isHammerInverted(candle, zero_size)
  Parameters:
    candle (candleModel)
    zero_size (float)

Удалено:
collectCandles(storage, count)
  collectes last [count] candleModel instanses in preinitialized [storage]

candle_body()

candle_shadow_top()

candle_shadow_bottom()

candle_body_sma(length)

zero(maxSize)
  Get approximate candle zero size

candle_type_dodge()

candle_type_spin()

candle_type_marubotsu()

candle_type_hammer()

candle_type_hammer_inverted()

trend_candle()

trend_volume()

trend_candle_changed()

trend_reversal_trough_dodge()

trend_reversal_trough_hammer_inverted()

trend_reversal_trough_hammer()

trend_reversal()
發布通知
v22
發布通知
v23
發布通知
v24
發布通知
v25
bar_types

Pine腳本庫

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

免責聲明