Alert
Alert functions are used for both creating alerts and accessing historical alert transactions. Alerts can be created from multiple places in the platform, including charts, order grids, position grids, watchlists, DOMs and T&S, among others. The platform's alert architecture can be used to generate alert messages, play sound effects, trigger alert scripts and generate visual effects, such as coloring grid rows and cells.
Sections
Name |
Description |
Displays a visual message alert. |
|
Gets the message of a specified alert. |
|
Gets the number of alerts in the alerts log. |
|
Gets the date/time of a specified alert. |
|
Gets the symbol index of a specified alert message. |
|
Gets the message type of a specified alert. |
|
Plays a sound alert from a WAV sound file. |
|
Sends an email alert to the user, based on the email settings in the Options Window. |
AlertDisplayMessage(int symbolIndex, C_MessageType alertType, string message, string source) |
|||||||||||||||
Displays a visual message alert. Parameters
Scripts TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
string AlertMessage(int index) |
||||||
Gets the message of a specified alert. Returns The message of the specified alert. Parameters
Scripts TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
int AlertMessageCount() |
Gets the number of alerts in the alerts log. Returns The number of alerts in the Desktop alerts log. Parameters No Parameters Scripts TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
long AlertMessageDateTime(int index) |
||||||
Gets the date/time of a specified alert. Returns The date/time of the specified alert. Parameters
Scripts TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
int AlertMessageSymbolIndex(int index) |
||||||
Gets the symbol index of a specified alert message. Returns The symbol index of the specified alert message. Parameters
Scripts TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
C_MessageType AlertMessageType(int index) |
||||||
Gets the message type of a specified alert. Returns The message type of the specified alert. Parameters
Scripts TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
AlertPlaySound(string soundFile) |
||||||
Plays a sound alert from a WAV sound file. Parameters
Scripts TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |
AlertSendEmail(string subject, string message) |
|||||||||
Sends an email alert to the user, based on the email settings in the Options Window. Parameters
Scripts TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy |