360 views
Background Color changes if the CLOSE price is above or below the MA. You can also turn above or below OFF and change the colors. Enjoy
// ===================================== // MA AREA // by KRACH // ELI5 Description: // ================= // Highlights area on chart when price is above the ma // You can change the EMA and Color values // // ==================== // *Get Rekt at your own risk* // Tips BTC: 13CJxLuCKmccDvJDDrxa57NUKy7UEXFogz // http://mktfx.com // ===================================== study(title="Moving Average Area", shorttitle="Krach - MA Area", overlay=true) len = input(9, minval=1, title="Length") src = input(close, title="Source") out = sma(src, len) plot(out, color=blue, title="MA") bgcolor(out <close ? silver:red, transp=90)