Hamster-Coder

CandleLib

Hamster-Coder Telah dikemas kini   
Library "CandleLib"
TODO: add library description here

zero()
Nota Keluaran:
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
Nota Keluaran:
v3

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

candle_trend()

candle_type_marubotsu()
Nota Keluaran:
v4
Nota Keluaran:
v5

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

candle_type_hammer_inverted()
Nota Keluaran:
v6

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

trend_volume()

trend_reversal_trough_dodge()

trend_reversal_trough_hammer_inverted()

trend_reversal_trough_hammer()

Удалено:
candle_trend()
Nota Keluaran:
v7

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

trend_reversal()
Nota Keluaran:
v8
Nota Keluaran:
v9
Nota Keluaran:
v10
Nota Keluaran:
v11
Nota Keluaran:
v12
Nota Keluaran:
v13
Nota Keluaran:
v14
Nota Keluaran:
v15
Nota Keluaran:
v16
Nota Keluaran:
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)
Nota Keluaran:
v18

Добавлено:
barsOffset(target_bar_index)
  Parameters:
    target_bar_index (int)
Nota Keluaran:
v19

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

barTime(target_bar_index)
  Parameters:
    target_bar_index (int)

Удалено:
barsOffset(target_bar_index)
Nota Keluaran:
v20
Nota Keluaran:
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()
Nota Keluaran:
v22
Nota Keluaran:
v23
Nota Keluaran:
v24
Nota Keluaran:
v25
Perpustakaan Pine

Di dalam semangat sebenar TradingView, pengarang telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka, jadi pengaturcara-pengaturcara Pine yang lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara peribadi atau pada penerbitan-penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini di dalam penerbitan adalah ditadbir oleh Peraturan Dalaman.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Mahu gunakan perpustakaan ini?

Salin garisan ini dan tampalkan ia di dalam skrip anda.