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 |
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.