OPEN-SOURCE SCRIPT
已更新 Manual Zone & Level Plotter

Draws price zones and horizontal levels from a short text input, so you can keep a manually-defined map of the market on your chart without re-drawing it by hand every day.
WHY
Many traders keep a small set of levels and zones they care about (a directional target area, one or two areas where they wait for entries, and the nearest support/resistance). Re-drawing them by hand on every timeframe and every device is tedious and error-prone. This script keeps that map in two short text fields, so it survives timeframe changes, chart reloads and switching devices.
HOW IT WORKS
You type (or paste) two strings in the settings.
Zones field (settings: "Zones") - groups separated by ";", items separated by ","
G = primary zone, O = secondary zone, X = marker levels.
A range like 4371.83-4400 is drawn as a box; a single number is drawn as a line.
Example: G4371.83-4400;O4325-4350;X4350
Levels field (settings: "Levels") - R = levels above, S = levels below
Example: R4350,4400;S4325,4311.89
Everything is drawn with extend on both sides, so the zones stay visible wherever you scroll. Optional price tags can be turned off. Box transparency and line width are adjustable. Malformed numbers are skipped instead of breaking the whole drawing.
NOTES
- The script contains no signals, no alerts, no buy/sell logic and no automatic level detection. It only draws what you type. All numbers come from you.
- Nothing is repainted: the drawing is rebuilt on the last bar from your input only.
- Works on any symbol and timeframe.
This is a drawing utility for personal chart notes. It is not investment advice and it does not tell you when to buy or sell. Trading involves risk; make your own decisions.
WHY
Many traders keep a small set of levels and zones they care about (a directional target area, one or two areas where they wait for entries, and the nearest support/resistance). Re-drawing them by hand on every timeframe and every device is tedious and error-prone. This script keeps that map in two short text fields, so it survives timeframe changes, chart reloads and switching devices.
HOW IT WORKS
You type (or paste) two strings in the settings.
Zones field (settings: "Zones") - groups separated by ";", items separated by ","
G = primary zone, O = secondary zone, X = marker levels.
A range like 4371.83-4400 is drawn as a box; a single number is drawn as a line.
Example: G4371.83-4400;O4325-4350;X4350
Levels field (settings: "Levels") - R = levels above, S = levels below
Example: R4350,4400;S4325,4311.89
Everything is drawn with extend on both sides, so the zones stay visible wherever you scroll. Optional price tags can be turned off. Box transparency and line width are adjustable. Malformed numbers are skipped instead of breaking the whole drawing.
NOTES
- The script contains no signals, no alerts, no buy/sell logic and no automatic level detection. It only draws what you type. All numbers come from you.
- Nothing is repainted: the drawing is rebuilt on the last bar from your input only.
- Works on any symbol and timeframe.
This is a drawing utility for personal chart notes. It is not investment advice and it does not tell you when to buy or sell. Trading involves risk; make your own decisions.
版本注释
Updated the example chart so the snapshot shows only what the script draws (zones and levels from the text inputs). No changes to the script lv1.1 - Documentation touch-up and a cleaner example chart: the snapshot now shows only what the script draws from the two text inputs. Drawing logic is unchanged.ogic.开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。