OPEN-SOURCE SCRIPT

Pi Cycle Top Indicator

49
//version=5
indicator("Pi Cycle Top Indicator", shorttitle="Pi Cycle Top Indicator", overlay=true)

// Price source
xPrice = close

// Moving averages
xSMA1 = ta.sma(xPrice, 350) * 2
xSMA5 = ta.sma(xPrice, 111)

// Plot MAs
plot(xSMA1, title="MA 350 * 2", linewidth=4, color=color.green)
plot(xSMA5, title="MA 111", linewidth=4, color=color.orange)

免責聲明

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