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 indicators
// =====================================
// 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)


Comments

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