# Sharing Analyses

There are several ways to share analyses with other users of MotiveWave™:

* **Import/Export Analyses** – Individual analyses can be exported into files and shared with other users. These users would import the analyses into their copy of MotiveWave.
* **Analysis Packs** – Similar to above, Analysis Packs contain groups of analyses stored in a single compressed file. This option is very convenient for sets of analyses that are regularly shared.
* **Repository** – The repository feature allows you to store analyses outside of the workspace and share the files using a file sharing service such as DropBox™.

## Import/Export Analyses

Import and export are very valuable tools for sharing your analysis with another MotiveWave™ user.

When you export an analysis file, the file will contain all of the information related to your analysis as well as information about the instrument. The exported file will be in JSON format and will have an extension of .mwml (MotiveWave Markup Language).

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2F5Me4yAA45DbXef9JnkDs%2Fimage.png?alt=media&#x26;token=f43d4dae-5524-4aed-a206-85b95b54b0b5" alt=""><figcaption></figcaption></figure>

Choose ***Chart > Analysis > Export Analysis*** from the top menu bar to open the *Export Analysis* dialog ( screenshot above).&#x20;

By default the analysis file will be saved on your computer desktop in the form \<Symbol> – \<Analysis Name>.mwml. You may change this name and location if you like. Click on the ***Save*** button to export the analysis to the selected file.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FoJ2FmXAzqfjMVauiPxzb%2Fimage.png?alt=media&#x26;token=0d6a0d5d-20c8-4b3e-8c87-af569dd6b70d" alt=""><figcaption></figcaption></figure>

Similarly, to import an analysis file, choose ***Chart > Analysis > Import Analysis*** from the top menu bar to display the **Import Analysis** dialog. Locate the analysis file, select it and press the **Open** button. If the chart you are currently using has the same instrument as the imported analysis file, it will be opened in another analysis tab. If the instrument does not match the chart, a message dialog will be displayed indicating that the import was successful and how to open the imported file.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FMUPAtJMmNQhdiN9S94Tl%2Fimage.png?alt=media&#x26;token=23ed2bfa-41ce-4587-b568-9a52a669c8bf" alt=""><figcaption></figcaption></figure>

## Analysis Packs

The Analysis Packs feature provides a more convenient method for sharing or transferring a set of analyses from one computer to another. This is similar to the import/export analysis feature but allows you to include multiple analyses across one or more instruments.

The Export/Import Pack options can be found under the ***File > Chart*** menu of the Console menu bar:

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FKtpyBROwRYvkbI9v55M0%2Fimage.png?alt=media&#x26;token=84b4ed0d-9bfe-40f8-a443-7d554cc68ed3" alt=""><figcaption></figcaption></figure>

### Exporting a Pack

Use the **Export Analysis Pack** dialog (see below) to select a set of analyses and create a pack file. The pack file is a compressed zip file. Click on the **+** button to select analyses to add to the pack.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FpuuXy2qeNVVAMCvQDUfb%2Fimage.png?alt=media&#x26;token=8f4c0f25-d7a3-440d-b56f-acca738b47cc" alt=""><figcaption></figcaption></figure>

When you click on the **+** button the **Select Analyses** dialog will be displayed (see below). Select the symbol from the input box to display the available analyses. Select the analyses you would like to include and press the **Add and Close** or the **Add** button.

For convenience, the **Add** button will keep the dialog open so you can choose another symbol. When you are finished, click **Add and Close** to dismiss this dialog.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2F8Df08xkGec6rqDWswUAM%2Fimage.png?alt=media&#x26;token=67e4cbd2-9543-4491-b278-9729d8bdd35e" alt=""><figcaption></figcaption></figure>

When you have completed selecting all of the analyses for the pack, click on the **Export** button at the bottom of the **Export Analysis Pack** dialog. For convenience all of the settings in this dialog will saved for the next time you use it.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FBSgZbMiupCoGRHgbHqBq%2Fimage.png?alt=media&#x26;token=e5bf6a20-d6f3-4770-911e-65aaf14d13a4" alt=""><figcaption></figcaption></figure>

#### Export Templates

Templates are useful in cases where you frequently export different sets of analyses to one or more users or transfer files between computers. To save an analysis pack as a template, select the Template drop down:

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FhJ3ekT2fUzxzLqlBQIiU%2Fimage.png?alt=media&#x26;token=c001e1ac-bd18-4e5c-8b25-0ae53302692b" alt=""><figcaption></figcaption></figure>

This will launch the Save As Template dialog. Enter a name for the template and click the Save As button (see below).

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FeNPiReP5HGVKntwQAkQ0%2Fimage.png?alt=media&#x26;token=98274541-3024-4879-ac40-c5aaed080482" alt=""><figcaption></figcaption></figure>

