Knowledgebase
Knowledgebase : Technical Support > API > Client API's/VTL > VTL Client Scripts > Standard Enumerations
PROPERTIES
Part
Description
Ticket
The ticket/order ID for each transaction
HisTime
Shows the date and time for each transaction
HisType
The type detail of each transaction :
"N" New
"L" Liquidate (Close)
"Dp" Deposit
"Wd" Wit...
ENUM_POSITION_PROPERTY_STRING
Value
Identifer
Description
1
POSITION_COMMENT
The comment value for the position.
-------------------------
SEE ALSO
* INDICATOR_LINES
[http://www.hybridsolutions.com/support/index.php?/Knowledgebas...
ENUM_ORDER_PROPERTY_INTEGER
Value
Identifer
Description
0
OPERATION_TYPE_ENUM
The returend value can be one of ENUM_TRADE_ACTION
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/2596]
1
ORDER_...
ENUM_OBJECT_PROPERTY
Value
Identifer
Description
0
OBJPROP_ZORDER
Object Zorder
1
OBJPROP_SELECTABLE
Object selectable
2
OBJPROP_TEXT
Object Text
3
OBJPROP_COLOR
Object color as RGB Color
4
OB...
REGRESSIONENUM
Value
Identifer
1
MODE_Forecast
2
MODE_Intercept
3
MODE_RSquared
4
MODE_Slope
-------------------------
SEE ALSO
* ManageOrders
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/...
STOCHASTICMENUM
Value
Identifer
1
MODE_K
2
MODE_D
-------------------------
SEE ALSO
* RegressionEnum
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/3523]
* ManageOrders
[http://www.hybridsolu...
INDICATOR_LINES
Value
Identifer
1
MODE_HIGH
2
MODE_LOW
-------------------------
SEE ALSO
* StochasticMEnum
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/3522]
* RegressionEnum
[http://www.hy...
WINGDINGS
They are used as add-ons for a chart with Arrow Object.
[Wingdings]
-------------------------
SEE ALSO
* CAccountHistory
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/5256]
* ENUM_ACCOUNT_INFO_DOUBL...
ENUM_SERIES_TYPE
Value
Identifer
Description
0
LINE_CHART
Line CHART
1
VOLUME_CHART
VOLUME CHART
-------------------------
SEE ALSO
* ENUM_OBJECT_PROPERTY
[http://www.hybridsolutions.com/support/index.php?/Knowled...
ENUM_DRAWING_STYLE
Value
Identifer
Description
0
DRAW_LINE_E
Drawing Line
12
DRAW_DOTS_E
Drawing Dots
3
DRAW_ARROWS_E
Drawing Arrows
1
DRAW_ZIGZAG_E
Drawing Zigzag
-------------------------
S...
ENUM_ORDER_PROPERTY_DOUBLE
Value
Identifer
Description
1
ORDER_PRICE_OPEN
Indicates to order open price.
2
ORDER_SL
Indicates to order Stop Loss value.
3
ORDER_TP
Indicates to order Take Profit value.
4
...
ENUM_ORDER_PROPERTY_STRING
Value
Identifer
Description
1
ORDER_SYMBOL
Indicates to symbol name.
2
ORDER_COMMENT
Indicate the value of comment on the trade list.
-------------------------
SEE ALSO
* ENUM_ORDER_PROPER...
ENUM_TRADE_RESULT
Value
Identifer
Description
1
TRADE_RETCODE_DONE_RESULT
Done result
2
TRADE_RETCODE_MARKET_CLOSED
Trading is closed
3
TRADE_RETCODE_NO_MONEY
Not enough money
4
TRADE_RETCODE_MARKET_CONDIT...
ENUM_TRADE_ACTION_TYPE
Value
Identifer
Description
1
TRADE_ORDER_CLOSE
Indicates to close order
2
TRADE_ORDER_NEW
Indicates to new order
3
TRADE_ORDER_ACCEPT
Indicates to accept order
4
TRADE_ORDER_REJECT
...
ENUM_OBJECT
Value
Identifer
Description
0
OBJ_ELLIPSE
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855]
Ellipse.
1
OBJ_RECTANGLE
Rectangle.
2
OBJ_TREND
Trend line.
3
OBJ...
ENUM_PRICE_LABEL
Value
Identifer
Description
1
PRICE_LABEL_POSITION
Price label position.
2
PRICE_LABEL_FONT_NAME
Font name.
3
PRICE_LABEL_FONT_SIZE
Font size.
4
PRICE_LABEL_FONT_COLOR
Font color.
...
ENUM_ERROR_CODE
Identifer
Description
SELECT_ACCOUNT
Account not selected.
LOCK_ACCOUNT_OR_READONLY
Account locked or read only.
INVALID_AMOUNT
Invalid Amount.
INVALID_SYMBOL
Invalid symbol.
INVALID_SYMBOL_INDEX
...
ENUM_MA_METHOD
Value
Identifer
Description
1
MODE_SMA
For Simple averaging mode.
2
MODE_EXPONENTIAL
For Exponential averaging mode.
3
MODE_TIME_SERIES
For Smoothed averaging mode.
4
MODE_VARIABLE
For Va...
ENUM_CHART_POSITION
Value
Identifer
Description
1
CHART_BEGIN
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855]
Beginning of chat.
2
CHART_CURRENT_POS
Current position.
3
CHART_END
...
ENUM_OUTPUT_SCAL
Value
Identifer
Description
1
OUTPUT_SCAL_PERCENT
For Percent scale.
2
OUTPUT_SCAL_POINTS
For Points scale.
-------------------------
SEE ALSO
* ENUM_CHART_POSITION
[http://www.hybridsolutions.com/s...
ENUM_TRADE_ACTION
Value
Identifer
Description
-2
TRADE_ACTION_SELL_STOP
For sell stop order type.
2
TRADE_ACTION_BUY_STOP
For buy stop order type.
-1
TRADE_ACTION_SELL
For sell / sell limit order type.
1
...
ENUM_POSITION_PROPERTY_DOUBLE
Value
Identifer
Description
1
POSITION_VOLUME
For position volume.
2
POSITION_PRICE_OPEN
For Position Open Price.
3
POSITION_SL
For position stop loss value
4
POSITION_TP
Fo...
ENUM_TIMEFRAMES
Identifer
Description
Value
PERIOD_M1
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855]
1 minute
1
PERIOD_M5
5 minute
2
PERIOD_M15
15 minute
3
PERIOD_M30
...
ENUM_FILE_MODE
Identifer
Description
FILE_INPUT
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855]
When the file is open for input, that file must already exist.
FILE_OUTPUT
When the file is open fo...
ENUM_SYMBOL_INFO_STRING
Identifer
Description
SYMBOL_BANK
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855]
Bank
-------------------------
SEE ALSO
* ENUM_FILE_MODE
[http://www.hybridsolutions.com/sup...
ENUM_SYMBOL_INFO_INTEGER
Value
Identifer
Description
1
SYMBOL_PIP_LOCATION
The Pip Location value.
2
SYMBOL_SPREAD
The Spread value.
-------------------------
SEE A...
ENUM_SYMBOL_INFO_DOUBLE
Value
Identifer
Description
1
SYMBOL_ASK
The Ask prise.
2
SYMBOL_BID
The Bid price.
3
SYMBOL_High
The High price.
4
SYMBOL_LOW
The low price.
5
SYMBOL_STOP_OFFSET
Value ...
ACCOUNT_TRADE_MODE
Identifer
Description
Value
ACCOUNT_TRADE_MODE_DEMO
Demo account type
0
ACCOUNT_TRADE_MODE_REAL
Real account
1
ACCOUNT_TRADE_MODE_COVAREGE
Coverage Account
2
-------------------------
SEE AL...
ENUM_VOLUME_METHOD
Identifer
Description
VOLUME_OPEN
For Open Price method.
VOLUME_HIGH
For High Price method.
VOLUME_LOW
For Low Price method.
VOLUME_CLOSE
For Close Price method.
VOLUME_LINECHART
For Line Char...
ENUM_APPLIED_PRICE
Value
Identifer
Description
1
PRICE_CLOSE
For Close Price.
2
PRICE_OPEN
For Open Price.
3
PRICE_HIGH
For High Price.
4
PRICE_LOW
For Low Price.
---------------...
ENUM_LINE_WEIGHT
Identifer
Description
WEIGHT_VERY_THIN
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855]
Very thin
WEIGHT_THIN
Thin
WEIGHT_MEDIUM
Medium
WEIGHT_THICK
Thick
WEI...
ENUM_LINE_STYLE
Identifer
Description
STYLE_SOLID
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855]
Solid line
STYLE_DASH
Broken line
STYLE_DOT
Dotted line
STYLE_DASHDOT
Dash-dot ...
ENUM_ACCOUNT_INFO_INTEGER
Value
Identifer
Description
1
ACCOUNT_LOGIN
The Account ID.
2
ACCOUNT_TRADE_MODE
Account type , one of ACCOUNT_TRADE_MODE
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/Vi...
ENUM_ACCOUNT_INFO_STRING
Value
Identifer
Description
1
ACCOUNT_FIRST_NAME
The first name for account.
2
ACCOUNT_LAST_NAME
The last name for account.
3
ACCOUNT_NAME
The full name for account.
4
ACCOUNT_SECON...
ENUM_ACCOUNT_INFO_DOUBLE
Value
Identifer
Description
1
ACCOUNT_BALANCE
Real amount of money that the client has in his account.
2
ACCOUNT_CREDIT
An amount of money put to the account of a certain client in order
to be a pai...
Help Desk Software by Hybrid Solutions