public DataSeris(chartStyle ch, TimeFrame tf, string pNam, double dltT, Exchange ex) { Bars = new Dictionary <DateTime, PriceClaster>(); paperName = pNam; deltaTick = dltT; exchange = ex; TFrame = tf; ChStyle = ch; maxPrice = 0; minPrice = 9999999; }
public DataSeries(string pNam, double dltT, Exchange ex, TimeFrame tf, chartStyle chart, int minVolumeForSum) { Bars = new Dictionary <DateTime, PriceClaster>(); nameSec = pNam; deltaTick = dltT; exchange = ex; TFrame = tf; ChStyle = chart; maxPrice = 0; minPrice = 9999999; minVolume = minVolumeForSum; }
public DataSeriesSec(string pNam, double dltT, Exchange ex, TimeFrame1 tf, chartStyle chartSt, int ignoreTickForSum, ConnectorQuik con, WindowGL ch) { Bars = new Dictionary <DateTime, PriceClaster>(); chart = ch; connector = con; connector.Event_GetTicks += Connector_Event_GetTicks; secName = pNam; deltaTick = dltT; exchange = ex; TF = tf; ChStyle = chartSt; maxPrice = 0; minPrice = 9999999; ignoreTick = ignoreTickForSum; new Thread(() => { LoadTick(); }).Start(); }