# Custom Instruments

{% hint style="success" %}
Professional / Ultimate
{% endhint %}

MotiveWave™ allows you to create custom instruments that are based on 2 or more existing instruments. There are 3 types of custom instruments:

* **Spread** – Displays the difference between two instruments
* **Ratio** – Displays the ratio by dividing the price of one instrument by another
* **Index** – Allows you to combine the prices of 2 or more instruments into an index

To create a new custom instrument, choose ***File > New > Custom Instrument*** 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%2FisHrvI3JrGWQ1pKy1WxR%2Fimage.png?alt=media&#x26;token=d9811524-f510-4284-8f25-66fe7cb50cdb" alt=""><figcaption></figcaption></figure>

This will open a wizard to guide you through creating a custom instrument. You will need to enter a unique symbol for the instrument (it cannot match any existing instrument in the workspace). In the following example we are going to create a custom index (US Dollar Index). The minimum tick value specifies the minimum amount for each change in the instrument price.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FO3BeyXn8lEIKrTjDTgmd%2Fimage.png?alt=media&#x26;token=a6af5d34-4a23-4ce6-a3e5-92b85b996cd3" alt=""><figcaption></figcaption></figure>

The US Dollar Index measure the relative value of the US Dollar vs a set of foreign currencies. For more information see the definition on Wikipedia: <https://en.wikipedia.org/wiki/U.S._Dollar_Index>. In this case we need to include 6 different currency pairs and use the exponent option to assign a weight to each one (**Note:** EUR/USD and GBP/USD need to be inverted):

* **EUR/USD** – 57.6% weight (inverted) (Euro dollar)
* **USD/JPY** – 13.6% weight (Japanese Yen)
* **GBP/USD** – 11.9% weight (inverted) (British Pound)
* **USD/CAD** – 9.1% weight (Canadian Dollar)
* **USD/SEK** – 4.2% weight (Swedish Krona)
* **USD/CHF** – 3.6% weight (Swiss Franc)

These values are multiplied together and then multiplied by 50.14381 (see link above for the reason for this number).

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FwIPxXFaBUhFJMNiaoX1P%2Fimage.png?alt=media&#x26;token=88c4c96a-3bf2-4f13-ab9a-e9120219cb9e" alt=""><figcaption></figcaption></figure>

The following chart shows daily candles for the custom index that we created above. Incoming price updates will also be calculated using the formula that was defined for the instrument.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FLlvkSh5XlLRklFqLAsHV%2Fimage.png?alt=media&#x26;token=9c10fb04-b472-4fdd-a5b4-fcbfafd6a1ca" alt=""><figcaption></figcaption></figure>

Custom instruments can be edited/managed from the **Manage Instruments** dialog (*Configure > Instruments* from the Console menu bar). The easiest way to display all custom instruments in the workspace is to sort the table by the **Type** column (ascending). If you double click on a custom instrument, the **Edit** **Custom Instrument** dialog will be opened allowing you to edit the instrument.

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FoSbrMF4jdhiubEgkSPoN%2Fimage.png?alt=media&#x26;token=ae759ace-a804-44e1-be67-cfe62f12f8f5" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2457682635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTKkuQ4IBYTTbN0oyR7L0%2Fuploads%2FeV5vOYv7wBKgJwBXvoJ4%2Fimage.png?alt=media&#x26;token=86dfadd7-1d05-4578-9602-51e436d67276" alt=""><figcaption></figcaption></figure>
