PINE LIBRARY

ChopEngine

199
Library "ChopEngine"

chopBase(_high, _low, _len)
  Parameters:
    _high (float)
    _low (float)
    _len (simple int)

gaugeFromCi(_ci, _tl, _cl)
  Parameters:
    _ci (float)
    _tl (simple float)
    _cl (simple float)

chopGauge(_high, _low, _tl, _cl, _len)
  Parameters:
    _high (float)
    _low (float)
    _tl (simple float)
    _cl (simple float)
    _len (simple int)

getChopBase(_sym, _tf)
  Parameters:
    _sym (simple string)
    _tf (simple string)

getChop(_ciPrev, _ci, _tl, _cl)
  Parameters:
    _ciPrev (simple float)
    _ci (simple float)
    _tl (simple float)
    _cl (simple float)

chgStateLabel(_g)
  Parameters:
    _g (float)

chgColor(_chg)
  Parameters:
    _chg (float)

chgCell(_chg, _prefix)
  Parameters:
    _chg (float)
    _prefix (string)

method init(this, _ciPrev, _ci, _tl, _cl)
  Namespace types: Chop
  Parameters:
    this (Chop)
    _ciPrev (float)
    _ci (float)
    _tl (simple float)
    _cl (simple float)

method update(this, _ciPrev, _ci, _tl, _cl)
  Namespace types: Chop
  Parameters:
    this (Chop)
    _ciPrev (float)
    _ci (float)
    _tl (simple float)
    _cl (simple float)

method chgVsPrev(this)
  Namespace types: Chop
  Parameters:
    this (Chop)

method chgVsEod(this)
  Namespace types: Chop
  Parameters:
    this (Chop)

method state(this)
  Namespace types: Chop
  Parameters:
    this (Chop)

method isTrending(this)
  Namespace types: Chop
  Parameters:
    this (Chop)

method isChoppy(this)
  Namespace types: Chop
  Parameters:
    this (Chop)

method isImproving(this)
  Namespace types: Chop
  Parameters:
    this (Chop)

method isDeteriorating(this)
  Namespace types: Chop
  Parameters:
    this (Chop)

Chop
  Fields:
    now (series float)
    prev (series float)
    eod (series float)

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.