PINE LIBRARY

Draw

34
Library "Draw"
Draw patterns, lines, labels, shapes etc.

pat_colors(bull, buLn, beLn, ltxt)
  Parameters:
    bull (bool)
    buLn (color)
    beLn (color)
    ltxt (color)

size(size)
  Parameters:
    size (string)

label_style(style)
  Parameters:
    style (string)

line_style(style)
  Parameters:
    style (string)

font_size(size)
  Parameters:
    size (string)

xabcd(xX, xY, aX, aY, bX, bY, cX, cY, dX, dY, iE, bull, bu, be)
  Draw XABCD pattern
  Parameters:
    xX (int)
    xY (float)
    aX (int)
    aY (float)
    bX (int)
    bY (float)
    cX (int)
    cY (float)
    dX (int)
    dY (float)
    iE (float)
    bull (bool)
    bu (color)
    be (color)

xabcd_inProgress(bull, type, tLimit, entry, stop, t1, t2, bcNt, bcFt, xaNt, xaFt, xX, xY, aY, bX, bY, cY, dX, dY, cBu, cBe, lTxt)
  draw PRZ, entry, stop, targets, and projected reversal paths for XABCD pattern
  Parameters:
    bull (bool)
    type (int)
    tLimit (int)
    entry (float)
    stop (float)
    t1 (float)
    t2 (float)
    bcNt (float)
    bcFt (float)
    xaNt (float)
    xaFt (float)
    xX (int)
    xY (float)
    aY (float)
    bX (int)
    bY (float)
    cY (float)
    dX (int)
    dY (float)
    cBu (color)
    cBe (color)
    lTxt (color)

xabcd_incInProgress(bull, type, tLimit, entry, xX, xY, aY, bX, bY, cX, cY, dY, cBu, cBe, lTxt)
  Parameters:
    bull (bool)
    type (int)
    tLimit (int)
    entry (float)
    xX (int)
    xY (float)
    aY (float)
    bX (int)
    bY (float)
    cX (int)
    cY (float)
    dY (float)
    cBu (color)
    cBe (color)
    lTxt (color)

xabcd_inProgress2(bull, tLimit, entry, stop, t1, t2, xadl, bcdl, xcdl, xX, xY, bX, bY, dX, dY, cBu, cBe, lTxt)
  draw PRZ, entry, stop, targets, and projected reversal paths for XABCD pattern
  Parameters:
    bull (bool)
    tLimit (int)
    entry (float)
    stop (float)
    t1 (float)
    t2 (float)
    xadl (float)
    bcdl (float)
    xcdl (float)
    xX (int)
    xY (float)
    bX (int)
    bY (float)
    dX (int)
    dY (float)
    cBu (color)
    cBe (color)
    lTxt (color)

eHitLbl(x, e, dX, dY, bull, lOnly)
  Draw entry hit label
  Parameters:
    x (int)
    e (float)
    dX (int)
    dY (float)
    bull (bool)
    lOnly (bool)

tHitLbl(x, tgt, eX, eY, bull)
  Draw target hit label
  Parameters:
    x (int)
    tgt (float)
    eX (int)
    eY (float)
    bull (bool)

sHitLbl(x, s, eX, eY, bull)
  Draw stop hit label
  Parameters:
    x (int)
    s (float)
    eX (int)
    eY (float)
    bull (bool)

level(y, x, type, length, extend, padding, b_style, colr, txt_color, txt, txt_loc, txt_size)
  Draw a level (box)
  Parameters:
    y (float)
    x (int)
    type (int)
    length (int)
    extend (string)
    padding (float)
    b_style (string)
    colr (color)
    txt_color (color)
    txt (string)
    txt_loc (string)
    txt_size (string)

incTtTxt(tp, name, xbr, xbre, acr, acre, bcN, bcF, xaN, xaF, score, e)
  Parameters:
    tp (int)
    name (string)
    xbr (float)
    xbre (float)
    acr (float)
    acre (float)
    bcN (float)
    bcF (float)
    xaN (float)
    xaF (float)
    score (float)
    e (float)

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.