OPEN-SOURCE SCRIPT
Daily/Weekly/Monthly Levels

## Daily/Weekly/Monthly Levels
Automatically draws horizontal levels where consecutive opposite candles meet on Daily, Weekly, and Monthly timeframes.
When a bullish candle is followed by a bearish candle (or vice versa), a level is plotted at their shared close/open — the exact price where momentum reversed.
### Features
- **Multi-timeframe**: Independent levels from Daily, Weekly, and Monthly candles
- **Remove on touch**: Levels automatically disappear once price revisits them
- **Merge nearby levels**: Clusters levels within a configurable % threshold into a single label, defaulting to the higher timeframe's color and line
- **Customizable**: Per-timeframe color, line style, width, and max level count
- **Clean labels**: Fixed-position labels at the chart's right edge that don't shift when zooming
### How it works
The indicator tracks consecutive candles on each higher timeframe. When two adjacent candles have opposite bodies (one bullish, one bearish), the close of the first candle — which equals the open of the second — marks a level where buyers and sellers exchanged control.
### Settings
| Setting | Default | Description |
|---|---|---|
| Label offset | 150 bars | Push labels past the right edge |
| Show Price | On | Include price in label text |
| Remove Touched | On | Remove levels once price crosses them |
| Merge Levels | On | Combine nearby levels into one label |
| Merge Threshold | 1% | Max distance for merging |
| Max Levels | 10 per TF | How many levels to keep per timeframe |
Automatically draws horizontal levels where consecutive opposite candles meet on Daily, Weekly, and Monthly timeframes.
When a bullish candle is followed by a bearish candle (or vice versa), a level is plotted at their shared close/open — the exact price where momentum reversed.
### Features
- **Multi-timeframe**: Independent levels from Daily, Weekly, and Monthly candles
- **Remove on touch**: Levels automatically disappear once price revisits them
- **Merge nearby levels**: Clusters levels within a configurable % threshold into a single label, defaulting to the higher timeframe's color and line
- **Customizable**: Per-timeframe color, line style, width, and max level count
- **Clean labels**: Fixed-position labels at the chart's right edge that don't shift when zooming
### How it works
The indicator tracks consecutive candles on each higher timeframe. When two adjacent candles have opposite bodies (one bullish, one bearish), the close of the first candle — which equals the open of the second — marks a level where buyers and sellers exchanged control.
### Settings
| Setting | Default | Description |
|---|---|---|
| Label offset | 150 bars | Push labels past the right edge |
| Show Price | On | Include price in label text |
| Remove Touched | On | Remove levels once price crosses them |
| Merge Levels | On | Combine nearby levels into one label |
| Merge Threshold | 1% | Max distance for merging |
| Max Levels | 10 per TF | How many levels to keep per timeframe |
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.