OPEN-SOURCE SCRIPT
Обновлено MvH Horizontal Levels

Horizontal Levels — Custom Price Level Overlay
A lightweight overlay indicator that lets you define and display labeled horizontal price levels directly on your chart. Designed for futures traders working with key support, resistance, breakout, and target levels on instruments like NQ, ES, DAX, FTSE, and others.
█ HOW IT WORKS
Instead of manually drawing lines on every chart, you define all your levels in a single text input field using a simple comma-separated format. The indicator parses your input and draws color-coded horizontal lines with bold, right-aligned labels that stay pinned to the right edge of the chart — visible across all timeframes.
█ INPUT FORMAT
Each line in the input field represents one level:
Time,Price,Color,Alignment,Text
• Time — UNIX timestamp in seconds (marks where the line begins)
• Price — the price level (integer)
• Color — one of six predefined colors: Orange, Turquoise, Green, Bright Red, Dark Red, Pink
• Alignment — "Top" (label above line) or "Bottom" (label below line)
• Text — descriptive label ending with a colon
Example input:
1774013400,25465,Turquoise,Top,Full Long Breakout:
1774013400,25385,Orange,Top,Target 1:
1774013400,25035,Bright Red,Bottom,Resistance:
1774013400,24965,Turquoise,Bottom,Support/bounce:
1774013400,24800,Dark Red,Bottom,Bearish Breakout:
The indicator automatically formats the price with a thousands separator and appends it to the label text (e.g., "Resistance: 25,035").
█ SETTINGS
• Level Data — multi-line text area where you paste your level definitions (no header row needed)
• Label Right Offset (Bars) — controls how far to the right of the last bar the labels are positioned (default: 20)
• Label Y-Offset (Points) — fine-tunes the vertical distance between the line and its label text to compensate for built-in label padding (default: 5, set to 0 to disable)
█ COLOR PALETTE
Six colors are supported, matched by keyword (case-insensitive):
• Turquoise — key breakout and bounce levels
• Orange — price targets
• Green — secondary resistance/support zones
• Bright Red — primary resistance
• Dark Red — bearish breakouts and short triggers
• Pink — support levels and short targets
█ USE CASES
• Pre-session preparation: define your levels before the market opens and have them ready across all timeframes
• Multi-instrument workflows: quickly paste different level sets when switching between NQ, ES, DAX, etc.
• Sharing levels with a team: copy-paste the same text block so everyone sees identical levels
• Clean chart management: all levels are controlled from a single input field — no manual drawing required
█ NOTES
• Lines begin at the specified UNIX timestamp and extend infinitely to the right
• Labels automatically reposition to the right edge of the visible chart on every new bar
• The indicator supports up to 50 lines and 50 labels simultaneously
• Works on any instrument and any timeframe — levels are anchored by price, not by bars
• UNIX timestamps must be in seconds (not milliseconds) — the indicator handles the conversion internally
A lightweight overlay indicator that lets you define and display labeled horizontal price levels directly on your chart. Designed for futures traders working with key support, resistance, breakout, and target levels on instruments like NQ, ES, DAX, FTSE, and others.
█ HOW IT WORKS
Instead of manually drawing lines on every chart, you define all your levels in a single text input field using a simple comma-separated format. The indicator parses your input and draws color-coded horizontal lines with bold, right-aligned labels that stay pinned to the right edge of the chart — visible across all timeframes.
█ INPUT FORMAT
Each line in the input field represents one level:
Time,Price,Color,Alignment,Text
• Time — UNIX timestamp in seconds (marks where the line begins)
• Price — the price level (integer)
• Color — one of six predefined colors: Orange, Turquoise, Green, Bright Red, Dark Red, Pink
• Alignment — "Top" (label above line) or "Bottom" (label below line)
• Text — descriptive label ending with a colon
Example input:
1774013400,25465,Turquoise,Top,Full Long Breakout:
1774013400,25385,Orange,Top,Target 1:
1774013400,25035,Bright Red,Bottom,Resistance:
1774013400,24965,Turquoise,Bottom,Support/bounce:
1774013400,24800,Dark Red,Bottom,Bearish Breakout:
The indicator automatically formats the price with a thousands separator and appends it to the label text (e.g., "Resistance: 25,035").
█ SETTINGS
• Level Data — multi-line text area where you paste your level definitions (no header row needed)
• Label Right Offset (Bars) — controls how far to the right of the last bar the labels are positioned (default: 20)
• Label Y-Offset (Points) — fine-tunes the vertical distance between the line and its label text to compensate for built-in label padding (default: 5, set to 0 to disable)
█ COLOR PALETTE
Six colors are supported, matched by keyword (case-insensitive):
• Turquoise — key breakout and bounce levels
• Orange — price targets
• Green — secondary resistance/support zones
• Bright Red — primary resistance
• Dark Red — bearish breakouts and short triggers
• Pink — support levels and short targets
█ USE CASES
• Pre-session preparation: define your levels before the market opens and have them ready across all timeframes
• Multi-instrument workflows: quickly paste different level sets when switching between NQ, ES, DAX, etc.
• Sharing levels with a team: copy-paste the same text block so everyone sees identical levels
• Clean chart management: all levels are controlled from a single input field — no manual drawing required
█ NOTES
• Lines begin at the specified UNIX timestamp and extend infinitely to the right
• Labels automatically reposition to the right edge of the visible chart on every new bar
• The indicator supports up to 50 lines and 50 labels simultaneously
• Works on any instrument and any timeframe — levels are anchored by price, not by bars
• UNIX timestamps must be in seconds (not milliseconds) — the indicator handles the conversion internally
Информация о релизе
Horizontal Levels — Custom Price Level OverlayA lightweight overlay indicator that lets you define and display labeled horizontal price levels directly on your chart. Designed for futures traders working with key support, resistance, breakout, and target levels on instruments like NQ, ES, DAX, FTSE, Gold, Bonds, Forex, and others.
█ HOW IT WORKS
Instead of manually drawing lines on every chart, you define all your levels in a single text input field using a simple comma-separated format. The indicator parses your input and draws color-coded horizontal lines with bold, right-aligned labels that stay pinned to the right edge of the chart — visible across all timeframes.
█ INPUT FORMAT
Each line in the input field represents one level:
Time,Price,Color,Alignment,Text
• Time — UNIX timestamp in seconds (marks where the line begins)
• Price — the price level (integer or decimal, e.g. 25465, 114.50, or 1.1600)
• Color — one of six predefined colors: Orange, Turquoise, Green, Bright Red, Dark Red, Pink
• Alignment — "Top" (label above line) or "Bottom" (label below line)
• Text — descriptive label ending with a colon
Example input (Nasdaq):
1773990000,25465,Turquoise,Top,Full Long Breakout:
1773990000,25385,Orange,Top,Target 1:
1773990000,25035,Bright Red,Bottom,Resistance:
1773990000,24965,Turquoise,Bottom,Support/bounce:
1773990000,24800,Dark Red,Bottom,Short Breakout:
Example input (EUR/USD with decimal prices):
1773964800,1.15,Orange,Bottom,Support:
1773964800,1.16,Bright Red,Top,Resistance:
1773964800,1.1625,Bright Red,Top,Max Extension:
The indicator automatically formats the price with a thousands separator and the configured number of decimal places, then appends it to the label text (e.g., "Resistance: 25,035" or "Support: 1.1500").
█ SETTINGS
• Level Data — multi-line text area where you paste your level definitions (no header row needed)
• Label Right Offset (Bars) — controls how far to the right of the last bar the labels are positioned (default: 20)
• Label Y-Offset (Points) — fine-tunes the vertical distance between the line and its label text to compensate for built-in label padding (default: 5, set to 0 to disable)
• Price Decimal Places — number of decimal places shown in the label price (default: 0)
- 0 = integer prices (NQ, ES, DAX, Gold)
- 2 = bonds, oil (e.g. 114.50, 92.50)
- 4 = forex (e.g. 1.1600)
█ COLOR PALETTE
Six colors are supported, matched by keyword (case-insensitive):
• Orange — support levels and bounce zones
• Turquoise — key breakout levels and long triggers
• Green — upside targets
• Bright Red — resistance levels
• Dark Red — bearish breakouts and short triggers
• Pink — short targets and downside support levels
█ USE CASES
• Pre-session preparation: define your levels before the market opens and have them ready across all timeframes
• Multi-instrument workflows: quickly paste different level sets when switching between NQ, ES, DAX, Gold, Bonds, Forex, etc.
• Sharing levels with a team: copy-paste the same text block so everyone sees identical levels
• Clean chart management: all levels are controlled from a single input field — no manual drawing required
█ NOTES
• Lines begin at the specified UNIX timestamp and extend infinitely to the right
• Labels automatically reposition to the right edge of the visible chart on every new bar
• The indicator supports up to 50 lines and 50 labels simultaneously
• Works on any instrument and any timeframe — levels are anchored by price, not by bars
• UNIX timestamps must be in seconds (not milliseconds) — the indicator handles the conversion internally
• Supports both integer and decimal prices — adjust the "Price Decimal Places" setting to match your instrument
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.