3 Exponential Moving Averages

Plots the 20, 50, and 100 Period EMAs by default. Lengths and colors can be changed. Ideal for identifying buy/sell signals.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="3 Exponential Moving Averages", shorttitle="3EMA", overlay=true)
len1 = input(20, minval=1, title="Short Length")
src1 = input(close, title="Source One")
out1 = ema(src1, len1)
plot(out1, title="Short EMA", color=blue)
len2 = input(50, minval=1, title="Intermediate Length")
src2 = input(close, title="Source Two")
out2 = ema(src2, len2)
plot(out2, title="Intermediate EMA", color=orange)
len3 = input(100, minval=1, title="Long Length")
src3 = input(close, title="Source Three")
out3 = ema(src3, len3)
plot(out3, title="Long EMA", color=green)


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