Hamster-Coder

CandleLib

Hamster-Coder Cập nhật   
Library "CandleLib"
TODO: add library description here

zero()
Phát hành các Ghi chú:
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
Phát hành các Ghi chú:
v3

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

candle_trend()

candle_type_marubotsu()
Phát hành các Ghi chú:
v4
Phát hành các Ghi chú:
v5

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

candle_type_hammer_inverted()
Phát hành các Ghi chú:
v6

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

trend_volume()

trend_reversal_trough_dodge()

trend_reversal_trough_hammer_inverted()

trend_reversal_trough_hammer()

Удалено:
candle_trend()
Phát hành các Ghi chú:
v7

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

trend_reversal()
Phát hành các Ghi chú:
v8
Phát hành các Ghi chú:
v9
Phát hành các Ghi chú:
v10
Phát hành các Ghi chú:
v11
Phát hành các Ghi chú:
v12
Phát hành các Ghi chú:
v13
Phát hành các Ghi chú:
v14
Phát hành các Ghi chú:
v15
Phát hành các Ghi chú:
v16
Phát hành các Ghi chú:
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 candleModel instanses in preinitialized
  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)
Phát hành các Ghi chú:
v18

Добавлено:
barsOffset(target_bar_index)
  Parameters:
    target_bar_index (int)
Phát hành các Ghi chú:
v19

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

barTime(target_bar_index)
  Parameters:
    target_bar_index (int)

Удалено:
barsOffset(target_bar_index)
Phát hành các Ghi chú:
v20
Phát hành các Ghi chú:
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 candleModel instanses in preinitialized

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()
Phát hành các Ghi chú:
v22
Phát hành các Ghi chú:
v23
Phát hành các Ghi chú:
v24
Phát hành các Ghi chú:
v25
Thư viện Pine

Với tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này như một thư viện mã nguồn mở để các lập trình viên Pine khác từ cộng đồng của chúng tôi có thể sử dụng lại nó. Chúc mừng tác giả! Bạn có thể sử dụng thư viện này một cách riêng tư hoặc trong các ấn phẩm mã nguồn mở khác, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy chung.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng thư viện này?

Sao chép văn bản vào khay nhớ tạm và dán nó vào tập lệnh của bạn.