PROTECTED SOURCE SCRIPT
已更新 Draw Horizontal Lines

This script will draw horizontal lines at user-specified levels on a trading chart, which is especially useful for marking key support and resistance levels.
Explanation:
Indicator Definition: The indicator function sets up the script with the name "Draw Horizontal Lines" and specifies that it should overlay the price chart.
Processing Levels: The space-separated string of levels is split into an array using str.split.
Explanation:
Indicator Definition: The indicator function sets up the script with the name "Draw Horizontal Lines" and specifies that it should overlay the price chart.
Processing Levels: The space-separated string of levels is split into an array using str.split.
版本注释
Changed space separated input to comma separated input.版本注释
Typo fix受保护脚本
此脚本以闭源形式发布。 However, you can use it freely and without any limitations – learn more here.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
受保护脚本
此脚本以闭源形式发布。 However, you can use it freely and without any limitations – learn more here.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.