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)


Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out