コード例 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            button2.Enabled = false;
            ema             = new EmaSettings()
            {
                A1_start = (int)A1Start.Value,
                A1_end   = (int)A1End.Value,

                A2_start = (int)A1Start.Value,
                A2_end   = (int)A1End.Value,

                B1_start = (int)B1Start.Value,
                B1_end   = (int)B1End.Value,

                B2_start = (int)B2Start.Value,
                B2_end   = (int)B2End.Value,

                C1_start = (int)C1Start.Value,
                C1_end   = (int)C1End.Value,
            };



            backgroundWorker1.RunWorkerAsync();
        }
コード例 #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            button2.Enabled = false;
             ema = new EmaSettings()
            {
                A1_start=(int)A1Start.Value,
                A1_end = (int)A1End.Value,

                A2_start = (int)A1Start.Value,
                A2_end = (int)A1End.Value,

                B1_start = (int)B1Start.Value,
                B1_end = (int)B1End.Value,

                B2_start = (int)B2Start.Value,
                B2_end = (int)B2End.Value,

                C1_start = (int)C1Start.Value,
                C1_end = (int)C1End.Value,
              

            };



            backgroundWorker1.RunWorkerAsync();
       

        }
コード例 #3
0
ファイル: LuanchScalp.cs プロジェクト: vishu57/NinjaTrader
 public LuanchScalp(Form3 form3, EmaSettings emaSett)
 {
     form = form3;
     S    = new AlsiUtils.Statistics();
     S.OnStatsCaculated += new Statistics.StatsCalculated(S_OnStatsCaculated);
     E   = new AlsiUtils.Strategies.Parameter_EMA_Scalp();
     ema = emaSett;
 }
コード例 #4
0
 public LuanchScalp(Form3 form3,EmaSettings emaSett)
 {
     form = form3;
     S = new AlsiUtils.Statistics();
     S.OnStatsCaculated += new Statistics.StatsCalculated(S_OnStatsCaculated);
     E = new AlsiUtils.Strategies.Parameter_EMA_Scalp();
   ema=emaSett ;
 }