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 http://www.zenandtheartoftrading.com for articles on forex trading, trading psychology, trading resources, Pine Script lessons and more!

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