close

private void testPaintKData()

        {

            DataTable dt = TxtConvertToDataTable(@"D:\test.csv", "test", ",");


            // create CandlePlot

            CandlePlot cp = new CandlePlot();

            cp.DataSource = dt;

            cp.AbscissaData = "Date";

            cp.OpenData = "Open";

            cp.LowData = "Low";

            cp.HighData = "High";

            cp.CloseData = "Close";

            cp.BearishColor = Color.Red;

            cp.BullishColor = Color.Green;

            cp.StickWidth = 3;

            cp.Color = Color.DarkBlue;


            plotSurface2D1.Add(new Grid());

            plotSurface2D1.Add(cp);


            plotSurface2D1.Title = "AU:JBH";

            plotSurface2D1.XAxis1.Label = "Date / Time";

            plotSurface2D1.YAxis1.Label = "Price [$]";


            plotSurface2D1.Refresh();

        }

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 鑄劍為犁 的頭像
    鑄劍為犁

    Balance OP 交易

    鑄劍為犁 發表在 痞客邦 留言(0) 人氣()