OPEN-SOURCE SCRIPT

Daily/Weekly/Monthly Levels

388
## 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 |

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.