// minutes - Id в таблице тайм фреймов
        public _minStrategy(int TimeFrameMinutes, int TimeFrameId, string StrategyName = "_3minStrategy")
            : base(StrategyName)
        {
            volumeElements  = new Dictionary <string, Dictionary <DateTime, StockDataElement> >();
            settingElements = new Dictionary <string, Dictionary <DateTime, SettingDataElement> >();

            lastDateTimeVolume  = new Dictionary <string, DateTime>();
            lastDateTimeSetting = new Dictionary <string, DateTime>();

            if (contextVol == null)
            {
                contextVol = new consoledb2DataDataContext();
            }
            if (contextSet == null)
            {
                contextSet = new consoledb2DataDataContext();
            }
            if (contextVaR == null)
            {
                contextVaR = new consoledb2DataDataContext();
            }

            currentTimeFrame   = TimeFrameMinutes;
            currentTimeFrameId = TimeFrameId;

            firstTickDt = DateTime.Today.AddHours(10);
            lastTickDt  = DateTime.Today.AddHours(23).AddMinutes(49).AddSeconds(59);

            // **********************************************************************
            dbStocks = (from s in contextVol.stocks
                        where s.active == true
                        select s).ToArray();

            // **********************************************************************
        }