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)

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。