BTC Pi Multiple
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © MJShahsavar

//@version=5
indicator("BTC Pi Multiple", timeframe = "D")

a = ta.sma(close, 350)
b=2*a
c = ta.sma(close, 111)
d=b/c
e=1-d
h1= hline (- 0.2)
h2= hline (1)
h3= hline (-3)
h4=hline (-2)
h5= hline (-1,  linewidth=2)
fill (h1,h2, color.red, transp = 60)
fill (h3,h4, color.blue, transp = 60)

plot (e, color= color.blue ,  linewidth=1)