PROTECTED SOURCE SCRIPT

Relative Strength Index

12
//version=5
indicator("Dynamic Price Trend Line", overlay=true)

price1 = close[20]
price2 = close

var line trendLine = na
if bar_index > 20
trendLine := line.new(bar_index - 20, price1, bar_index, price2, color=color.green, width=2)
line.delete(trendLine[1])

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。