Exemplo n.º 1
0
 public void CopyDealsInfo(DealSeries src)
 {
     deals.Clear();
     foreach (var d in src.deals)
     {
         deals.Add(d);
     }
 }
Exemplo n.º 2
0
        public DealSeries CloneSeries(string name)
        {
            var vs = new DealSeries(name)
            {
                symbolMode        = symbolMode,
                ShowSymbolEnter   = ShowSymbolEnter,
                ShowSymbolExit    = ShowSymbolExit,
                ShowSymbolProtect = ShowSymbolProtect,
                ShowSymbolAP      = ShowSymbolAP,
                ShowSymbolTP      = ShowSymbolTP,
                LinkLockingDeals  = LinkLockingDeals
            };

            foreach (var d in deals)
            {
                vs.deals.Add(d);
            }
            return(vs);
        }
Exemplo n.º 3
0
 public void CopyDealsInfo(DealSeries src)
 {
     deals.Clear();
     foreach (var d in src.deals) deals.Add(d);
 }
Exemplo n.º 4
0
        public DealSeries CloneSeries(string name)
        {
            var vs = new DealSeries(name)
                         {
                             symbolMode = symbolMode,
                             ShowSymbolEnter = ShowSymbolEnter,
                             ShowSymbolExit = ShowSymbolExit,
                             ShowSymbolProtect = ShowSymbolProtect,
                             ShowSymbolAP = ShowSymbolAP,
                             ShowSymbolTP = ShowSymbolTP,
                             LinkLockingDeals = LinkLockingDeals
                         };

            foreach (var d in deals) vs.deals.Add(d);
            return vs;
        }