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, Pine Script lessons and more!
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 FAQ Wiki Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out