# Streak

### Serie of candles

<figure><img src="https://793384675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsQezxfp9oB9jrccv5OA4%2Fuploads%2FMPxGbXcXoYjBho1sBFL5%2Fimage.png?alt=media&#x26;token=f9a2a22e-ea4f-45ee-9075-3601cc74afd8" alt="" width="563"><figcaption><p><strong>In this example, we want to go long once exactly 3 consecutive candles of 5 minutes each are green.</strong></p></figcaption></figure>

<figure><img src="https://793384675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsQezxfp9oB9jrccv5OA4%2Fuploads%2FiM06pd16djMWMH7cwkhV%2Fimage.png?alt=media&#x26;token=45f7e5b8-5ec7-4aec-9c0a-72325781727c" alt=""><figcaption><p><strong>A long signal is triggered after three consecutive 5-minute candles close in green.</strong></p></figcaption></figure>

<figure><img src="https://793384675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsQezxfp9oB9jrccv5OA4%2Fuploads%2FqBZt7jYO7tGVLcIwc23S%2Fimage.png?alt=media&#x26;token=907f48c3-df5e-4b71-a57f-2b0e42d9d803" alt="" width="563"><figcaption><p><strong>In this example, we want to short once exactly 3 consecutive candles of 5 minutes are down.</strong></p></figcaption></figure>

<figure><img src="https://793384675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsQezxfp9oB9jrccv5OA4%2Fuploads%2FqZgpznh7EIE1Hc9G8VXn%2Fimage.png?alt=media&#x26;token=4bff4846-b093-4fc8-9f9e-764523324dc7" alt=""><figcaption><p><strong>A short signal is triggered after three consecutive 5-minute candles close in red.</strong></p></figcaption></figure>

### SMA Series

Instead of relying solely on the price, this trigger takes into account the simple moving average (SMA) of the chosen period. This approach results in longer streaks as the SMA smooths out fluctuations. Furthermore, it helps to eliminate the "noise" caused by isolated upward candles that disrupt a series of downward candles.

<figure><img src="https://793384675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsQezxfp9oB9jrccv5OA4%2Fuploads%2Fkkevpxm7zLWwe3bBPcDS%2Fimage.png?alt=media&#x26;token=01060571-48b6-4026-9c81-f8a0b2afefdf" alt="" width="563"><figcaption><p><strong>In this example, we want to long once exactly 1 SMA value of period 10 is green.</strong></p></figcaption></figure>

## Notes :&#x20;

* When using the streak indicator, we recommend you to apply a volatility filter (can be done through ATR indicator), candles streaks can be extremely different in low and high volatility time.
* You can use this indicator as a trend analyzer. To increase the reliability of streak indicators, consider using additional confirmation signals such as VWAP, EMA or even momentum indicators. This will help to validate potential trading opportunities after getting the correct trend.
