PROTECTED SOURCE SCRIPT
已更新

Draw Horizontal Lines

2 225
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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。