PINE LIBRARY
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
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。