To create a new dataobject, use the Add dataobject command:
add dataobject NAME [user USER_NAME] [ADD_ITEM {ADD_ITEM}];
NAME is the name you assign to the dataobject.
USER_NAME can be included with the user keyword if
you are a business administrator with person access defining a dataobject
for another user. If not specified, the dataobject is part of the current
user's workspace.
ADD_ITEM further defines the dataobject.
Note:
The complete syntax and clauses for working with dataobjects are discussed
in the programming reference section of the MQL Guide.