Using Advanced Features
Functions, Task 4
Export Functions for Another User
Once you have created function definitions and entry/exit systems that you find useful, you may want to share them with other TradingSolutions users. This can be accomplished by exporting these definitions to a file, sending that file to another user, and having that user import the file into their version of TradingSolutions.
þ Select “Export Functions…” from the File menu.
To import or export data, functions, entry/exit systems, or trading solutions, use the File menu. In this case, we want to export function definitions and/or entry/exit systems, so select Export Functions…. This will display the Export Function Selection Dialog.
Ä Note: If you have not defined or imported any functions or entry/exit systems, a message indicating “No non-internal functions are loaded” will appear.
þ Select the “Average Absolute Difference” function from under “My Functions” and press OK.
The Export Function Selection Dialog allows you to select one or more function definitions and/or entry/exit systems to export to a single file. We could select to export all of the function definitions and entry/exit systems that we have written, individual groups, or individual functions and systems.
In this case, let’s export the “Average Absolute Difference” function. Expand the “My Functions” group and check the box next to “Average Absolute Difference”. Then, press the OK button.
þ Press the Save button to save the selected function.
After you have selected the function definitions and entry/exit systems to export, TradingSolutions will display a file selection dialog labeled Export Functions As. By default, the file will be named based on the selected functions. If a single function is selected, the name of that function will be used. If a single group is selected, the name of that group is used.
To save the function using the default name and location, press the Save button.
i How can someone else use my function?
You can send this exported function to other TradingSolutions users through e-mail or copy the file over a local area network. You can also upload it to a web site and make it available for download from the Internet.
Once another TradingSolutions user has the file on their machine, they can import the function for use in their portfolio by selecting Import Functions… from the File menu.
_ Return to the activity.