PROTECTED SOURCE SCRIPT
已更新

Draw Horizontal Lines

2 775
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.

版本注释
Changed space separated input to comma separated input.
版本注释
Typo fix

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。