TradingView
facejungle
26 สิงหา 2023 เวลา 18 นาฬิกา 29 นาที

utils 

SOL / US DollarBinance

คำอธิบาย

Library "utils"
TODO: add library description here

maCustomseries(source, typeMa, length)
  Parameters:
    source (float)
    typeMa (simple string)
    length (simple int)

barCrossoverCounter(signalPrice, basePrice)
  Parameters:
    signalPrice (float)
    basePrice (float)

barCrossunderCounter(signalPrice, basePrice)
  Parameters:
    signalPrice (float)
    basePrice (float)

เอกสารเผยแพร่

v2

Добавлено:
priceSource(source)
  Parameters:
    source (simple string)

เอกสารเผยแพร่

v3

เอกสารเผยแพร่

v4

Добавлено:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)
  Parameters:
    action (string)
    signalToken (string)
    orderType (string)
    orderPriceOffset (string)
    investmentType (string)
    amount (string)

เอกสารเผยแพร่

v5

Updated:
maCustomseries(source, typeMa, length)
  Parameters:
    source (float)
    typeMa (simple string)
    length (int)

เอกสารเผยแพร่

v6

เอกสารเผยแพร่

v7

เอกสารเผยแพร่

v8

เอกสารเผยแพร่

v9

Removed:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)

เอกสารเผยแพร่

v10

Added:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)
  Parameters:
    action (string)
    signalToken (string)
    orderType (string)
    orderPriceOffset (string)
    investmentType (string)
    amount (string)

เอกสารเผยแพร่

v11

Обновлено:
maCustomseries(source, typeMa, length, offset, sigma)
  Parameters:
    source (float)
    typeMa (simple string)
    length (int)
    offset (simple float)
    sigma (simple int)

Удалено:
priceSource(source)

เอกสารเผยแพร่

v12

เอกสารเผยแพร่

v13

เอกสารเผยแพร่

v14

เอกสารเผยแพร่

v15

Добавлено:
fj_stdev(src, length, mult, middleType)
  Parameters:
    src (float)
    length (int)
    mult (float)
    middleType (simple string)

counterEvent(enent, enent2)
  Parameters:
    enent (bool)
    enent2 (bool)

avgOpenPositionPrice()

getLabelMessage(msgType, price)
  Parameters:
    msgType (string)
    price (float)

labelService(reason, triggerPrice, labelPrice, comment)
  Parameters:
    reason (string)
    triggerPrice (float)
    labelPrice (float)
    comment (string)

commentTriggerCustomseries(trigger)
  Parameters:
    trigger (string)

commentOrderCustomseries(direction, trigger)
  Parameters:
    direction (string)
    trigger (string)

เอกสารเผยแพร่

v16

Обновлено:
commentOrderCustomseries(reason, trigger, tradeNo, qty)
  Parameters:
    reason (string)
    trigger (string)
    tradeNo (int)
    qty (float)

Удалено:
getLabelMessage(msgType, price)

labelService(reason, triggerPrice, labelPrice, comment)

เอกสารเผยแพร่

v17

เอกสารเผยแพร่

v18
Change maxLag

เอกสารเผยแพร่

v19
เพิ่มเติม