PINE LIBRARY

utils

已更新
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
alerts

Pine腳本庫

在真正的TradingView精神中,作者將這段Pine程式碼發佈為開源程式庫,以便我們社群的其他Pine程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。


更多:

免責聲明