OPEN-SOURCE SCRIPT
已更新

PAE - Price Action Essential

321
**PAE - Price Action Essential** indicator.
This system is engineered to provide high-fidelity market structure readings, blending moving average harmony with algorithmic volume analysis at critical turning points.

---

## 1. Indicator Philosophy

**PAE** operates under the **"Signal over Noise"** principle. Its goal is to declutter the chart of visual distractions, highlighting only the areas where true confluence exists between price action and institutional effort (volume).

---

## 2. Moving Average Dynamics & Action Zone

The system utilizes a hierarchy of four moving averages to segment market flow:

### A. The Action Zone (Short-Term)

This is generated via a dynamic shading between the **Fast MA (9)** and the **Base MA (20)**.

* **Configuration:** Allows the user to select the calculation type (EMA, SMA, WMA, HMA) for both averages simultaneously.
* **Fast MA Colors:**
* `#a5d6a7` (Soft Green) during ascending values.
* `#faa1a4` (Soft Red) during descending values.


* **Purpose:** The shaded area acts as a "value band." Pullbacks into this zone during defined trends often offer the highest probability entry opportunities.

### B. Structural MAs (Mid & Long-Term)

These averages are fixed to **SMA** type to maintain stability in trend analysis:

* **Medium SMA (40):** Uses vibrant colors (**#3179f5** Blue / **#ffee58** Yellow) to clearly mark the primary direction of the current swing.
* **Slow SMA (200):** Uses pastel tones (**#90bff9** / **#fff9c4**) and a dotted style to define the long-term institutional bias.

---

## 3. Pivot Analysis with Smart Volume

**PAE** identifies fractals (Highs and Lows) and automatically classifies them based on their **Relative Volume** compared to the previous 20 candles.

### Visual Classification by Color

To ensure rapid interpretation, labels are set to **Tiny** size, with color serving as the primary data indicator:

| Pivot Type | Color | Volume Condition | Interpretation |
| --- | --- | --- | --- |
| **Strength (MAX)** | `#ff001e` (Bright Red) | `> 160%` of Avg | High-conviction resistance. |
| **Strength (MIN)** | `#0fa600` (Bright Green) | `> 160%` of Avg | High-conviction support. |
| **Base (MAX)** | `#f1adad` (Soft Rose) | Between `30%` - `160%` | Standard market structure. |
| **Base (MIN)** | `#bee7c0` (Soft Mint) | Between `30%` - `160%` | Standard market structure. |
| **Noise** | `#ffffff` (White 67% Transp.) | `< 30%` of Avg | Weak pivots or lack of interest. |

---

## 4. Contextual Information (Tooltips)

Every Pivot label is interactive. By hovering the cursor over the triangles, the trader obtains precise data:

* **Price:** Indicates the exact **Closing** value of the candle that triggered the pivot (MAX or Min).
* **Vol:** Displays the exact percentage of relative volume. For example, a value of **200%** confirms that the candle had double the average volume, validating the strength of that support or resistance level.

---

## 5. Recommended Configuration Parameters

* **Left/Right Bars (3):** The ideal balance between early detection and swing confirmation.
* **Strength Factor (1.60):** Filters for movements backed by professional intent.
* **Noise Factor (0.30):** Identifies exhaustion or lack of participation.

---

### Operational Summary

The **PAE** helps traders stop guessing. If the price reaches the **Action Zone** (shading) and coincides with a **Strength Pivot** (bright color), the probability of a reaction in favor of the trend is significantly high. It is a precision tool designed for traders seeking absolute clarity in their decision-making process.

發行說明
To publish this script on TradingView, the documentation needs to follow their **Community Guidelines**, which require a clear explanation of what the indicator does, how it works, and how to interpret its signals.

The following format is ready to be pasted into the **"Description"** field during the publication process on TradingView.

---

## **PAE - Price Action Essential**

### **Overview**

**Price Action Essential (PAE)** is a comprehensive market structure tool designed for traders who demand high visual clarity and institutional-grade data. It declutters the price action by prioritizing "Signal over Noise," using dynamic moving average relationships and algorithmic volume analysis to highlight real market intent.

---

### **Key Features**

#### **1. The Dynamic Action Zone**

The core of PAE is the **Action Zone**, a shaded area created between the **Fast MA (9)** and the **Base MA (20)**.

* **The Logic:** This zone acts as a "value band." When the Fast MA is above the Base MA (Green shading), the market is in an immediate bullish phase. When below (Red shading), it is bearish.
* **Trading Application:** Look for pullbacks into the shaded zone for high-probability "buy the dip" or "sell the rally" setups.

#### **2. Multi-Tier Trend Hierarchy**

PAE uses a 4-layer moving average system to provide context across different timeframes:

* **Fast/Base MAs:** Short-term momentum and entry zones.
* **Medium SMA (40):** High-saturation colors (**Blue/Yellow**) to identify the primary swing trend.
* **Long-term SMA (200):** Soft-tone dotted line (**Light Blue/Cream**) representing the ultimate institutional bias and major support/resistance.

#### **3. Smart Volume Pivot Classification**

Unlike standard fractals, PAE analyzes the **Relative Volume** of every pivot point compared to its 20-period average.

* **Institutional Strength (Bright Red/Green):** Pivots formed with **>160%** relative volume. These are high-conviction reversal or breakout levels.
* **Base Structure (Soft Rose/Mint):** Standard market flow with average volume.
* **Market Noise (Semi-Transparent White):** Pivots with **<30%** relative volume. These are "ghost pivots" often ignored by professional traders, now rendered with **67% transparency** to keep your chart clean.

#### **4. Interactive Data Tooltips**

Hover your cursor over any pivot label to access:

* **Exact Price:** The closing price of the pivot candle.
* **Relative Vol %:** The precise effort behind the move, helping you distinguish between a retail trap and an institutional move.

---

### **How to Use**

1. **Identify the Bias:** Check the color of the **SMA 200** and **SMA 40**.
2. **Find the Zone:** Wait for the price to enter the **Shaded Action Zone**.
3. **Confirm with Volume:** Look for a **Strength Pivot** (Bright Green or Red) to confirm that big money is defending the level.
4. **Filter Noise:** Ignore the semi-transparent white labels during high-volatility sessions to avoid overtrading.

---

### **Settings**

* **MA Types:** Toggle between EMA, SMA, WMA, or HMA for the Fast/Base MAs to suit your trading style.
* **Volume Factors:** Customize the "Strength" and "Noise" thresholds to adapt to different assets like Forex, Crypto, or Stocks.
* **Label Size:** Defaulted to **Tiny** for a professional, "Price-First" interface.

---

**Would you like me to help you set up specific "Alert Conditions" in the code so you get a notification when a "Strength Pivot" appears?**

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。