Skip to content

Update VolumeColumn.js #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update VolumeColumn.js #7

wants to merge 1 commit into from

Conversation

DekusDenial
Copy link

should compare the immediate "open" and "close" for the tick, not with previous tick

should compare the immediate "open" and "close" for the tick, not with previous tick
@LeoAlvarez
Copy link
Collaborator

No, it's with the previous tick.
http://stockcharts.com/help/doku.php?id=chart_school:chart_analysis:candlevolume
If it's an up day, the volume bar is green (close > previous close); a down day, volume bar is red (close < previous close).

@charliehartel
Copy link

The color of the volume bar should correspond with the color of the candle stick to indicate whether there was accumulation or distribution. If the current/closing price of a bar is below the open, then candle and volume are red. If the current/closing price is above the open, the candle and volume bar are green. Here are two references from TrandingView and ChartIQ.

screen shot 2014-02-20 at 9 45 44 am
screen shot 2014-02-20 at 9 49 00 am

@LeoAlvarez
Copy link
Collaborator

TradingView/ChartIQ (same thing0 have a particular interpretation, is what you're getting at, and they seem to be in the minority. I've added a few things I found below.

The default will be as I've stated previously (based on close of previous tick). Adding a configuration parameter for the other case. So, the default is to base the color same as the price color, the previous tick; and, add a config param to handle the case for using the current open.

http://investorshub.advfn.com/boards/read_msg.aspx?message_id=62844129

"The color of a volume bar is determined by its corresponding price bar; blue if the most recent trade is equal to or greater than the previous period’s last trade, and magenta if it is less than the previous period’s closing price."
http://www.marketsmith.com/stock-charts/how-to-read-stock-charts/
and
http://investdaily.custhelp.com/app/answers/detail/a_id/474/~/what-do-the-colors-signify-on-the-price-and-volume-bars-in-the-ibd-charts%3F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants