PROTECTED SOURCE SCRIPT
تم تحديثه True Opens & Key Levels

# True Opens & Key Levels - Standalone Indicator Guide
## Overview
This is a clean, focused indicator that displays only key level rays and true open levels. All impulsive series detection, FVG detection, and Fibonacci projections have been removed for a minimal, uncluttered chart experience.
---
## Features Included
### 📊 Previous Period Levels
- **Previous Day High/Low** - Daily reference points
- **Previous Week High/Low** - Weekly reference points
- **Previous Month High/Low** - Monthly reference points
### 🕐 Session High/Low Levels
- **NY AM Session** (9:30-12:00 ET) - Morning session range
- **NY Lunch Session** (12:00-13:30 ET) - Lunch hour range
- **NY PM Session** (13:30-16:00 ET) - Afternoon session range
- **London Session** (2:00-5:00 ET) - London trading hours
- **Asia Session** (20:00-00:00 ET) - Asian market hours
### 🎯 True Open Levels (NEW)
- **True Day Open** - Updates daily at 00:00 ET
- **True Session Open** - Updates every 6 hours (1:30, 7:30, 13:30, 19:30 ET)
- **True Week Open** - Updates every Monday at 18:00 ET
---
## Settings
### Key Level Rays Group
**Master Toggle:**
- Enable Key Level Rays (master on/off switch)
**Previous Period Levels:**
- Show Previous Day H/L
- Show Previous Week H/L
- Show Previous Month H/L
**Session Levels:**
- Show NY AM H/L (9:30-12:00 ET)
- Show NY Lunch H/L (12:00-13:30 ET)
- Show NY PM H/L (13:30-16:00 ET)
- Show London H/L (2:00-5:00 ET)
- Show Asia H/L (20:00-00:00 ET)
**True Open Levels:**
- Show True Day Open (00:00)
- Show True Session Open (6h intervals)
- Show True Week Open (Mon 18:00)
**Visual Settings:**
- High Level Color (default: red with 50% transparency)
- Low Level Color (default: green with 50% transparency)
- Open Level Color (default: blue with 50% transparency)
- Ray Line Width (1-5 pixels)
- Ray Label Size (tiny/small/normal/large)
---
## How It Works
### Level Behavior
**Session High/Low Levels:**
1. During session: Tracks the highest high and lowest low
2. After session ends: Draws horizontal rays extending right
3. When price hits level: Ray stops extending (hit marker)
4. Label updates position to stay at chart's right edge
**Previous Period Levels:**
1. At period change: Draws rays from previous period's H/L
2. Extends right until price hits the level
3. When hit: Ray stops extending
4. Label positions at midpoint of ray
**True Open Levels:**
1. At trigger time: Draws ray from opening price
2. Extends right until next trigger
3. Previous level is deleted when new one appears
4. Label stays at right edge of chart
---
## Color Scheme
### Three Color Categories:
1. **Red** - All HIGH levels (session highs, previous highs)
2. **Green** - All LOW levels (session lows, previous lows)
3. **Blue** - All OPEN levels (True Day/Session/Week Opens)
This makes it instantly clear what type of level you're looking at.
---
## Best Practices
### For Intraday Trading (1m-1H):
```
Enable:
✓ True Day Open
✓ True Session Open
✓ NY AM/PM H/L
✓ Previous Day H/L
Disable:
✗ Previous Week/Month H/L
✗ London/Asia sessions (unless trading them)
✗ True Week Open
```
### For Swing Trading (1H-4H):
```
Enable:
✓ True Week Open
✓ True Day Open
✓ Previous Week H/L
✓ Previous Day H/L
Disable:
✗ All session H/L
✗ True Session Open
✗ Previous Month H/L
```
### For Clean Charts:
```
Enable:
✓ True Day Open
✓ True Week Open
✓ Previous Day H/L only
Disable:
✗ Everything else
Result: Just 4 levels on chart - super clean!
```
---
## Level Update Schedule
| Level | Update Frequency | Time(s) |
|---------------------|------------------|-----------------------------|
| True Day Open | Daily | 00:00 ET |
| True Session Open | Every 6 hours | 1:30, 7:30, 13:30, 19:30 ET |
| True Week Open | Weekly | Monday 18:00 ET |
| Previous Day H/L | Daily | At day change |
| Previous Week H/L | Weekly | At week change |
| Previous Month H/L | Monthly | At month change |
| NY AM H/L | Daily | After 12:00 ET |
| NY Lunch H/L | Daily | After 13:30 ET |
| NY PM H/L | Daily | After 16:00 ET |
| London H/L | Daily | After 5:00 ET |
| Asia H/L | Daily | After 00:00 ET |
---
## File Size & Performance
- **File Size:** ~22 KB (less than half the size of full indicator)
- **Total Lines:** ~700 lines
- **Max Lines/Labels:** 500 (configurable in declaration)
- **Performance:** Lightweight, minimal CPU usage
- **Memory:** Efficient variable management
---
## Installation
1. Open TradingView
2. Open Pine Editor (Alt+E or bottom toolbar)
3. Click "Create new indicator"
4. Delete default code
5. Copy and paste contents of `TRUE_OPENS_KEY_LEVELS.pine`
6. Click "Save" and name it "True Opens & Key Levels"
7. Click "Add to Chart"
---
## Usage Tips
### 1. Start Minimal
Begin with just 2-3 levels enabled:
- True Day Open
- Previous Day High
- Previous Day Low
Add more as needed.
### 2. Color Customization
Adjust transparency for cleaner look:
- High Level: Red 60-70% transparency
- Low Level: Green 60-70% transparency
- Open Level: Blue 60-70% transparency
### 3. Multi-Timeframe Approach
Lower timeframes (1m-15m): Use True Session Open + NY session H/L
Mid timeframes (15m-1H): Use True Day Open + Previous Day H/L
Higher timeframes (1H-4H): Use True Week Open + Previous Week H/L
### 4. Line Width
For cleaner charts, use Line Width = 1
For emphasis, use Line Width = 2-3
### 5. Label Size
Smaller screens: Use "small" or "tiny"
Larger screens: Use "normal"
Presentations: Use "large"
---
## Advantages of Standalone Version
✅ **Cleaner Charts** - No detection lines or arrows
✅ **Faster Loading** - Less code to process
✅ **Easier Setup** - Fewer settings to configure
✅ **Pure Levels** - Focus only on key price levels
✅ **Less Distraction** - No moving parts during trading
✅ **Perfect for Combining** - Use with other indicators without clutter
---
## Combining with Other Indicators
This lightweight indicator works great alongside:
- RSI / Stochastic (oscillators)
- Moving Averages (trend)
- Volume Profile (structure)
- VWAP (intraday reference)
- Your own custom indicators
The minimal chart footprint leaves room for additional tools.
---
## Time Zones
All times are in **Eastern Time (ET)**. TradingView automatically converts to your local timezone, so you don't need to manually adjust anything.
**Example Conversions:**
- 00:00 ET = 05:00 UTC
- 18:00 ET = 23:00 UTC
- 13:30 ET = 18:30 UTC
---
## Support & Updates
This is a standalone version of the True Opens & Key Levels from the full GOTE Indicator. It contains only the level detection code with all series detection removed.
**Version:** 1.0
**Pine Script Version:** 6
**Last Updated:** November 8, 2025
---
## Quick Reference Card
```
╔══════════════════════════════════════════════════════════╗
║ TRUE OPENS & KEY LEVELS - QUICK REFERENCE ║
╠══════════════════════════════════════════════════════════╣
║ ║
║ 📊 PREVIOUS PERIODS ║
║ • Previous Day/Week/Month High/Low ║
║ • Updates at period change ║
║ ║
║ 🕐 SESSION LEVELS ║
║ • NY AM/Lunch/PM, London, Asia H/L ║
║ • Updates after each session ║
║ ║
║ 🎯 TRUE OPENS ║
║ • True Day: Daily 00:00 ET ║
║ • True Session: 1:30/7:30/13:30/19:30 ET ║
║ • True Week: Monday 18:00 ET ║
║ ║
║ 🎨 COLORS ║
║ • Red = Highs • Green = Lows • Blue = Opens ║
║ ║
╚══════════════════════════════════════════════════════════╝
```
---
**Ready to trade with clean, focused key levels!** 🎯
## Overview
This is a clean, focused indicator that displays only key level rays and true open levels. All impulsive series detection, FVG detection, and Fibonacci projections have been removed for a minimal, uncluttered chart experience.
---
## Features Included
### 📊 Previous Period Levels
- **Previous Day High/Low** - Daily reference points
- **Previous Week High/Low** - Weekly reference points
- **Previous Month High/Low** - Monthly reference points
### 🕐 Session High/Low Levels
- **NY AM Session** (9:30-12:00 ET) - Morning session range
- **NY Lunch Session** (12:00-13:30 ET) - Lunch hour range
- **NY PM Session** (13:30-16:00 ET) - Afternoon session range
- **London Session** (2:00-5:00 ET) - London trading hours
- **Asia Session** (20:00-00:00 ET) - Asian market hours
### 🎯 True Open Levels (NEW)
- **True Day Open** - Updates daily at 00:00 ET
- **True Session Open** - Updates every 6 hours (1:30, 7:30, 13:30, 19:30 ET)
- **True Week Open** - Updates every Monday at 18:00 ET
---
## Settings
### Key Level Rays Group
**Master Toggle:**
- Enable Key Level Rays (master on/off switch)
**Previous Period Levels:**
- Show Previous Day H/L
- Show Previous Week H/L
- Show Previous Month H/L
**Session Levels:**
- Show NY AM H/L (9:30-12:00 ET)
- Show NY Lunch H/L (12:00-13:30 ET)
- Show NY PM H/L (13:30-16:00 ET)
- Show London H/L (2:00-5:00 ET)
- Show Asia H/L (20:00-00:00 ET)
**True Open Levels:**
- Show True Day Open (00:00)
- Show True Session Open (6h intervals)
- Show True Week Open (Mon 18:00)
**Visual Settings:**
- High Level Color (default: red with 50% transparency)
- Low Level Color (default: green with 50% transparency)
- Open Level Color (default: blue with 50% transparency)
- Ray Line Width (1-5 pixels)
- Ray Label Size (tiny/small/normal/large)
---
## How It Works
### Level Behavior
**Session High/Low Levels:**
1. During session: Tracks the highest high and lowest low
2. After session ends: Draws horizontal rays extending right
3. When price hits level: Ray stops extending (hit marker)
4. Label updates position to stay at chart's right edge
**Previous Period Levels:**
1. At period change: Draws rays from previous period's H/L
2. Extends right until price hits the level
3. When hit: Ray stops extending
4. Label positions at midpoint of ray
**True Open Levels:**
1. At trigger time: Draws ray from opening price
2. Extends right until next trigger
3. Previous level is deleted when new one appears
4. Label stays at right edge of chart
---
## Color Scheme
### Three Color Categories:
1. **Red** - All HIGH levels (session highs, previous highs)
2. **Green** - All LOW levels (session lows, previous lows)
3. **Blue** - All OPEN levels (True Day/Session/Week Opens)
This makes it instantly clear what type of level you're looking at.
---
## Best Practices
### For Intraday Trading (1m-1H):
```
Enable:
✓ True Day Open
✓ True Session Open
✓ NY AM/PM H/L
✓ Previous Day H/L
Disable:
✗ Previous Week/Month H/L
✗ London/Asia sessions (unless trading them)
✗ True Week Open
```
### For Swing Trading (1H-4H):
```
Enable:
✓ True Week Open
✓ True Day Open
✓ Previous Week H/L
✓ Previous Day H/L
Disable:
✗ All session H/L
✗ True Session Open
✗ Previous Month H/L
```
### For Clean Charts:
```
Enable:
✓ True Day Open
✓ True Week Open
✓ Previous Day H/L only
Disable:
✗ Everything else
Result: Just 4 levels on chart - super clean!
```
---
## Level Update Schedule
| Level | Update Frequency | Time(s) |
|---------------------|------------------|-----------------------------|
| True Day Open | Daily | 00:00 ET |
| True Session Open | Every 6 hours | 1:30, 7:30, 13:30, 19:30 ET |
| True Week Open | Weekly | Monday 18:00 ET |
| Previous Day H/L | Daily | At day change |
| Previous Week H/L | Weekly | At week change |
| Previous Month H/L | Monthly | At month change |
| NY AM H/L | Daily | After 12:00 ET |
| NY Lunch H/L | Daily | After 13:30 ET |
| NY PM H/L | Daily | After 16:00 ET |
| London H/L | Daily | After 5:00 ET |
| Asia H/L | Daily | After 00:00 ET |
---
## File Size & Performance
- **File Size:** ~22 KB (less than half the size of full indicator)
- **Total Lines:** ~700 lines
- **Max Lines/Labels:** 500 (configurable in declaration)
- **Performance:** Lightweight, minimal CPU usage
- **Memory:** Efficient variable management
---
## Installation
1. Open TradingView
2. Open Pine Editor (Alt+E or bottom toolbar)
3. Click "Create new indicator"
4. Delete default code
5. Copy and paste contents of `TRUE_OPENS_KEY_LEVELS.pine`
6. Click "Save" and name it "True Opens & Key Levels"
7. Click "Add to Chart"
---
## Usage Tips
### 1. Start Minimal
Begin with just 2-3 levels enabled:
- True Day Open
- Previous Day High
- Previous Day Low
Add more as needed.
### 2. Color Customization
Adjust transparency for cleaner look:
- High Level: Red 60-70% transparency
- Low Level: Green 60-70% transparency
- Open Level: Blue 60-70% transparency
### 3. Multi-Timeframe Approach
Lower timeframes (1m-15m): Use True Session Open + NY session H/L
Mid timeframes (15m-1H): Use True Day Open + Previous Day H/L
Higher timeframes (1H-4H): Use True Week Open + Previous Week H/L
### 4. Line Width
For cleaner charts, use Line Width = 1
For emphasis, use Line Width = 2-3
### 5. Label Size
Smaller screens: Use "small" or "tiny"
Larger screens: Use "normal"
Presentations: Use "large"
---
## Advantages of Standalone Version
✅ **Cleaner Charts** - No detection lines or arrows
✅ **Faster Loading** - Less code to process
✅ **Easier Setup** - Fewer settings to configure
✅ **Pure Levels** - Focus only on key price levels
✅ **Less Distraction** - No moving parts during trading
✅ **Perfect for Combining** - Use with other indicators without clutter
---
## Combining with Other Indicators
This lightweight indicator works great alongside:
- RSI / Stochastic (oscillators)
- Moving Averages (trend)
- Volume Profile (structure)
- VWAP (intraday reference)
- Your own custom indicators
The minimal chart footprint leaves room for additional tools.
---
## Time Zones
All times are in **Eastern Time (ET)**. TradingView automatically converts to your local timezone, so you don't need to manually adjust anything.
**Example Conversions:**
- 00:00 ET = 05:00 UTC
- 18:00 ET = 23:00 UTC
- 13:30 ET = 18:30 UTC
---
## Support & Updates
This is a standalone version of the True Opens & Key Levels from the full GOTE Indicator. It contains only the level detection code with all series detection removed.
**Version:** 1.0
**Pine Script Version:** 6
**Last Updated:** November 8, 2025
---
## Quick Reference Card
```
╔══════════════════════════════════════════════════════════╗
║ TRUE OPENS & KEY LEVELS - QUICK REFERENCE ║
╠══════════════════════════════════════════════════════════╣
║ ║
║ 📊 PREVIOUS PERIODS ║
║ • Previous Day/Week/Month High/Low ║
║ • Updates at period change ║
║ ║
║ 🕐 SESSION LEVELS ║
║ • NY AM/Lunch/PM, London, Asia H/L ║
║ • Updates after each session ║
║ ║
║ 🎯 TRUE OPENS ║
║ • True Day: Daily 00:00 ET ║
║ • True Session: 1:30/7:30/13:30/19:30 ET ║
║ • True Week: Monday 18:00 ET ║
║ ║
║ 🎨 COLORS ║
║ • Red = Highs • Green = Lows • Blue = Opens ║
║ ║
╚══════════════════════════════════════════════════════════╝
```
---
**Ready to trade with clean, focused key levels!** 🎯
ملاحظات الأخبار
Key Levels v2نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. However, you can use it freely and without any limitations – learn more here.
إخلاء المسؤولية
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. However, you can use it freely and without any limitations – learn more here.
إخلاء المسؤولية
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.