Importing and Exporting Studies

From MultiCharts
Jump to navigation Jump to search

In addition to supporting PowerLanguage studies, MultiCharts platform supports most of the EasyLanguage® studies (that do not utilize Object Oriented EL programming).

MultiCharts supports Password-protected as well as Source-compiled (SEF) Study Protection.

Studies are imported and exported using the PowerLanguage Editor.


Importing Studies

In addition to MultiCharts native PLA (PowerLanguage Archive) format, studies in ELA, ELS, ELD (non protected), XML, and SEF formats can be imported. Multiple studies can be imported simultaneously.

Note: Read-only studies in SEF (Source-compiled) format are imported using an Import Read-Only procedure.


Importing Studies in PLA, ELA, ELS, ELD (non protected), and XML Formats

To import studies into PowerLanguage Editor:

  1. Open the PowerLanguage Editor window:
    In MultiCharts main menu select File, then point to New and click PowerLanguage Editor Window.
  2. Click the Import PL IMPORT.png icon on the toolbar.
    Importing study window can also be opened by selecting File in the main menu and clicking Import, or by using the Ctrl+I keyboard shortcut.
  3. In the Select Files window select one or more studies files; several files can be selected at once by holding down Ctrl or/and Shift keys while making the selection, and all files can be selected by using the Ctrl+A keyboard shortcut.
  4. Click Open or double-click the selected file.
  5. In the Import Studies window that appears, in the Study Type section, select or clear Indicator, Signal, and/or Function checkboxes to specify the types of studies to be displayed in the list.
  6. Select the studies to be imported by using the checkbox to the left of the study's name, or by double-clicking the study's name; click Select All to select all studies, and Clear All to clear all selections.
  7. At the bottom left of the Import Studies window, select the Compile on import checkbox to compile studies on import; to learn more, see Compiling Studies.
  8. Select the Compare source code option if you are importing a file with an already existing in the PowerLanguage Editor name, but with differences in the code. In this case a window with both codes will appear after the Import and you will be able to compare them.
  9. Click OK to import the selected studies.


Importing Studies in SEF (Read-Only) Format

Important: 32 bit SEF file (exported from MC 32 bit) is compatible with 32 bit MC only. 64 bit SEF file is compatible with 64 bit MC only!
Note: Before MultiCharts 8.0 only SEF studies created with the same build number of MultiCharts could be imported! Since MultiCharts 8.0 SEF files created with MultiCharts 8.0 or higher can be imported into a newer version of MultiCharts.

To import a read-only study into PowerLanguage Editor:

  1. Open the PowerLanguage Editor window:
    In MultiCharts main menu select File, then point to New and click PowerLanguage Editor Window.
  2. Open the Select Files window by selecting File in the main menu and clicking Import Read-Only, or by using the Ctrl+M keyboard shortcut.
  3. Select a study file.
  4. Click Open or double-click the selected file.
  5. In the Import Studies window that appears, in the Study Type section, select or clear Indicator, Signal, and/or Function checkboxes to specify the types of studies to be displayed in the list.
  6. Select the studies to be imported by using the checkbox to the left of the study's name, or by double-clicking the study's name; click Select All to select all studies, and Clear All to clear all selections.
  7. Click OK to import the selected studies.


Exporting Studies

Studies can be exported in PLA, XML and SEF (Read-only) formats.


Exporting Studies in PLA Format

To export a study in PLA format:

  1. Open the PowerLanguage Editor window:
    In MultiCharts main menu select File, then point to New and click PowerLanguage Editor Window.
  2. Click the Export PL EXPORT.png icon on the toolbar.
    The Export Studies window can also be opened by selecting File in the main menu and clicking Export, or by using the Ctrl+E keyboard shortcut.
  3. In the Study Type section, select or clear Indicator, Signal, and/or Function checkboxes to specify the types of studies to be displayed in the list.
  4. Select the studies to be exported by using the checkbox to the left of the study’s name, or by double-clicking the study’s name; click Select All to select all studies, and Clear All to clear all selections.
  5. At the bottom left of the Export Studies window, select the Select dependent function(s) checkbox to automatically select the relevant functions.
  6. Click OK to open the Export window.
  7. Select a path and choose the filename and type for the file to export the study or studies to, and click Save.


Exporting Studies in SEF (Read-only) Format

Important: 32 bit SEF file (exported from MC 32 bit) is compatible with 32 bit MC only. 64 bit SEF file is compatible with 64 bit MC only!
Note: Before MultiCharts 8.0 only SEF studies created with the same build number of MultiCharts could be imported! Since MultiCharts 8.0 SEF files created with MultiCharts 8.0 or higher can be imported into a newer version of MultiCharts.

To export a study in SEF (Read-only) format:

  1. Open the PowerLanguage Editor window:
    In MultiCharts main menu select File, then point to New and click PowerLanguage Editor Window.
  2. Open the Export Studies window by selecting File in the main menu and clicking Export Read-Only, or by using the Ctrl+R keyboard shortcut.
  3. In the Study Type section, select or clear Indicator, Signal, and/or Function checkboxes to specify the types of studies to be displayed in the list.
  4. Select the studies to be exported by using the checkbox to the left of the study’s name, or by double-clicking the study’s name; click Select All to select all studies, and Clear All to clear all selections.
  5. Click OK to open the Export window.
  6. Select a path and choose the name for the file to export the study or studies to, and click Save.


Importing and Exporting Studies in MultiCharts .NET

Note: Power Language Editor in MultiCharts .NET is designed for working with studies in PLN format only. SEF files are not supported. However, protecting studies upon export is also available. To export a read-only file, one can enable the Protect option in the Export Studies window.

To import studies into PowerLanguage .NET Editor:

  1. Open the PowerLanguage .NET Editor window:
    In MultiCharts main menu select File, then point to New and click PowerLanguage .NET Editor Window.
  2. Select File in the PowerLanguage .NET Editor main menu and click Import….
    Importing study window can also be opened by using the Ctrl+I keyboard shortcut.
  3. Select one or more studies files; several files can be selected at once by holding down Ctrl or/and Shift keys while making the selection, and all files can be selected by using the Ctrl+A keyboard shortcut.
  4. Click Open or double-click the selected file.
  5. In the Import Studies window that appears, in the Study Type section, select or clear Indicator, Signal, and/or Function checkboxes to specify the types of studies to be displayed in the list.
  6. Select the studies to be imported by using the checkbox to the left of the study's name, or by double-clicking the study's name; click Select All to select all studies, and Clear All to clear all selections.
  7. At the bottom left of the Import Studies window, select the Compare source code option if you are importing a file with an already existing in the PowerLanguage .NET Editor name, but with differences in the code. In this case a window with both codes will appear after the Import and you will be able to compare them.
  8. Click OK to import the selected studies.


To export a study in into PowerLanguage .NET Editor:

  1. Open the PowerLanguage .NET Editor window:
    In MultiCharts main menu select File, then point to New and click PowerLanguage .NET Editor Window.
  2. Select File in the PowerLanguage .NET Editor main menu and click Export….
    Importing study window can also be opened by using the Ctrl+E keyboard shortcut.
  3. In the Study Type section, select or clear Indicator, Signal, and/or Function checkboxes to specify the types of studies to be displayed in the list.
  4. Select the studies to be exported by using the checkbox to the left of the study’s name, or by double-clicking the study’s name; click Select All to select all studies, and Clear All to clear all selections.
  5. At the bottom left of the Export Studies window, select the Protect checkbox to export studies in a read-only PLN file.
  6. Click OK to open the Export window.
  7. Select a path and choose the filename and type for the file to export the study or studies to, and click Save.