Questions tagged [candlestick-chart]

A candlestick-chart is a type of bar-chart which is primarily used to indicate change in price of security, currency etc.

Each bar in candlestick-chart represent variation of price over a given interval.

Example :- A Bar of Candlestick chart represent High, Low, Open & Close of a security, currency etc.

For more info: https://en.wikipedia.org/wiki/Candlestick_chart

473 questions
8
votes
1 answer

JFreeChart - Timeseries and CandleStick on the same chart

I'm trying to produce a single chart in JFreeChart that consists of an overlaid candlestick chart and Timeseries plot. (a little like this) I have tried creating the Candlestick chart and adding an additional XY series along with it's it renderer…
Richard B
  • 895
  • 13
  • 39
7
votes
0 answers

Update candlestick chart data involving NA in RStudio

I am attempting to use update / restyle buttons in an interactive shiny / plotly candlestick chart to switch between two sets of open/high/low/close (OHCL) values. I'm observing some strange behaviour, possible related to NAs in the data or to the…
Eckhard
  • 169
  • 10
7
votes
4 answers

How to plot candlesticks

I´m trying to create a simple plot with candlesticks. For that I get the data from Yahoo and plot it using the function candlestick2_ohlc. The goal is to export the image in a jpg file using. This is the code what I´m using: from pandas_datareader…
Alberto Aguilera
  • 311
  • 1
  • 5
  • 13
7
votes
1 answer

gnuplot candlestick red and green fill

Candlestick plots on the financial sites, at least the ones I have seen, fill the candlestick green if the close is higher then the open, and red if the close is lower then the open. If I set the fill style all candlesticks are filled with the fill…
Bodger
  • 1,342
  • 4
  • 16
  • 23
7
votes
5 answers

Plotting candlestick data from a dataframe in Python

I would like create a daily candlestick plot from data i downloaded from yahoo using pandas. I'm having trouble figuring out how to use the candlestick matplotlib function in this context. Here is the code: #The following example, downloads stock…
user2918258
  • 71
  • 1
  • 1
  • 2
6
votes
1 answer

Plotly Python update figure with dropMenu

i am currently working with plotly i have a function called plotChart that takes a dataframe as input and plots a candlestick chart. I am trying to figure out a way to pass a list of dataframes to the function plotChart and use a plotly dropdown…
smith
  • 200
  • 3
  • 12
6
votes
2 answers

MS chart candlestick How to set tail colors

I am currently developing a candlestick chart with mschart in visual C#. I have now created two charts and created the charts as follows Question 1. View the Candlestick Chart at the top. I would like to apply the tail color of each rod as red or…
Geongi.IM
  • 113
  • 3
  • 5
6
votes
1 answer

How to display a chart in C# that has no data points?

I'm making a candlestick chart in C# for a bitcoin trading helper. When the form loads, the chart is just an empty white space because there are no data points initially. Is there any way to display the grid lines and the axes when there are no…
doornetd
  • 61
  • 1
  • 3
6
votes
2 answers

How do I plot only weekdays using Python's matplotlib candlestick?

I'm not managing to plot matplotlib.finance.candlestick without the weekends (blank spaces between every 5 candlesticks). The example from Matplotlib's website doesn't exclude weekends either and the way to exclude weekends on other plots doesn't…
Fred
  • 61
  • 1
  • 3
5
votes
1 answer

Convert Tick Data to OHLCV Candlestick Data

My Primary Program Collect Tick Data from Server and store these data in text file. Sample data in dataframe looks like below: SYMBOL_N PRICE DATE TIME VOLUME 35324399 92.31 02/11/18 12:45:26 108856 35324399 92.32 …
Pravat
  • 329
  • 2
  • 17
5
votes
2 answers

Which chart module/library should I use for Candlestick graphs in ReactJs?

I tried using apex charts, but did not find proper doc for the react-apexcharts. I also tried react-google-charts, although it works fine, but it has unwanted spaces on sides which spoils the layout. I'm not sure about which module to use. Do you…
Abhishek Kumawat
  • 780
  • 1
  • 10
  • 25
5
votes
3 answers

candlestick plot from pandas dataframe, replace index by dates

This code gives plot of candlesticks with moving averages but the x-axis is in index, I need the x-axis in dates. What changes are required? import numpy as np import pandas as pd import matplotlib.pyplot as plt from mpl_finance import…
acekuber
  • 101
  • 1
  • 2
  • 7
5
votes
1 answer

matplotlib.finance.candlestick_ohlc plot intraday 1min bar data with time breaks and proper xticklabels at every hour

The problem is: I want to plot the intraday 1 minute OHLC bars of one stock. The daily trading hour is composed of several segments of trading periods. Which is listed below: Trade date: 2017/09/14 Included trading hour: 2017/09/13 21:00 - 23:00,…
StayFoolish
  • 531
  • 1
  • 12
  • 29
5
votes
4 answers

Candlestick charts component for android

I was looking for a candlestick lib chart solution for android, and couldnt find one for a couple of months now. Im looking for a smooth scrolling, zomming, tooltip, option to polt in a new candle without the need to render the entire chart. i did…
totem
  • 733
  • 3
  • 11
  • 24
5
votes
1 answer

Bokeh proof-of-concept efficient dynamic plot update?

As a demonstration piece for proof-of-concept I've created a Bokeh plot of four OHLC candles. I would like to extend the demo to animate the plot so that the current candlestick would be made to move and update in response to changes to its OHLC…
GoFaster
  • 835
  • 1
  • 12
  • 23
1
2
3
31 32