# ZigZag (5%)

### Introduction

The ZigZag indicator is a **trend analysis and noise filtering system** that identifies significant price movements by filtering out changes smaller than a specified percentage threshold. This advanced indicator provides **context-dependent signals** for both **LONG and SHORT opportunities** by highlighting major price swings and helping traders focus on significant market movements while ignoring minor fluctuations.

### How ZigZag Works

ZigZag filters out price movements smaller than a specified percentage (5% in this case) to identify significant trends and reversals by connecting major highs and lows. The indicator draws lines between significant price points, creating a simplified view of market structure that eliminates noise and highlights the most important price movements.

**Key Features:**

* **Percentage Filter:** Only shows moves greater than 5% threshold
* **Swing Point Connection:** Connects significant highs and lows
* **Noise Elimination:** Removes minor price fluctuations
* **Trend Visualization:** Provides clear trend direction view

**Applications:** • **Major trend identification** - ZigZag lines show dominant market direction\
• **Swing high/low marking** - Identifies important reversal points\
• **Pattern recognition** - Helps identify chart patterns and market structure\
• **Noise filtering** - Removes insignificant price movements\
• **Support/Resistance levels** - ZigZag points often act as key levels

{% hint style="info" %}
**Market Psychology:** ZigZag reveals the underlying market structure by showing only significant price moves. These major swings represent periods where market sentiment shifted meaningfully, making ZigZag points natural areas for future support and resistance as market participants remember these key levels.
{% endhint %}

#### Key Characteristics

| Attribute        | Details                               |
| ---------------- | ------------------------------------- |
| **Category**     | Advanced Indicators                   |
| **Type**         | Trend Analysis & Noise Filter         |
| **Primary Use**  | Major trend identification            |
| **Timeframe**    | All timeframes supported (1m to 1M)   |
| **Confirmation** | Volume, momentum, pattern recognition |

### Strategy Applications

#### 🟢 LONG STRATEGY (Uptrend Confirmation)

{% hint style="success" %}
Use ZigZag for LONG entries when the indicator shows higher highs and higher lows pattern, or when price breaks above significant ZigZag resistance levels, indicating bullish trend continuation.
{% endhint %}

**Base Entry Order (LONG)**

```
Trigger Type: Once per bar close
Bar TF: 4H

First Condition: Close Price
Timeframe: 4H
Operator: Greater Than
Second Condition: ZigZag
Timeframe: 4H

AND

First Condition: Volume
Timeframe: 4H
Operator: Greater Than
Second Condition: Simple Moving Average (20)
Timeframe: 4H
```

**Additional Entry Orders (LONG)**

```
Additional Entry 1: ZigZag breakout with momentum
First Condition: Close Price
Timeframe: 4H
Operator: Greater Than
Second Condition: ZigZag
Timeframe: 4H

AND

First Condition: RSI
Timeframe: 4H
Operator: Greater Than
Second Condition: Value
Value: 55

AND

First Condition: MACD Line
Timeframe: 4H
Operator: Greater Than
Second Condition: Value
Value: 0

OR

Additional Entry 2: Higher high pattern confirmation
First Condition: Close Price
Timeframe: 4H
Operator: Greater Than
Second Condition: High Price
Timeframe: 4H

AND

First Condition: Volume
Timeframe: 4H
Operator: Greater Than
Second Condition: Simple Moving Average (20)
Timeframe: 4H
```

**Take Profit Orders (LONG)**

```
Rule 1: Exit condition - ZigZag reversal pattern forming
First Condition: Close Price
Timeframe: 4H
Operator: Less Than
Second Condition: High Price
Timeframe: 4H

OR

Rule 2: Exit condition - Overbought with momentum divergence
First Condition: RSI
Timeframe: 4H
Operator: Greater Than
Second Condition: Value
Value: 75

AND

First Condition: Volume
Timeframe: 4H
Operator: Less Than
Second Condition: Simple Moving Average (20)
Timeframe: 4H

OR

Rule 3: Exit condition - ZigZag resistance level reached
First Condition: Close Price
Timeframe: 4H
Operator: Greater Than
Second Condition: ZigZag
Timeframe: 4H
```

**Stop Loss Orders (LONG)**

```
Rule 1: Stop loss - ZigZag support break confirmed
First Condition: Close Price
Timeframe: 4H
Operator: Less Than
Second Condition: ZigZag
Timeframe: 4H

OR

Rule 2: Stop loss - Volume confirms breakdown
First Condition: Volume
Timeframe: 4H
Operator: Greater Than
Second Condition: Simple Moving Average (20)
Timeframe: 4H

AND

First Condition: Close Price
Timeframe: 4H
Operator: Less Than
Second Condition: Low Price
Timeframe: 4H

OR

Rule 3: Stop loss - Momentum reversal confirmed
First Condition: MACD Line
Timeframe: 4H
Operator: Cross Below
Second Condition: MACD Signal Line
Timeframe: 4H
```

