Cowen Corridor
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © nickolassteel

//@version=5
indicator("Cowen Corridor", overlay=true)
w20_sma = request.security(syminfo.tickerid, 'W', ta.sma(close, 20))
fx = math.pow(math.e, -1 * ((bar_index - 90)* 0.01)) + 1 
Upperbound = 2.4 * w20_sma * fx
Lowerbound = (0.65) * w20_sma * 1/fx
Top = plot(Upperbound, color = color.red)
Bottom = plot(Lowerbound, color = color.green)
fill(Top, Bottom, color = color.rgb(0, 188, 212, 80))
