# Failure Swing

{% embed url="<https://www.youtube.com/watch?v=yyrOMmaHFfY>" %}

"Failure Swing" is a state that confirms that the trend will change direction.

If the current trend does not continue and broken, it is called "**Failure Swing**". The goal of investors who want to use this technical analysis algorithm is to try to make a profit by taking advantage of the price fluctuations and oscillations of a market. In a downtrend, each bottom is lower than the previous low. If there is a trough higher than the last trough formed by such oscillations in a falling trend and the subsequent trend is in the upward direction, this is explained as a "Failure Swing" in a falling trend.

In an uptrend, each peak is higher than the previous one. If there is a lower peak than the last peak formed by such oscillations in an ascending trend and the subsequent trend is in the downward direction, this is explained as a "Failure Swing" in an ascending trend.

<figure><img src="/files/GfxYQaOnmyMxUwaTdCQm" alt=""><figcaption><p>​</p></figcaption></figure>

**In a downtrend ;**

<figure><img src="/files/HGmOfU4jOOLSbiPavCjY" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
If the price breakout the last lower high (LH) the formation can be considered a buy signal.
{% endhint %}

**In an uptrend ;**

<figure><img src="/files/f4wAetSLWlfzCnrQmHt1" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
If the price breakdown the last swing low (SH) the formation can be considered a sell signal.
{% endhint %}

{% hint style="info" %}
​In order to easily obtain Failure Swing detections, you can create [<mark style="color:blue;">Alerts</mark> ](https://www.youtube.com/watch?v=-yS1Cv6PYm0\&t=42s)or [<mark style="color:blue;">Custom Signals</mark>](https://www.youtube.com/watch?v=sz_pwdSpZeg\&t=27s) through the Coinlegs system, and start autotrading bots on [<mark style="color:blue;">LegsBot</mark> ](https://www.legsbot.com)by using the alerts you create.
{% endhint %}


---

# 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://academy.coinlegs.com/patterns/failure-swing.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.
