PINE LIBRARY
מעודכן

MirPapa_Lib_candle

48
Library "MirPapa_Lib_candle"

calculateBoxDimensions(_boxW, _extraW, _spacingVal)
  Parameters:
    _boxW (int)
    _extraW (int)
    _spacingVal (int)

calculateBoxPosition(_index, _currentBar, _offset, _dims)
  Parameters:
    _index (int)
    _currentBar (int)
    _offset (int)
    _dims (BoxDimensions)

createCandleData(_o, _h, _l, _c, _idx)
  Parameters:
    _o (float)
    _h (float)
    _l (float)
    _c (float)
    _idx (int)

createCandleObjects(_idx, _config)
  Parameters:
    _idx (int)
    _config (RenderConfig)

deleteCandleObjects(_obj)
  Parameters:
    _obj (CandleObjects)

renderBox(_b, _data, _pos, _bull, _bear, _border)
  Parameters:
    _b (box)
    _data (CandleData)
    _pos (BoxPosition)
    _bull (color)
    _bear (color)
    _border (color)

renderWicks(_wickT, _wickB, _data, _pos)
  Parameters:
    _wickT (line)
    _wickB (line)
    _data (CandleData)
    _pos (BoxPosition)

renderExtendLines(_ol, _hl, _ll, _cl, _data, _rightX, _show)
  Parameters:
    _ol (line)
    _hl (line)
    _ll (line)
    _cl (line)
    _data (CandleData)
    _rightX (int)
    _show (bool)

renderValueLabels(_lo, _lh, _ll, _lc, _data, _rightX, _show)
  Parameters:
    _lo (label)
    _lh (label)
    _ll (label)
    _lc (label)
    _data (CandleData)
    _rightX (int)
    _show (bool)

generateStatsText(_data)
  Parameters:
    _data (CandleData)

calculateStatsColor(_data, _config)
  Parameters:
    _data (CandleData)
    _config (StatsConfig)

renderStatsLabel(_lbl, _data, _rightX, _show, _config, _labelStyle, _labelSize)
  Parameters:
    _lbl (label)
    _data (CandleData)
    _rightX (int)
    _show (bool)
    _config (StatsConfig)
    _labelStyle (string)
    _labelSize (string)

createPrevDailyLines(_dayStart, _high, _low, _currentTime, _highCol, _lowCol, _vertCol, _lineWidth, _lineStyle)
  Parameters:
    _dayStart (int)
    _high (float)
    _low (float)
    _currentTime (int)
    _highCol (color)
    _lowCol (color)
    _vertCol (color)
    _lineWidth (int)
    _lineStyle (string)

updatePrevDailyLines(_lines, _dayStart, _high, _low)
  Parameters:
    _lines (PrevDailyLines)
    _dayStart (int)
    _high (float)
    _low (float)

extendPrevDailyLines(_lineH, _lineL, _currentTime)
  Parameters:
    _lineH (line)
    _lineL (line)
    _currentTime (int)

renderCandle(_obj, _data, _pos, _bull, _bear, _border, _showExt, _showLbl)
  Parameters:
    _obj (CandleObjects)
    _data (CandleData)
    _pos (BoxPosition)
    _bull (color)
    _bear (color)
    _border (color)
    _showExt (bool)
    _showLbl (bool)

CandleData
  Fields:
    _top (series float)
    _bottom (series float)
    _high (series float)
    _low (series float)
    _open (series float)
    _close (series float)
    _isBull (series bool)
    _barIndex (series int)

CandleObjects
  Fields:
    _boxObj (series box)
    _wickTop (series line)
    _wickBottom (series line)
    _highLine (series line)
    _lowLine (series line)
    _openLine (series line)
    _closeLine (series line)
    _lblO (series label)
    _lblH (series label)
    _lblL (series label)
    _lblC (series label)

PrevDailyLines
  Fields:
    _high (series float)
    _low (series float)
    _dayStart (series int)
    _lineHigh (series line)
    _lineLow (series line)
    _lineVertical (series line)

BoxPosition
  Fields:
    _leftX (series int)
    _rightX (series int)
    _midX (series int)

BoxDimensions
  Fields:
    _width (series int)
    _gap (series int)

RenderConfig
  Fields:
    _bullColor (series color)
    _bearColor (series color)
    _borderColor (series color)
    _wickColor (series color)
    _lineColor (series color)
    _labelBgColor (series color)
    _labelTextColor (series color)
    _labelStyle (series string)
    _labelSize (series string)
    _lineStyle (series string)
    _lineExtend (series string)

StatsConfig
  Fields:
    _positiveColor (series color)
    _negativeColor (series color)
    _transparency (series int)
הערות שחרור
v2

더해짐
renderCandleVertical(_vertLine, _startTime, _high, _low, _show)
  Parameters:
    _vertLine (line)
    _startTime (int)
    _high (float)
    _low (float)
    _show (bool)

renderCandleLines(_highLine, _lowLine, _startTime, _endTime, _high, _low, _show)
  Parameters:
    _highLine (line)
    _lowLine (line)
    _startTime (int)
    _endTime (int)
    _high (float)
    _low (float)
    _show (bool)

업데이트됨
createCandleObjects(_idx, _config, _candleHighCol, _candleLowCol, _candleLineWidth, _candleLineStyle)
  Parameters:
    _idx (int)
    _config (RenderConfig)
    _candleHighCol (color)
    _candleLowCol (color)
    _candleLineWidth (int)
    _candleLineStyle (string)

CandleObjects
  Fields:
    _boxObj (series box)
    _wickTop (series line)
    _wickBottom (series line)
    _highLine (series line)
    _lowLine (series line)
    _openLine (series line)
    _closeLine (series line)
    _verticalLine (series line)
    _candleHighLine (series line)
    _candleLowLine (series line)
    _lblO (series label)
    _lblH (series label)
    _lblL (series label)
    _lblC (series label)
הערות שחרור
v3

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.