candlestick-chart

How to make an horizontal box-and-whiskers plot in gnuplot

时间秒杀一切 提交于 2019-12-13 17:06:42
问题 How do you make an horizontal box-and-whiskers plot in gnuplot? Similarly to this one: Gnuplot can easily be used to produce vertical box-and-whiskers plots with the 'candlesticks' and 'whiskerbars' keywords, but I have not managed to find any example of an horizontal candlesticks/box-and-whiskers horizontal plot produced via gnuplot online. Example of a vertical plot produced by gnuplot: example of a vertical box-and-whiskers plot http://www.cise.ufl.edu/~dts/cop3530/proj02/candlesticks.6

How to include RSI and Volume in the same chart?

喜欢而已 提交于 2019-12-13 04:43:17
问题 First of all i want to embed RSI plugin with the highstock chart, (i.e) RSI, Volume in the same chart. i tried it with using Highstock (Two panes, candlestick and volume ) http://www.highcharts.com/stock/demo/candlestick-and-volume and the RSI indicator plugin http://jsfiddle.net/BlackLabel/RE7sS/ Any ideas to get it done?? 回答1: To add RSI to any Highstock demo, you need to include required files. In RSI case files are: indicators.js (base) ema.js (required for RSI) rsi.js (RSI plugin) And

Set HighChart yAxis's min max to a specific series only

て烟熏妆下的殇ゞ 提交于 2019-12-13 04:39:43
问题 I have a stock price candlestick series And a line series that share yAxis with the candlestick series. By default, the API automatically set chart's yAxis range to the min/max of two series's min/max(candlestick series, line series) But I want to show the candlestick series more importantly than line chart. So, chart's yAxis min/max should be limited only the candlestick series even if it cut the line series off. And the yAxis min/max should be adjusted when the chart is scrolled dynamically

create an OHLC data from Date, time, price using C#

╄→гoц情女王★ 提交于 2019-12-12 09:59:30
问题 I'd like to know how you convert these data series Data, Time, and Price to OHLC or Open, High, Low, Close. I am working on a bitcoin project and would like to see these data as a candlestick chart. I have seen some threads here in stockoverflow regarding the computation but I don't understand the script they were using "create an OHLC series from ticker data using R" I am referring to "Kevin"'s answer Providing a partial data here Date, strTime, dblTime, Price, Volume,SideVolume 2014-06-04

Matplotlib Candlestick graph looks weird

◇◆丶佛笑我妖孽 提交于 2019-12-12 04:09:36
问题 I was trying to plot a candlestick graph using stock data extracted from quandl. However, the graph looks eerie, only a few bars showed up. I have no idea what is going on. Any help is greatly appreciated. Here is the code: start=dt.datetime(2000,1,1) end=dt.datetime(2017,9,20) df=quandl.get('WIKI/TWTR',start_date=start,end_date=end) date_val=[x for x in range(len(df.index))] open_val=np.array(df['Adj. Open'],dtype=np.float64) high_val=np.array(df['Adj. High'],dtype=np.float64) low_val=np

PHP::Highcharts candlestick volume and rsi data missing

那年仲夏 提交于 2019-12-12 02:53:32
问题 i am working highcharts candlestick with volume and rsi indication. when i put indicators.js in my page, lot of data missing in chart but it showing on volume. If suppose i remove indicators.js , all data perfectly showed on both chart and volume but rsi indicator not working. I want to show all data on both chart and volume with rsi indication. data format - json [prepared dynamically from mysql and php] Anybody knows let me know. JS Fiddle Link [For Demo] <http://jsfiddle.net/pandymassblack

MS chart candlestick How to set tail colors

随声附和 提交于 2019-12-11 03:38:03
问题 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 blue. Question 2. View the bar chart at the bottom. I would like to apply Red or Blue color to this chart. I want to apply the same color to the top of the Candlestick chart. How can I do it ? [source] DataTable table_ChartData = new DataTable();

Adding annotations to Google Candlestick chart

一笑奈何 提交于 2019-12-10 11:43:49
问题 I'm using a Google Charts Candlestick chart, flipped sideways, to emulate a range bar chart. Regarding the text that is currently displayed in the rows at the far left (TU300, TU-01, TU-10, etc.) -- I'd like it display also (or, instead) immediately to the right of each horizontal bar, so that it labels each bar more effectively. I'm a novice, and would appreciate detailed help. Here's the JSFiddle: https://jsfiddle.net/jdscomms/xLe83g80/ google.charts.load('current', {'packages':['corechart'

candlestick plot from pandas dataframe, replace index by dates

江枫思渺然 提交于 2019-12-08 06:11:44
问题 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 candlestick2_ohlc #date format in data-> dd-mm-yyyy nif = pd.read_csv('data.csv') #nif['Date'] = pd.to_datetime(nif['Date'], format='%d-%m-%Y', utc=True) mavg = nif['Close'].ewm(span=50).mean() mavg1 = nif['Close'].ewm(span=13).mean() fg, ax1 = plt.subplots()

C# MSChart Candle Stick & Moving Average Chart. Error: Formula error - There are not enough data points for the Period

廉价感情. 提交于 2019-12-08 05:06:39
问题 You cannot vote on your own post 0 I am trying to create a stock candle with MA(15) on daily data. I can create a chart with OHLC bar without any problem. But when I started usingDataManipulator.FinancialFormula for MA, I keep getting errors of "Formula error - There are not enough data points for the Period." Can someone help me out on this? Thanks Here is the code. DataSet ds = new DataSet(); SqlConnection connection = new SqlConnection(); connection.ConnectionString = @"Data Source=XXX