This is a modified version of the exponential moving average indicator to change color based on trend (red/bearish if price has closed below EMA , green/bullish if price has closed above EMA ).
Release Notes: Made color change only after previous candle closed above/below EMA instead of current candle (looks better).
Release Notes: Minor improvements :)
Release Notes: Minor improvements
Remove from Favorite Scripts Add to Favorite Scripts
Follow @TradeWisdom on Twitter for Daily inspiration from the best trading wizards, psychologists and philosophers.

Go to for articles on forex trading, trading psychology, trading resources, PineScript lessons and more!
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Get Help Ideas Published Followers Following Private Messages Chat Sign Out