Journal functions are mostly used for accessing the journal log. The log is used for logging trading ideas and comments used by the trader during his trading.


Sections


Functions

Function Details


Functions


Name

Description

JournalAddMessage(int, C_MessageType, string, string, string)

Adds a message to the journal log.

string JournalMessage(int)

Gets the message text of a specified journal message.

int JournalMessageCount()

Gets the number of messages in the log.

long JournalMessageDateTime(int)

Gets the date/time of a specified journal message.

int JournalMessageSymbolIndex(int)

Gets the symbol index of a specified journal message.

string JournalMessageTitle(int)

Gets the title of a specified journal message.

C_MessageType JournalMessageType(int)

Gets the message type of a specified journal message.


Function Details


JournalAddMessage(int symbolIndex, C_MessageType type, string title, string message, string source)

Adds a message to the journal log.


Parameters


Type

Identifier

Description

int

symbolIndex

The symbol index

C_MessageType

type

The log message type (View Options)

string

title

The message title

string

message

The message

string

source

The message source


Scripts


TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


string JournalMessage(int index)

Gets the message text of a specified journal message.


Returns


The message text of a specified journal message.


Parameters


Type

Identifier

Description

int

index

The message index


Scripts


TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


int JournalMessageCount()

Gets the number of messages in the log.


Returns


The number of messages in the log.


Scripts


TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


long JournalMessageDateTime(int index)

Gets the date/time of a specified journal message.


Returns


The date/time of the specified journal message.


Parameters


Type

Identifier

Description

int

index

The message index


Scripts


TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


int JournalMessageSymbolIndex(int index)

Gets the symbol index of a specified journal message.


Returns


The symbol index of the specified journal message.


Parameters


Type

Identifier

Description

int

index

The message index


Scripts


TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


string JournalMessageTitle(int index)

Gets the title of a specified journal message.


Returns


The title of the specified journal message.


Parameters


Type

Identifier

Description

int

index

The message index


Scripts


TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy


C_MessageType JournalMessageType(int index)

Gets the message type of a specified journal message.


Returns


The message type of the specified journal message. (View Options)


Parameters


Type

Identifier

Description

int

index

The message index


Scripts


TradeManagementStrategy, MultiSymbolTradingStrategy, Screener, TradingStrategy