PINE LIBRARY
Zaktualizowano TradersPostDeluxe

Library "TradersPostDeluxe"
TradersPost integration. It's currently not very deluxe
SendEntryAlert(ticker, action, quantity, orderType, takeProfit, stopLoss, id, price, timestamp, timezone)
Sends an alert to TradersPost to trigger an Entry
Parameters:
ticker (string): Symbol to trade. Default is syminfo.ticker
action (series Action): TradersPostAction (.buy, .sell) default = buy
quantity (float): Amount to trade, default = 1
orderType (series OrderType): TradersPostOrderType, default =e TradersPostOrderType.market
takeProfit (float): Take profit limit price
stopLoss (float): Stop loss price
id (string): id for the trade
price (float): Expected price
timestamp (int): Time of the trade for reporting, defaults to timenow
timezone (string): associated with the time, defaults to syminfo.timezone
Returns: Nothing
SendExitAlert(ticker, price, timestamp, timezone)
Sends an alert to TradersPost to trigger an Exit
Parameters:
ticker (string): Symbol to flatten
price (float): Documented planned price
timestamp (int): Time of the trade for reporting, defaults to timenow
timezone (string): associated with the time, defaults to syminfo.timezone
Returns: Nothing
TradersPost integration. It's currently not very deluxe
SendEntryAlert(ticker, action, quantity, orderType, takeProfit, stopLoss, id, price, timestamp, timezone)
Sends an alert to TradersPost to trigger an Entry
Parameters:
ticker (string): Symbol to trade. Default is syminfo.ticker
action (series Action): TradersPostAction (.buy, .sell) default = buy
quantity (float): Amount to trade, default = 1
orderType (series OrderType): TradersPostOrderType, default =e TradersPostOrderType.market
takeProfit (float): Take profit limit price
stopLoss (float): Stop loss price
id (string): id for the trade
price (float): Expected price
timestamp (int): Time of the trade for reporting, defaults to timenow
timezone (string): associated with the time, defaults to syminfo.timezone
Returns: Nothing
SendExitAlert(ticker, price, timestamp, timezone)
Sends an alert to TradersPost to trigger an Exit
Parameters:
ticker (string): Symbol to flatten
price (float): Documented planned price
timestamp (int): Time of the trade for reporting, defaults to timenow
timezone (string): associated with the time, defaults to syminfo.timezone
Returns: Nothing
Informacje o Wersji
A million thingsInformacje o Wersji
v3Informacje o Wersji
v4Updated: supports signalPrice
Informacje o Wersji
v5Informacje o Wersji
Better alignment with TradersPost parametersRemoved unrealistic order tracking
Biblioteka Pine
W duchu TradingView autor opublikował ten kod Pine jako bibliotekę open-source, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla autora! Możesz używać tej biblioteki prywatnie lub w innych publikacjach open-source, ale ponowne wykorzystanie tego kodu w publikacjach podlega Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Biblioteka Pine
W duchu TradingView autor opublikował ten kod Pine jako bibliotekę open-source, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla autora! Możesz używać tej biblioteki prywatnie lub w innych publikacjach open-source, ale ponowne wykorzystanie tego kodu w publikacjach podlega Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.