#### 🔴 SHORT STRATEGY (Downtrend Confirmation)

{% hint style="success" %}
Use ZigZag for SHORT entries when the indicator shows lower highs and lower lows pattern, or when price breaks below significant ZigZag support levels, indicating bearish trend continuation.
{% endhint %}

**Base Entry Order (SHORT)**

```
Trigger Type: Once per bar close
Bar TF: 4H

First Condition: Close Price
Timeframe: 4H
Operator: Less Than
Second Condition: ZigZag
Timeframe: 4H

AND

First Condition: Volume
Timeframe: 4H
Operator: Greater Than
Second Condition: Simple Moving Average (20)
Timeframe: 4H
```

**Additional Entry Orders (SHORT)**

```
Additional Entry 1: ZigZag breakdown with momentum
First Condition: Close Price
Timeframe: 4H
Operator: Less Than
Second Condition: ZigZag
Timeframe: 4H

AND

First Condition: RSI
Timeframe: 4H
Operator: Less Than
Second Condition: Value
Value: 45

AND

First Condition: MACD Line
Timeframe: 4H
Operator: Less Than
Second Condition: Value
Value: 0

OR

Additional Entry 2: Lower low pattern confirmation
First Condition: Close Price
Timeframe: 4H
Operator: Less Than
Second Condition: Low Price
Timeframe: 4H

AND

First Condition: Volume
Timeframe: 4H
Operator: Greater Than
Second Condition: Simple Moving Average (20)
Timeframe: 4H
```

**Take Profit Orders (SHORT)**

```
Rule 1: Exit condition - ZigZag reversal pattern forming
First Condition: Close Price
Timeframe: 4H
Operator: Greater Than
Second Condition: Low Price
Timeframe: 4H

OR

Rule 2: Exit condition - Oversold with momentum divergence
First Condition: RSI
Timeframe: 4H
Operator: Less Than
Second Condition: Value
Value: 25

AND

First Condition: Volume
Timeframe: 4H
Operator: Less Than
Second Condition: Simple Moving Average (20)
Timeframe: 4H

OR

Rule 3: Exit condition - ZigZag support level reached
First Condition: Close Price
Timeframe: 4H
Operator: Less Than
Second Condition: ZigZag
Timeframe: 4H
```

**Stop Loss Orders (SHORT)**

```
Rule 1: Stop loss - ZigZag resistance break confirmed
First Condition: Close Price
Timeframe: 4H
Operator: Greater Than
Second Condition: ZigZag
Timeframe: 4H

OR

Rule 2: Stop loss - Volume confirms breakout
First Condition: Volume
Timeframe: 4H
Operator: Greater Than
Second Condition: Simple Moving Average (20)
Timeframe: 4H

AND

First Condition: Close Price
Timeframe: 4H
Operator: Greater Than
Second Condition: High Price
Timeframe: 4H

OR

Rule 3: Stop loss - Momentum reversal confirmed
First Condition: MACD Line
Timeframe: 4H
Operator: Cross Above
Second Condition: MACD Signal Line
Timeframe: 4H
```

### Advanced Strategy Combinations

#### Multi-Timeframe ZigZag Analysis

{% tabs %}
{% tab title="Setup" %}
**Timeframe Hierarchy:**

* **Weekly:** Major trend structure (primary direction)
* **Daily:** Intermediate swing analysis
* **4H:** Execution timeframe for entries
* **1H:** Fine-tuning entry timing
  {% endtab %}

{% tab title="Execution" %}
**Entry:** 4H ZigZag break confirmed by daily trend\
**Target:** Next major ZigZag level\
**Stop:** Previous ZigZag swing point
{% endtab %}
{% endtabs %}

#### ZigZag Pattern Recognition Strategy

{% hint style="info" %}
**Pattern Identification:**

1. **Higher Highs/Higher Lows:** Bullish trend pattern
2. **Lower Highs/Lower Lows:** Bearish trend pattern
3. **Double Top/Bottom:** Reversal pattern at ZigZag extremes
4. **Triangle Formation:** Converging ZigZag lines

**Execution:**

* **Base Order:** ZigZag pattern completion
* **Additional:** Volume and momentum confirmation
* **Take Profit:** Pattern target or next ZigZag level
* **Stop Loss:** Pattern invalidation level
  {% endhint %}

#### ZigZag Retracement Strategy

{% hint style="warning" %}
**Retracement Levels:**

* **38.2% Retracement:** Minor pullback, trend likely continues
* **50% Retracement:** Moderate pullback, watch for reversal
* **61.8% Retracement:** Deep pullback, trend may be changing
* **78.6% Retracement:** Very deep, likely trend reversal

**Trading Approach:**

