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)
Добавлено:
priceSource(source)
Parameters:
source (simple string)
Добавлено:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)
Parameters:
action (string)
signalToken (string)
orderType (string)
orderPriceOffset (string)
investmentType (string)
amount (string)
Updated:
maCustomseries(source, typeMa, length)
Parameters:
source (float)
typeMa (simple string)
length (int)
Removed:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)
Added:
okxAlertMsg(action, signalToken, orderType, orderPriceOffset, investmentType, amount)
Parameters:
action (string)
signalToken (string)
orderType (string)
orderPriceOffset (string)
investmentType (string)
amount (string)
Обновлено:
maCustomseries(source, typeMa, length, offset, sigma)
Parameters:
source (float)
typeMa (simple string)
length (int)
offset (simple float)
sigma (simple int)
Удалено:
priceSource(source)
Добавлено:
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)
Обновлено:
commentOrderCustomseries(reason, trigger, tradeNo, qty)
Parameters:
reason (string)
trigger (string)
tradeNo (int)
qty (float)
Удалено:
getLabelMessage(msgType, price)
labelService(reason, triggerPrice, labelPrice, comment)
Change maxLag
Libreria Pine
In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Complimenti all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.
Declinazione di responsabilità
Libreria Pine
In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Complimenti all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.