PINE LIBRARY

utils

Mis à jour
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)
Notes de version
v2

Добавлено:
priceSource(source)
  Parameters:
    source (simple string)
Notes de version
v3
Notes de version
v4

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

Updated:
maCustomseries(source, typeMa, length)
  Parameters:
    source (float)
    typeMa (simple string)
    length (int)
Notes de version
v6
Notes de version
v7
Notes de version
v8
Notes de version
v9

Removed:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)
Notes de version
v10

Added:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)
  Parameters:
    action (string)
    signalToken (string)
    orderType (string)
    orderPriceOffset (string)
    investmentType (string)
    amount (string)
Notes de version
v11

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

Удалено:
priceSource(source)
Notes de version
v12
Notes de version
v13
Notes de version
v14
Notes de version
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)
Notes de version
v16

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

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

labelService(reason, triggerPrice, labelPrice, comment)
Notes de version
v17
Notes de version
v18
Change maxLag
Notes de version
v19
alerts

Bibliothèque Pine

Dans le plus pur esprit TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur! Vous pouvez utiliser cette bibliothèque en privé ou dans d'autres publications à code source ouvert, mais la réutilisation de ce code dans une publication est régie par nos Règles.


Aussi sur:

Clause de non-responsabilité