Quantitative Easing Dates
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © disster

//@version=4
study("Quantitative Easing Dates", overlay = true, max_bars_back = 4901)
    
qe1 = time>=timestamp(2008, 11, 25) and  time<=timestamp(2010, 03, 31) 
qe2 = time>=timestamp(2010, 11, 03) and  time<=timestamp(2011, 06, 29)
qe3 = time>=timestamp(2012, 09, 13) and  time<=timestamp(2014, 10, 29) 
qe4 = time>=timestamp(2020, 03, 15) and  time<=timestamp(2022, 03, 10) 
bgcolor(qe1 or qe2 or qe3 or qe4 ? color.blue : na )


