openTrend()

Opens a predefined trend group.

Synopsis

void openTrend( string trendGroup , int trendType);

Parameters

Parameter Description
trendGroup Name of the trend group
trendType Integer number for characterizing the trend type. Use the following parameters:
-1 Last view
0 Undefined
1 Trend of today open
2 Trend of previous day (closed)
3 Trend of the selected day (closed)
4 Trend of the current week (closed)
5 Trend of last previous week (closed)
6 Trend of the selected time range (closed)
7 Trend of the last 24 hours (open)
8 Trend of the last 3 days (open)
9 Time interval (open)
10 Last one hour (open)
11 Last eight hours (open)

Return value

void

Error

Description

Opens the trend group in the selected time range (trend type).

Example

In the following example, a predefined trend group "Example_Trend1" opens as type "trend of today open".

main()
{
  openTrend("ExampleTrend1", 1);
}

Assignment

Dialog functions

Availability

UI