Daily Gann Pivot Indicator - Description
The **Daily (Gann Pivot) Indicator** is a custom **Pine Script** tool designed to calculate and display **Gann-based pivot levels** on a price chart. It utilizes past **high, low, and close** values to determine key support and resistance levels that traders can use for potential price movement analysis.
**Features & Functionality**
1. **Customizable Inputs:**
- Select **source type** (default: `open` price).
- Adjust **lookback period** (`Days Back` setting).
- Choose from various **timeframes** (D, 2D, 3D, weekly, monthly, etc.).
2. **Pivot & Support/Resistance Levels:**
- **Main Pivot Level** (calculated as the average of previous period's HLC).
- **Standard Support & Resistance Levels (S1, S2, S3, S4, R1, R2, R3, R4)**.
- **Intermediate Levels** based on Gann calculations (`TR1`, `TS1`, `TR2`, `TS2`).
3. **Custom Display Settings:**
- Toggle visibility for **Pivot, Support, and Resistance Levels**.
- Enable **labels** for different pivot levels with adjustable text sizes.
- Choose **line style** (Solid, Dashed, Dotted) and extension direction (Left, Right, Both, None).
4. **Dynamic Updates & Auto-Plotting:**
- Automatically updates pivot levels **daily**.
- Adjusts lines when new trading periods begin.
- Labels key price levels with **Gann angles** (e.g., 90º, 180º, 270º, 360º).
---
### **How It Works**
- The script calculates the pivot point and price range from the **previous period**.
- It derives **support and resistance levels** using Gann’s pivot theory.
- If enabled, the script **plots lines and labels** for visual clarity.
- It updates dynamically with **new bars** and adjusts lines accordingly.
---
### **Who Can Use It?**
- **Day Traders & Swing Traders** looking for precise support/resistance levels.
- **Technical Analysts** applying Gann’s methodology.
- **Price Action Traders** who use pivots for trade setups.
---
This indicator helps traders **identify critical price levels** and potential turning points in the market based on **Gann’s pivot calculations**. 🚀