C# MSChart Candle Stick & Moving Average Chart. Error: Formula error - There are not enough data points for the Period
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,