Krach

Moving Average Area

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
Remove from Favorite Scripts Add to Favorite Scripts
// =====================================
// 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)


Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out