The template can then be applied by choosing it from the Template drop down at the bottom of the dialog.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FYpQUiwxWeWwKNnnqQL7s%2Fimage.png?alt=media&#x26;token=658c0809-3ca0-4eb6-9cbe-711c7e4dae92" alt=""><figcaption></figcaption></figure>

### Importing a Pack

Use the **Import Analysis Pack** dialog to import analyses from a pack into your workspace. A prefix can optionally be added to each analysis. This can be useful to identify where the analyses came from or to avoid naming conflicts with existing analyses in your workspace. You can selectively choose which analyses to import. By default, all will be selected.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2Fs1u8jpYQP83ETc49XXN8%2Fimage.png?alt=media&#x26;token=1606948d-2f93-477a-947e-d707b7e55f6a" alt=""><figcaption></figcaption></figure>

## Repository

By default, analyses and configuration information are stored in the workspace. The repository feature provides more flexibility by allowing some of all of this information to be stored in the file system. This can be very useful if you want to synchronize this data (using Google Drive or Drop Box) with other computers or use as an alternative way to create backups.

Choose *Configure -> Repository* from the Console menu bar to access the Repository settings.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2F1vDMugdSRxTO8PcN9iSa%2Fimage.png?alt=media&#x26;token=0a7c9ab3-c212-48f6-9da0-f6e5f89c63a4" alt=""><figcaption></figcaption></figure>

Uncheck the ***Use Local Database*** option to store information in the File System instead of the database. You will need to choose the root directory for this information by clicking the **Browse** button. If you would like to share this data using Google Drive or Drop Box, make sure to choose a location inside the shared folder.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FS7vGefJ5N1kNj9Q2OsO9%2Fimage.png?alt=media&#x26;token=9f0ea537-c570-4a1d-af33-337acfb182c7" alt=""><figcaption></figcaption></figure>

Optionally you can choose to store the following types of information by checking the boxes below:

* **Include Preferences** – this is the settings in the Preferences dialog and other configured settings.
* **Include Watch Lists** – watch lists and quote sheets
* **Include Chart Templates** – any study templates that you have setup in your system
* **Include Windows & Layouts** – open window information and locations as well as the Console layout
* **Include Scans** – scan criteria
* **Include Global Alerts** – this applies to price alerts.

### Sharing using Google Drive or Drop Box

Storing data in the File System provides the flexibility to share this information with other computers using utilities such as Google Drive or Drop Box. Note: this feature is not limited to these two services. Any cloud-based service that interacts with your local file system should work just as well.

For more information on these services, see their websites:

* <https://www.dropbox.com/>
* <https://drive.google.com/>

**Note**: some issues have been found with Google Drive. These issues are related to the behavior of Google Drive when sharing files. For more information see: <http://www.techrepublic.com/blog/google-in-the-enterprise/steering-around-the-potholes-with-google-drive/>

### Folder Structure

If you look at the root folder for the repository you will see two folders:

* **analysis** – contains analysis files. This directory contains several sub folders that organize analysis by instrument type and instrument symbol.
* **config** – contains configuration files

The following diagram shows an example repository structure for an FXCM workspace.

![Repository Folder Structure](https://content.gitbook.com/content/TKkuQ4IBYTTbN0oyR7L0/blobs/Hk5eCipRIcVhKyFMVPyT/13.png)

### Analysis Sources

**Analysis sources** provide a way to share specific analyses or to access analyses from other MotiveWave™ users. **Analysis sources** are defined by a folder that exists in your local file system. You would need to use a service such as Google Drive or Drop Box to perform the sharing and synchronization.

**Analysis sources** are defined in the Repository Dialog (***Configure > Repository*** from the Console menu bar)

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FrYGQSUBdKMaiaGErnpgk%2Fimage.png?alt=media&#x26;token=c04e417b-98b8-4075-8a9f-da259b4e1b6c" alt=""><figcaption></figcaption></figure>

Click on the **Add** button to define an **analysis source**. You can have multiple **analysis sources**. The **Override Repository** option is important if there are naming conflicts between your local repository and the **analysis sources**.

For example if you created an analysis called “Wave 3 Intraday” for the EUR/USD pair and one of the **analysis sources** also has an analysis called “Wave 3 Intraday” for EUR/USD, MotiveWave™ will need to determine which one to display. If **Override Repository** is checked, it will display the one from the **analysis source** (instead of the local repository).

The following dialog will appear when you click the **Add** button. Each **analysis source** will require a name. This name can be anything you like, but should reflect the source of the analyses. Choose a directory (folder) for the source by clicking on the **Browse** button. (Note: this will be a folder that is synchronized using Google Drive/Drop Box).

The **Read Only** attribute indicates if you are going to be modifying the analyses or just viewing them. Uncheck this option if you are intending to publish analyses to this source

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2F0QNHFvKqr4kHcGLsZJKN%2Fimage.png?alt=media&#x26;token=c10cc084-1d56-47f2-a713-fd0c6f8ee78f" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.motivewave.com/user-guide/charts-1/analyses-guide/sharing-analyses.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
