// Credit to @kerberos007. //@version=5 indicator("Indi-Apocalyptic", overlay=false) equityPutCallRatio = request.security("USI:PCCE", "D", close) plot(ta.sma(1 / equityPutCallRatio, 7))