PINE LIBRARY
Mis à jour myAutoviewAlerts

Library "myAutoviewAlerts"
My Alerts Functions - To use with autoview
Returns - These functions returns a string to use in alerts to send commands to autoview. You can open an order, place a stop or take order, close an opened order or a opened position, or open a hedge position.
param a = String - Account Identification
param e = String - Exchange
param s = String - Symbol
param b = String - Book Side
param q = Float - Quantity
param fp = Float - Fixed Price
param delay = Integer - In Seconds
param i = Integer - Account Index (to multiple accounts allerts)
param base = String - Base Currency (bitmex) - "Tether" or "Bitcoin"
param fsl = Float - Stop Loss Limit Price
param c = String - Close -> "order" or "position"
param ro = Bool - Reduce Only
param sl = Bool - Stop Loss -> bitfinex
param t = String - Type -> "market" or "limit"
Function f_order => Open Orders
Function f_stop => Set Stop Loss Order
Function f_take => Set Take Order
Function f_closeOrder => Close Open Orders
Function f_closePosition => Close Open Positions
Function f_hedge => To Open a Hedge Position (short 100% of balance)
My Alerts Functions - To use with autoview
Returns - These functions returns a string to use in alerts to send commands to autoview. You can open an order, place a stop or take order, close an opened order or a opened position, or open a hedge position.
param a = String - Account Identification
param e = String - Exchange
param s = String - Symbol
param b = String - Book Side
param q = Float - Quantity
param fp = Float - Fixed Price
param delay = Integer - In Seconds
param i = Integer - Account Index (to multiple accounts allerts)
param base = String - Base Currency (bitmex) - "Tether" or "Bitcoin"
param fsl = Float - Stop Loss Limit Price
param c = String - Close -> "order" or "position"
param ro = Bool - Reduce Only
param sl = Bool - Stop Loss -> bitfinex
param t = String - Type -> "market" or "limit"
Function f_order => Open Orders
Function f_stop => Set Stop Loss Order
Function f_take => Set Take Order
Function f_closeOrder => Close Open Orders
Function f_closePosition => Close Open Positions
Function f_hedge => To Open a Hedge Position (short 100% of balance)
Notes de version
v2 - Alerts Open Order: quantity base order accepts: asset, tether or fiatNotes de version
v3Added:
f_start()
Stop limit order to open positions
Notes de version
v4BITFINEX stop limit small fix
Notes de version
v5Updated f_stop and f_take accepting quantity as a parameter
Updated:
f_stop()
f_take()
Bibliothèque Pine
Dans l'esprit TradingView, l'auteur a publié ce code Pine sous forme de 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 à titre privé ou dans d'autres publications open source, mais la réutilisation de ce code dans des publications est régie par nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Bibliothèque Pine
Dans l'esprit TradingView, l'auteur a publié ce code Pine sous forme de 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 à titre privé ou dans d'autres publications open source, mais la réutilisation de ce code dans des publications est régie par nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.