Trend Filter

The indicator paints the bar colours based on the average open and average close for past N days.
if average close is above average open, the bars are coloured green, otherwise they are coloured red

It can be used as a general trend filter on weekly, daily bars. even on intraday timeframes, this would work well and give a sense of the current trend direction.
Release Notes: Added the Moving Average Plots and an additional arrow whenever there is a trend change.
Remove from Favorite Scripts Add to Favorite Scripts


WHy only color the bars? You should add a visible line so to be able to keep track of potential turning points before they happen.
MohitMarwaha GoldBowtie
@GoldBowtie, sure. here you go. have also changed the bar colours to be different on up and down closes for easier identification
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