# Strategy "Deviation from the average"

The strategy is based on trading on price deviations from its average value, but with a more advanced tool such as the Balance Indicator.

The point is to find the moment when there is a critical preponderance of ascending or descending candlesticks, then enter the appropriate position (Long or Short) and hold it until the price and the moving average intersect.

Theory: with strong dominance by one of the parties, the asset price deviates from its average value, but after restoring equality of forces, the price usually returns to its average value.

Let's analyze the conditions of the strategy in more detail.

Step 1. Go to "Add Widget" and open the Trading View tab.

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2F0kMSzX2ghYblmBCI57P2%2Fimage.png?alt=media&#x26;token=f9a396f8-659e-40a8-8ca1-87dce2c2f7f9" alt=""><figcaption></figcaption></figure>

Step 2. You need to decide on the traded instrument. This strategy works well on more volatile coins, such as TRB, WIF, STRK, SUI, etc.&#x20;

Step 3. After you have decided on a trading instrument, then you should select a working timeframe.

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2Fie0JlgtnUSKvdSyTQcsV%2Fimage.png?alt=media&#x26;token=501ee274-4c93-44e4-981a-e7dc32997698" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The timeframe can be absolutely any (optimal TF = 1M-1H).&#x20;

The larger the TF, the less sensitivity and volatility (deviations from the average), so there will be fewer trades and win rate, more profits and losses.
{% endhint %}

Step 4. Once you have completed the above steps, you will need to configure the following indicators: Balance Indicator (section "1EX Indicators"), Moving Average (section "Indicators")

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2FbO8rvetcz1KEANf4v0N0%2Fimage.png?alt=media&#x26;token=5e3aa1f3-0b35-4f21-a414-6e6024ab8efd" alt=""><figcaption></figcaption></figure>

To adjust the balance indicator, you will need to select two parameters: **Rolling period** and **critical imbalance.**

{% hint style="info" %}
**Rolling period -** is the time interval for which the indicator calculates a certain value. To get better results, you need to choose a period that will be a multiple of 30-50 times your working timeframe on the instrument chart. Lower multiplicity means higher sensitivity, higher multiplicity means lower sensitivity.&#x20;

**Example:** TF = 1 min, Period = 30 min (30 candles for 1 minute each).
{% endhint %}

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2FcBQ2btNmcM9XaBE9QlKv%2Fimage.png?alt=media&#x26;token=a5de2f49-e895-4fef-8215-8d7eed508a62" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Critical imbalance** - is a critical percentage of the preponderance of green candles over red candles, or vice versa, a critical percentage of the preponderance of red candles over green candles, the optimal value is from 0.67 to 0.73 (it is different for each trading instrument).
{% endhint %}

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2FlR5zWQBbEOgTbwcTsYhD%2Fimage.png?alt=media&#x26;token=dc0f9af5-238b-4b07-bdc1-4ab3ee892b32" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**The value of the indicator lines:**

_<mark style="color:green;">Green line</mark>_ - relative value of the dominance of green candles (upward dynamics).

_<mark style="color:red;">Red line</mark>_ - relative magnitude of the dominance of red candlesticks (downward dynamics).
{% endhint %}

To set up the **Moving Average** indicator, you need to select the length "**Length**". The length of the indicator must correspond to the **Rolling period** of the balance indicator, that is, it must be the same (in some cases, the value may range from 30 to 50 and not coincide with the value of the Rolling period).

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2FbDAt9rn7fin6CTlS7waz%2Fimage.png?alt=media&#x26;token=85fbd9b5-7fdd-40e2-afb3-c0412c845c29" alt=""><figcaption></figcaption></figure>

After the settings, the workspace should take the following form:

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2FPFcpMv42NRZeMecGpwwR%2Fimage.png?alt=media&#x26;token=75bbfa25-cede-4a2c-97ce-6cc40729fc69" alt=""><figcaption></figcaption></figure>

## Entry points to the deal

* The Long signal will appear when, according to the Balance Indicator, we reach a critical imbalance of the downward dynamics, in simple words, when the red line of the indicator reaches critical values (for example, 0.67), after which we get into a long position and hold it until the price reaches the values of the Moving Average indicator, that is, to the average value of the price for a certain period.

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2Fddd07dbC0Qew34HKizhU%2Fimage.png?alt=media&#x26;token=75ba5923-03cc-464a-b01a-1ffedfc724c4" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
The trading result in this situation is +0.56% excluding leverage.
{% endhint %}

* The Short signal will appear when, according to the Balance Indicator, we reach a critical imbalance of the upward dynamics, in simple words, when the green line of the indicator reaches critical values (for example, 0.7), after which we get into a short position and hold it until the price reaches the values of the Moving Average indicator, that is, to the average value of the price for a certain period.

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2FOxo0qJOw3LrzONIfWIsp%2Fimage.png?alt=media&#x26;token=511edb46-ab56-47aa-a993-e0f705e78cdd" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
The trading result in this situation is +0.26% excluding leverage.
{% endhint %}

_Additional conditions:_

1. You do not need to get into position again if the critical imbalance has come to your values and increases further. That is, if you have an imbalance of 0.67 and the indicator starts to grow further, then you should not continue to increase the volume of the position.

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2FazuFUQkC8oPUPuRuJPaf%2Fimage.png?alt=media&#x26;token=5b385a91-354d-41e3-954e-7cd8064533d1" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
The trading result in this situation is +0.65% excluding leverage.
{% endhint %}

2. If the imbalance came to critical values, then rose and fell or fell immediately below the critical values, and then returned to the critical value again, then in such a situation it is necessary to increase the volume and enter the same position again (average the price or add collateral) until the price reaches the average values.

<figure><img src="https://50984263-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxvSjYcSxDfAX6PVpWdgr%2Fuploads%2F9NIbHobrnmZMFxKkg26U%2Fimage.png?alt=media&#x26;token=bcecdda0-a384-488a-9806-fbbd1bb2a9ec" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
The trading result in this situation is +1.27% excluding leverage.
{% endhint %}

CONCLUSIONS:

You can use this strategy both independently and as one of the filters within a variety of trading strategies used by traders.

{% hint style="danger" %}
**IMPORTANT!** Trading involves risks. The user is solely responsible for their actions or inactions when using the described trading strategy. The strategy and its description are for informational purposes only. The information provided here does not constitute personalized investment advice. News, articles, expert comments, research, forecasts, and other information are presented without considering any specific investment profile, and the financial instruments or operations mentioned may not align with the expected returns, investment horizon, or acceptable risk levels for any particular user. Company 1EX is not responsible for any potential losses resulting from trades based on the described strategy or investments in the financial instruments mentioned in this publication.
{% endhint %}
