// Philip Swift's Golden Ratio //
study(title="Pi Cycle Top Indicator", shorttitle="Pi Cycle Top Indicator", overlay = true )

xPrice = close

// MA //
xSMA1 = sma(xPrice, 350)*2
xSMA5 = sma(xPrice, 111)

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

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.