Average Bar Direction

This script shows the average count of 'up bars' vs. 'down bars'. It is intended for statistic and probability purposes only. It does not include high or low price in the calculation - only the open and close prices are used.

Under settings, click "show difference" to see the difference between the two averages. This can also be called positive/negative drift. Switch to weekly/monthly S&P 500 to witness positive drift. The general direction over longer time span is up, while shorter time span is more random (like a coin flip).
Release Notes: Corrected formula so that doji bars do not affect the averaging.
Remove from Favorite Scripts Add to Favorite Scripts
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Help Center Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out