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! ๐
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.