PINE LIBRARY
Updated 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)
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)
Release Notes
v2Добавлено:
priceSource(source)
Parameters:
source (simple string)
Release Notes
v3Release Notes
v4Добавлено:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)
Parameters:
action (string)
signalToken (string)
orderType (string)
orderPriceOffset (string)
investmentType (string)
amount (string)
Release Notes
v5Updated:
maCustomseries(source, typeMa, length)
Parameters:
source (float)
typeMa (simple string)
length (int)
Release Notes
v6Release Notes
v7Release Notes
v8Release Notes
v9Removed:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)
Release Notes
v10Added:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)
Parameters:
action (string)
signalToken (string)
orderType (string)
orderPriceOffset (string)
investmentType (string)
amount (string)
Release Notes
v11Обновлено:
maCustomseries(source, typeMa, length, offset, sigma)
Parameters:
source (float)
typeMa (simple string)
length (int)
offset (simple float)
sigma (simple int)
Удалено:
priceSource(source)
Release Notes
v12Release Notes
v13Release Notes
v14Release Notes
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)
Release Notes
v16Обновлено:
commentOrderCustomseries(reason, trigger, tradeNo, qty)
Parameters:
reason (string)
trigger (string)
tradeNo (int)
qty (float)
Удалено:
getLabelMessage(msgType, price)
labelService(reason, triggerPrice, labelPrice, comment)
Release Notes
v17Release Notes
v18Change maxLag
Release Notes
v19Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.