RSS functions are used for accessing the RSS log, which holds all of the RSS messages received by the platform. 


Sections


Functions

Function Details


Functions


Name

Description

string RSSMessage(int)

Gets the message text of a specified RSS message.

int RSSMessageCount()

Gets the number of messages in the log.

long RSSMessageDateTime(int)

Gets the date/time of a specified RSS message.

int RSSMessageSymbolIndex(int)

Gets the symbol index of a specified RSS message.

string RSSMessageTitle(int)

Gets the title of a specified RSS message.

C_MessageType RSSMessageType(int)

Gets the message type of a specified RSS message.


Function Details


string RSSMessage(int index)

Gets the message text of a specified RSS message.


Returns


The message text of a specified RSS message.


Parameters


Type

Identifier

Description

int

index

The message index


Scripts


Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


int RSSMessageCount()

Gets the number of messages in the log.


Returns


The number of messages in the log.


Scripts


Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


long RSSMessageDateTime(int index)

Gets the date/time of a specified RSS message.


Returns


The date/time of the specified RSS message.


Parameters


Type

Identifier

Description

int

index

The message index


Scripts


Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


int RSSMessageSymbolIndex(int index)

Gets the symbol index of a specified RSS message.


Returns


The symbol index of the specified RSS message.


Parameters


Type

Identifier

Description

int

index

The message index


Scripts


Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


string RSSMessageTitle(int index)

Gets the title of a specified RSS message.


Returns


The title of the specified RSS message.


Parameters


Type

Identifier

Description

int

index

The message index


Scripts


Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


C_MessageType RSSMessageType(int index)

Gets the message type of a specified RSS message.


Returns


The message type of a specified RSS message. (View Options)


Parameters


Type

Identifier

Description

int

index

The message index


Scripts


Alert, TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy