# Study Templates

For convenience, studies can be organized into templates. A template contains one or more studies with specific settings. To create a template, simply add and configure all of the studies you want to include on a chart. When you are satisfied with the studies and their settings, right click on the chart and select ***Template > Save As Template*** .

Alternatively, choose ***Chart > Template > Save As Template*** (from the top menu bar. Note: ***File > Template > Save As Template*** or ***Chart > Template > Save As Template*** from a Chart Window).

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FsKU0dVG8wFd5YCqCXLH9%2Fimage.png?alt=media&#x26;token=a39dbd76-653e-4d0f-b868-c73acd4a4bd1" alt=""><figcaption><p>Step 1 - Create a Template</p></figcaption></figure>

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FxnLLB7Sn28EQsmWXVylg%2Fimage.png?alt=media&#x26;token=52e98be1-1ca2-4da0-a178-a9ac61a70ece" alt=""><figcaption><p>Step 2 - New Chart Template Dialog</p></figcaption></figure>

A study template can be applied to another chart by choosing *Chart > Template > \<Template Name>* from the top menu bar (Note:***File > Template > Save As Template*** or ***Chart > Template > Save As Template*** from a Chart Window). Shortcut keys are available to make this more convenient.[ Shortcut keys](https://docs.motivewave.com/short-cuts#custom-keyboard-short-cuts) are Alt + 1, Alt + 2 etc where the number key applies the template in the order they were created.&#x20;

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FdhPEqupBNi7u8XXRWPLi%2Fimage.png?alt=media&#x26;token=212e4833-76f2-4a74-ae8e-a0c42454ce77" alt=""><figcaption></figcaption></figure>

When apply the template to a different chart, MotiveWave will ask if you would like to overwrite the existing studies ( screenshot below). Click on "***Do not show this warning in the future***" button to save the selection and hide this message for future use.&#x20;

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FW6cRPmQUBTFQlIaF0NAf%2Fimage.png?alt=media&#x26;token=afbdf617-8d5d-466f-a6be-3928a8fff1ce" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FzzrgYxxOmrgrbBQCKpSd%2Fimage.png?alt=media&#x26;token=6ffcc5bd-f9d0-476c-813e-d5fc4e5dbf8e" alt=""><figcaption></figcaption></figure>

## Removing a Template

To remove a template from a chart (including any associated plots). Right click on the template name (in the study legend).

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FnwTphxkywEFq2g18e22a%2Fimage.png?alt=media&#x26;token=200fc000-5303-4397-8a47-702b7799a096" alt=""><figcaption></figcaption></figure>

## Managing Templates

Your existing templates can be managed from the **Manage Templates** dialog. Choose ***Chart > Template > Manage Templates*** (from the top menu bar) or right click on the chart > ***Template > Manage Templates***. From this dialog you can add, edit, delete, import/export or change the order of the templates. The template order affects the [shortcut keys](https://docs.motivewave.com/short-cuts#custom-keyboard-short-cuts) (Alt + 1, Alt + 2 etc). Changing the order will affect which template applies to each short cut key sequence.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FNUgaXWwV1rp2rk3BOeSU%2Fimage.png?alt=media&#x26;token=4bef0b36-1896-4bde-a317-7eaf60ffdffd" alt=""><figcaption></figcaption></figure>

## Import/Export Templates

For convenience study templates can be exported and imported into a workspace. This can be useful for sharing templates or moving them between workspaces. Both of these operations can be done from the **Manage Templates** dialog (see previous section). The **Import/Export** buttons can be found 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%2Fe6Ls7G4L6tziYulGG32m%2Fimage.png?alt=media&#x26;token=ec666a05-86de-41a9-919b-848f0fe00e15" alt=""><figcaption></figcaption></figure>

## Template Preferences

Preferences for study templates can be found in the  Settings dialog. Click on **Chart** then on **Templates**. A default template can be configured (check the **Use Default** option). This will be displayed whenever you create a new chart.

The **Link Templates** option will apply a template to all charts that are part of the link group (if configured, see the **Chart Linking** section).

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FZ5ZwYJ96ibtnpTU8PZKu%2Fimage.png?alt=media&#x26;token=04fac2ba-b1a2-4792-8640-1aa5470c1d48" alt=""><figcaption></figcaption></figure>