* Enter on retracements in trend direction
* Use ZigZag levels as support/resistance
* Confirm with volume and momentum
* Target next ZigZag swing level
  {% endhint %}

### Risk Management Guidelines

#### Position Sizing

| Strategy Type              | Position Size | Conditions                  |
| -------------------------- | ------------- | --------------------------- |
| **Major ZigZag Break**     | Standard      | Clear trend direction       |
| **ZigZag Retracement**     | Reduced (75%) | Counter-trend entry         |
| **Pattern Completion**     | Small (50%)   | Pattern-based entry         |
| **Multiple Confirmations** | Increased     | Volume + momentum + pattern |

#### ZigZag Reliability Factors

{% tabs %}
{% tab title="High Reliability" %}
✅ Clear trend pattern (HH/HL or LH/LL)\
✅ High volume at ZigZag points\
✅ Multiple timeframe confirmation\
✅ Pattern recognition alignment
{% endtab %}

{% tab title="Low Reliability" %}
❌ Choppy, sideways ZigZag pattern\
❌ Low volume at swing points\
❌ Conflicting timeframe signals\
❌ No clear pattern formation
{% endtab %}
{% endtabs %}

### Best Practices

#### For LONG Strategies

{% hint style="success" %}

1. **Higher high pattern** - Look for ZigZag making higher highs and higher lows
2. **Support breaks** - Enter when price breaks above ZigZag resistance
3. **Volume confirmation** - Ensure ZigZag breaks are backed by volume
4. **Pattern recognition** - Use ZigZag to identify bullish chart patterns
   {% endhint %}

#### For SHORT Strategies

{% hint style="success" %}

1. **Lower low pattern** - Look for ZigZag making lower highs and lower lows
2. **Support breaks** - Enter when price breaks below ZigZag support
3. **Volume confirmation** - Ensure ZigZag breaks are backed by volume
4. **Pattern recognition** - Use ZigZag to identify bearish chart patterns
   {% endhint %}

#### Common Mistakes to Avoid

{% hint style="danger" %}

* **Repainting concerns** - Remember ZigZag repaints, use confirmed signals only
* **Ignoring volume** - Always confirm ZigZag breaks with volume
* **Wrong timeframe** - Match ZigZag timeframe to trading style
* **No pattern context** - Consider overall market structure and patterns
  {% endhint %}

### Market Conditions Analysis

| Market Type    | LONG Strategy Effectiveness    | SHORT Strategy Effectiveness   |
| -------------- | ------------------------------ | ------------------------------ |
| **Uptrend**    | 🟢 High (higher highs pattern) | 🔴 Low (against trend)         |
| **Downtrend**  | 🔴 Low (against trend)         | 🟢 High (lower lows pattern)   |
| **Ranging**    | 🟡 Medium (range breaks)       | 🟡 Medium (range breaks)       |
| **Breakout**   | 🟢 High (pattern confirmation) | 🟢 High (pattern confirmation) |
| **Low Volume** | 🔴 Low (wait for confirmation) | 🔴 Low (wait for confirmation) |

### Related Indicators

| Indicator        | Relationship                | Link                                                                                                            |
| ---------------- | --------------------------- | --------------------------------------------------------------------------------------------------------------- |
| **Volume**       | Swing point confirmation    | [Volume](https://docs.skyrexio.com/strategy-builder/built-in-conditions/volume-data/volume)                     |
| **Fractals**     | Similar swing point concept | [Fractal](https://docs.skyrexio.com/strategy-builder/built-in-conditions/advanced-indicators/fractal)           |
| **Pivot Points** | Support/resistance levels   | [Pivot Points](https://docs.skyrexio.com/strategy-builder/built-in-conditions/advanced-indicators/pivot-points) |
| **MACD**         | Momentum confirmation       | [MACD](https://docs.skyrexio.com/strategy-builder/built-in-conditions/momentum-oscillators/macd)                |

### Conclusion

{% hint style="info" %}
ZigZag is a powerful tool for identifying major market structure and filtering out noise. Its strength lies in providing a clear view of significant price movements and helping traders focus on the most important trends while ignoring minor fluctuations.
{% endhint %}

#### Key Takeaways

{% hint style="success" %}

* **PRIMARY USE**: Major trend identification and noise filtering
* **SECONDARY USE**: Swing high/low identification for S/R levels
* **TERTIARY USE**: Chart pattern recognition and structure analysis
* **ALWAYS**: Remember ZigZag repaints - use confirmed signals only
  {% endhint %}

Success with ZigZag requires understanding that it's a lagging indicator that repaints. Use it for structural analysis and pattern recognition rather than real-time signals, and always confirm ZigZag-based decisions with volume and momentum indicators.

***

**Try our free AI-powered Strategy Builder at app.skyrexio.com and start creating professional trading strategies today. No coding required!**
