OPEN-SOURCE SCRIPT
Previous Levels by HAZED

Previous Day/Week/Month High/Low Levels with 50% Equilibrium
🎯 Key Features:
- Previous Period Levels: Automatically plots previous Day, Week, and Month highs and lows
- 50% Equilibrium Zones: Shows the midpoint between each period's high and low
- Precise Line Placement: Lines start from the exact bar where the high/low occurred (not period beginning)
- Clean Visual Design: Solid lines for key levels, semi-transparent for equilibrium zones
- Customizable Display: Toggle each timeframe independently with custom colors and styles
📊 How It Works:
The indicator identifies the previous period's high and low points, then draws horizontal lines starting from the exact time those levels were created. The 50% equilibrium levels mark the midpoint between each period's range, providing additional support/resistance reference points.
⚙️ Settings:
- Timeframe Controls: Enable/disable Daily, Weekly, Monthly levels
- Line Styles: Choose between solid, dashed, or dotted lines
- Color Customization: Set individual colors for each timeframe
- Label Options: Show/hide price values, adjust label size
- 50% Levels: Toggle equilibrium zones with semi-transparent styling
💡 Trading Applications:
- Support & Resistance: Previous highs/lows act as key S/R levels
- Breakout Trading: Monitor price action around these critical levels
- Mean Reversion: 50% equilibrium zones often act as magnet levels
- Multi-Timeframe Analysis: See how different timeframe levels interact
🔧 Technical Notes:
- Lines extend to the right for future reference
- Only shows levels when chart timeframe is equal or lower than the level timeframe
- Uses precise historical data to ensure accurate line placement
- Optimized for performance with clean code structure
Perfect for swing traders, day traders, and anyone using support/resistance analysis!
Feel free to leave feedback and suggestions for future updates!
🎯 Key Features:
- Previous Period Levels: Automatically plots previous Day, Week, and Month highs and lows
- 50% Equilibrium Zones: Shows the midpoint between each period's high and low
- Precise Line Placement: Lines start from the exact bar where the high/low occurred (not period beginning)
- Clean Visual Design: Solid lines for key levels, semi-transparent for equilibrium zones
- Customizable Display: Toggle each timeframe independently with custom colors and styles
📊 How It Works:
The indicator identifies the previous period's high and low points, then draws horizontal lines starting from the exact time those levels were created. The 50% equilibrium levels mark the midpoint between each period's range, providing additional support/resistance reference points.
⚙️ Settings:
- Timeframe Controls: Enable/disable Daily, Weekly, Monthly levels
- Line Styles: Choose between solid, dashed, or dotted lines
- Color Customization: Set individual colors for each timeframe
- Label Options: Show/hide price values, adjust label size
- 50% Levels: Toggle equilibrium zones with semi-transparent styling
💡 Trading Applications:
- Support & Resistance: Previous highs/lows act as key S/R levels
- Breakout Trading: Monitor price action around these critical levels
- Mean Reversion: 50% equilibrium zones often act as magnet levels
- Multi-Timeframe Analysis: See how different timeframe levels interact
🔧 Technical Notes:
- Lines extend to the right for future reference
- Only shows levels when chart timeframe is equal or lower than the level timeframe
- Uses precise historical data to ensure accurate line placement
- Optimized for performance with clean code structure
Perfect for swing traders, day traders, and anyone using support/resistance analysis!
Feel free to leave feedback and suggestions for future updates!
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.