candlestick-chart

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

穿精又带淫゛_ 提交于 2019-12-06 16:32:26
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;Database=Stock;Integrated Security=SSPI;"; connection.Open(); string sql = "Select datestamp, highprice,

Time series visualization for start, end, duration in R

岁酱吖の 提交于 2019-12-06 15:59:51
问题 I have the following data: > Data Date Start End 1 2011-11-15 12:01:27 12:30:15 2 2011-11-16 12:01:25 12:32:15 3 2011-11-17 12:01:02 12:39:12 4 2011-11-19 12:01:12 12:30:18 to which I've also appended a Duration column Data[,4] <- as.numeric(difftime(Data$End,Data$Start)) names(Data)[4] <- "Duration" I have in my head a visualization for Start,End that looks kind of like a stock candlestick or OHLC chart, where the x value is the Date, and y is End - Start. End is at the top with a rectangle

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

﹥>﹥吖頭↗ 提交于 2019-12-06 07:53:17
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,17:00:00.027,0.708333645833333,192575,1,1 2014-06-04,17:00:00.090,0.708334375,192575,1,1 2014-06-04,17

Python: Plot candlesticks with automatic Y zoom

你说的曾经没有我的故事 提交于 2019-12-06 06:24:25
问题 I am looking for a Python plotting library that allows me to plot candlesticks (preferably the OHLC bars variant) with X zoom via mousewheel scrolling (or similar) and an automatically scaled Y axis when zooming. As an example of what I am looking for, tradingview.com does this perfectly. See https://uk.tradingview.com/chart/?symbol=NASDAQ:NDX. OHLC bars can be seen by clicking the candlestick icon near the top left and selecting 'Bars'. Plotly is almost able to do this. The Ohlc class in

Stock candlestick drawing issues with geom_boxplot (R)

廉价感情. 提交于 2019-12-06 03:08:33
问题 I am using geom_boxplot to draw candlesticks using stock market data. The problem is that the individual boxplot's upper and lower edges as well as the upper whisker end point show up way higher on the y-axis than their corresponding values. The relative height (difference between upper and lower edges) and the end point of the lower whisker of each boxplot are fine though. Here's my code : candlestickPlot <- function(x){ library("ggplot2") # x is a data.frame with columns 'date','open','high

Y-axis autoscaling with x-range sliders in plotly

拟墨画扇 提交于 2019-12-06 02:13:33
问题 Afaik, y-axis cant be made to auto scale when using x-range sliders. Y range is chosen with respect to the y values of the whole x range and does not change after zooming-in. This is especially annoying with candlestick charts in volatile periods. When you zoom-in using x-range slider, you essentially get flat candlesticks as their fluctuations only cover a very small part of the initial range. After doing some research it seems that some progress has been made here: https://github.com/plotly

Time series visualization for start, end, duration in R

有些话、适合烂在心里 提交于 2019-12-04 21:13:20
I have the following data: > Data Date Start End 1 2011-11-15 12:01:27 12:30:15 2 2011-11-16 12:01:25 12:32:15 3 2011-11-17 12:01:02 12:39:12 4 2011-11-19 12:01:12 12:30:18 to which I've also appended a Duration column Data[,4] <- as.numeric(difftime(Data$End,Data$Start)) names(Data)[4] <- "Duration" I have in my head a visualization for Start,End that looks kind of like a stock candlestick or OHLC chart, where the x value is the Date, and y is End - Start. End is at the top with a rectangle descending down to Start---the height of the rectangle changes over time with the Duration. That is,

For WPF, FREE candlestick example?

对着背影说爱祢 提交于 2019-12-04 17:40:34
问题 I have been looking for an example or tutorial to show me how to do a candlestick chart in WPF. I want to dynamically load the data series in C# instead of XAML. I have seen it in a static example in XAML on http://www.codeproject.com/KB/silverlight/SilverlightFinancialChart.aspx?msg=3104202 This is for Visifire but want to populate with simple C#. Anyone know of any options? Thanks 回答1: You can check at this example I proposed on my blog. It is based on a D3 library version I branched to add

Python: Plot candlesticks with automatic Y zoom

陌路散爱 提交于 2019-12-04 14:43:58
I am looking for a Python plotting library that allows me to plot candlesticks (preferably the OHLC bars variant) with X zoom via mousewheel scrolling (or similar) and an automatically scaled Y axis when zooming. As an example of what I am looking for, tradingview.com does this perfectly. See https://uk.tradingview.com/chart/?symbol=NASDAQ:NDX . OHLC bars can be seen by clicking the candlestick icon near the top left and selecting 'Bars'. Plotly is almost able to do this. The Ohlc class in plotly.graph_objs give the OHLC bars, and the default rangeslider is a nice feature for X zoom

Y-axis autoscaling with x-range sliders in plotly

我的梦境 提交于 2019-12-04 08:30:41
Afaik, y-axis cant be made to auto scale when using x-range sliders. Y range is chosen with respect to the y values of the whole x range and does not change after zooming-in. This is especially annoying with candlestick charts in volatile periods. When you zoom-in using x-range slider, you essentially get flat candlesticks as their fluctuations only cover a very small part of the initial range. After doing some research it seems that some progress has been made here: https://github.com/plotly/plotly.js/pull/2364 . Anyone knows if there is a working solution for plotly.py ? Thanks for your time