ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Functions/Function_Alligator.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using Steema.TeeChart.Styles;
using Steema.TeeChart.Functions;
using System;
using System.Collections.Generic;
using System.Text;
namespace Steema.TeeChart.Samples
{
public class Function_Alligator : BaseForm
{
private System.Windows.Forms.Button button1;
public Function_Alligator()
: base()
{
InitializeComponent();
InitializeChart();
}
Candle series = new Candle();
Line series2 = new Line();
private void button1_Click(object sender, EventArgs e)
{
series.FillSampleValues(200);
}
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
tChart1.Header.Text = "Alligator technical indicator";
series.Title = "Data";
series2.Title = "Alligator";
tChart1.Series.Add(series);
tChart1.Series.Add(series2);
series.FillSampleValues(200);
AlligatorFunction func = new AlligatorFunction(tChart1.Chart);
series2.Function = func;
series2.DataSource = series;
}
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Function_Alligator));
this.button1 = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.chartContainer.SuspendLayout();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.Text = resources.GetString("textBox1.Text");
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。