OPEN-SOURCE SCRIPT
NY Open Breakout [ATR-5000]

# **New York Open Breakout Indicator [Customizable ATR]**
## **📌 Overview**
This **Pine Script** indicator identifies high-probability breakout opportunities at the **New York market open (13:30 UTC)** based on **volatility filters** using **customizable ATR periods and thresholds**.
### **🔹 Key Features**
✅ **Fully Customizable ATR Periods** (2 to **5000** bars)
✅ **Adjustable Thresholds** (0.01% to 5.00%)
✅ **Opening Range (OR) Filter** (0.01% to 5.00%)
✅ **Clean Visuals** – Only highlights the **13:30 UTC candle** when conditions are met
✅ **Real-Time Info Panel** – Displays current ATR & threshold settings
✅ **Automatic Daily Reset** – Fresh signals every trading day
---
## **📊 How It Works**
### **1️⃣ Volatility Check (13:25 UTC)**
- Calculates **two ATR values** (user-defined periods)
- Compares them against **custom % thresholds**
- Only proceeds if **both ATRs exceed** their required volatility levels
### **2️⃣ Opening Range Confirmation (13:30 UTC)**
- Measures the **high-low range** of the 13:30 candle
- Validates if the range meets the **minimum % threshold**
- If all conditions pass → **Highlights the candle** in your chosen color
### **3️⃣ Visual Feedback**
- **🟣 Colored Candle** → Valid breakout signal
- **📊 Info Table** → Shows current ATR settings & thresholds
---
## **⚙️ Customization Options**
| **Setting** | **Default** | **Adjustable Range** |
|---------------------------|------------|----------------------|
| **First ATR Period** | 14 | **2–5000** bars |
| **Second ATR Period** | 161 | **2–5000** bars |
| **First ATR Threshold** | 0.42% | **0.01%–5.00%** |
| **Second ATR Threshold** | 0.40% | **0.01%–5.00%** |
| **OR Range Threshold** | 0.42% | **0.01%–5.00%** |
| **Candle Color** | Purple | **Any color** |
---
## **📈 Best Use Cases**
✔ **Forex (EURUSD, GBPUSD)** – Captures NY session momentum
✔ **Indices (SPX, NASDAQ)** – Works well with opening volatility
✔ **Commodities (Gold, Oil)** – Filters out low-energy days
---
## **🔧 How to Adjust Settings**
1. **Click the gear icon (⚙️)** on your TradingView chart
2. **Modify ATR periods & thresholds** as needed
3. **Change the candle color** for better visibility
---
## **🚀 Why This Indicator?**
- **No repainting** – Signals lock in after candle close
- **No clutter** – Only marks valid 13:30 candles
- **Adaptable** – Works on **any market & timeframe**
- **Fully automated** – No manual adjustments needed
---
### **📥 Apply & Start Trading!**
Simply **load the script** on TradingView and customize it to fit your strategy! 🚀
## **📌 Overview**
This **Pine Script** indicator identifies high-probability breakout opportunities at the **New York market open (13:30 UTC)** based on **volatility filters** using **customizable ATR periods and thresholds**.
### **🔹 Key Features**
✅ **Fully Customizable ATR Periods** (2 to **5000** bars)
✅ **Adjustable Thresholds** (0.01% to 5.00%)
✅ **Opening Range (OR) Filter** (0.01% to 5.00%)
✅ **Clean Visuals** – Only highlights the **13:30 UTC candle** when conditions are met
✅ **Real-Time Info Panel** – Displays current ATR & threshold settings
✅ **Automatic Daily Reset** – Fresh signals every trading day
---
## **📊 How It Works**
### **1️⃣ Volatility Check (13:25 UTC)**
- Calculates **two ATR values** (user-defined periods)
- Compares them against **custom % thresholds**
- Only proceeds if **both ATRs exceed** their required volatility levels
### **2️⃣ Opening Range Confirmation (13:30 UTC)**
- Measures the **high-low range** of the 13:30 candle
- Validates if the range meets the **minimum % threshold**
- If all conditions pass → **Highlights the candle** in your chosen color
### **3️⃣ Visual Feedback**
- **🟣 Colored Candle** → Valid breakout signal
- **📊 Info Table** → Shows current ATR settings & thresholds
---
## **⚙️ Customization Options**
| **Setting** | **Default** | **Adjustable Range** |
|---------------------------|------------|----------------------|
| **First ATR Period** | 14 | **2–5000** bars |
| **Second ATR Period** | 161 | **2–5000** bars |
| **First ATR Threshold** | 0.42% | **0.01%–5.00%** |
| **Second ATR Threshold** | 0.40% | **0.01%–5.00%** |
| **OR Range Threshold** | 0.42% | **0.01%–5.00%** |
| **Candle Color** | Purple | **Any color** |
---
## **📈 Best Use Cases**
✔ **Forex (EURUSD, GBPUSD)** – Captures NY session momentum
✔ **Indices (SPX, NASDAQ)** – Works well with opening volatility
✔ **Commodities (Gold, Oil)** – Filters out low-energy days
---
## **🔧 How to Adjust Settings**
1. **Click the gear icon (⚙️)** on your TradingView chart
2. **Modify ATR periods & thresholds** as needed
3. **Change the candle color** for better visibility
---
## **🚀 Why This Indicator?**
- **No repainting** – Signals lock in after candle close
- **No clutter** – Only marks valid 13:30 candles
- **Adaptable** – Works on **any market & timeframe**
- **Fully automated** – No manual adjustments needed
---
### **📥 Apply & Start Trading!**
Simply **load the script** on TradingView and customize it to fit your strategy! 🚀
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.