/// <summary>
        /// VEL on VEL
        /// </summary>
        /// <returns></returns>
        public Jurik_VEL_on_VEL Jurik_VEL_on_VEL(Data.IDataSeries input, double __LowerBand, double __UpperBand, int _VEL_len, double blend, double phaseShift)
        {
            if (cacheJurik_VEL_on_VEL != null)
            {
                for (int idx = 0; idx < cacheJurik_VEL_on_VEL.Length; idx++)
                {
                    if (Math.Abs(cacheJurik_VEL_on_VEL[idx].__LowerBand - __LowerBand) <= double.Epsilon && Math.Abs(cacheJurik_VEL_on_VEL[idx].__UpperBand - __UpperBand) <= double.Epsilon && cacheJurik_VEL_on_VEL[idx]._VEL_len == _VEL_len && Math.Abs(cacheJurik_VEL_on_VEL[idx].Blend - blend) <= double.Epsilon && Math.Abs(cacheJurik_VEL_on_VEL[idx].PhaseShift - phaseShift) <= double.Epsilon && cacheJurik_VEL_on_VEL[idx].EqualsInput(input))
                    {
                        return(cacheJurik_VEL_on_VEL[idx]);
                    }
                }
            }

            lock (checkJurik_VEL_on_VEL)
            {
                checkJurik_VEL_on_VEL.__LowerBand = __LowerBand;
                __LowerBand = checkJurik_VEL_on_VEL.__LowerBand;
                checkJurik_VEL_on_VEL.__UpperBand = __UpperBand;
                __UpperBand = checkJurik_VEL_on_VEL.__UpperBand;
                checkJurik_VEL_on_VEL._VEL_len = _VEL_len;
                _VEL_len = checkJurik_VEL_on_VEL._VEL_len;
                checkJurik_VEL_on_VEL.Blend = blend;
                blend = checkJurik_VEL_on_VEL.Blend;
                checkJurik_VEL_on_VEL.PhaseShift = phaseShift;
                phaseShift = checkJurik_VEL_on_VEL.PhaseShift;

                if (cacheJurik_VEL_on_VEL != null)
                {
                    for (int idx = 0; idx < cacheJurik_VEL_on_VEL.Length; idx++)
                    {
                        if (Math.Abs(cacheJurik_VEL_on_VEL[idx].__LowerBand - __LowerBand) <= double.Epsilon && Math.Abs(cacheJurik_VEL_on_VEL[idx].__UpperBand - __UpperBand) <= double.Epsilon && cacheJurik_VEL_on_VEL[idx]._VEL_len == _VEL_len && Math.Abs(cacheJurik_VEL_on_VEL[idx].Blend - blend) <= double.Epsilon && Math.Abs(cacheJurik_VEL_on_VEL[idx].PhaseShift - phaseShift) <= double.Epsilon && cacheJurik_VEL_on_VEL[idx].EqualsInput(input))
                        {
                            return(cacheJurik_VEL_on_VEL[idx]);
                        }
                    }
                }

                Jurik_VEL_on_VEL indicator = new Jurik_VEL_on_VEL();
                indicator.BarsRequired        = BarsRequired;
                indicator.CalculateOnBarClose = CalculateOnBarClose;
#if NT7
                indicator.ForceMaximumBarsLookBack256 = ForceMaximumBarsLookBack256;
                indicator.MaximumBarsLookBack         = MaximumBarsLookBack;
#endif
                indicator.Input       = input;
                indicator.__LowerBand = __LowerBand;
                indicator.__UpperBand = __UpperBand;
                indicator._VEL_len    = _VEL_len;
                indicator.Blend       = blend;
                indicator.PhaseShift  = phaseShift;
                Indicators.Add(indicator);
                indicator.SetUp();

                Jurik_VEL_on_VEL[] tmp = new Jurik_VEL_on_VEL[cacheJurik_VEL_on_VEL == null ? 1 : cacheJurik_VEL_on_VEL.Length + 1];
                if (cacheJurik_VEL_on_VEL != null)
                {
                    cacheJurik_VEL_on_VEL.CopyTo(tmp, 0);
                }
                tmp[tmp.Length - 1]   = indicator;
                cacheJurik_VEL_on_VEL = tmp;
                return(indicator);
            }
        }
        /// <summary>
        /// VEL on VEL
        /// </summary>
        /// <returns></returns>
        public Jurik_VEL_on_VEL Jurik_VEL_on_VEL(Data.IDataSeries input, double __LowerBand, double __UpperBand, int _VEL_len, double blend, double phaseShift)
        {
            if (cacheJurik_VEL_on_VEL != null)
                for (int idx = 0; idx < cacheJurik_VEL_on_VEL.Length; idx++)
                    if (Math.Abs(cacheJurik_VEL_on_VEL[idx].__LowerBand - __LowerBand) <= double.Epsilon && Math.Abs(cacheJurik_VEL_on_VEL[idx].__UpperBand - __UpperBand) <= double.Epsilon && cacheJurik_VEL_on_VEL[idx]._VEL_len == _VEL_len && Math.Abs(cacheJurik_VEL_on_VEL[idx].Blend - blend) <= double.Epsilon && Math.Abs(cacheJurik_VEL_on_VEL[idx].PhaseShift - phaseShift) <= double.Epsilon && cacheJurik_VEL_on_VEL[idx].EqualsInput(input))
                        return cacheJurik_VEL_on_VEL[idx];

            lock (checkJurik_VEL_on_VEL)
            {
                checkJurik_VEL_on_VEL.__LowerBand = __LowerBand;
                __LowerBand = checkJurik_VEL_on_VEL.__LowerBand;
                checkJurik_VEL_on_VEL.__UpperBand = __UpperBand;
                __UpperBand = checkJurik_VEL_on_VEL.__UpperBand;
                checkJurik_VEL_on_VEL._VEL_len = _VEL_len;
                _VEL_len = checkJurik_VEL_on_VEL._VEL_len;
                checkJurik_VEL_on_VEL.Blend = blend;
                blend = checkJurik_VEL_on_VEL.Blend;
                checkJurik_VEL_on_VEL.PhaseShift = phaseShift;
                phaseShift = checkJurik_VEL_on_VEL.PhaseShift;

                if (cacheJurik_VEL_on_VEL != null)
                    for (int idx = 0; idx < cacheJurik_VEL_on_VEL.Length; idx++)
                        if (Math.Abs(cacheJurik_VEL_on_VEL[idx].__LowerBand - __LowerBand) <= double.Epsilon && Math.Abs(cacheJurik_VEL_on_VEL[idx].__UpperBand - __UpperBand) <= double.Epsilon && cacheJurik_VEL_on_VEL[idx]._VEL_len == _VEL_len && Math.Abs(cacheJurik_VEL_on_VEL[idx].Blend - blend) <= double.Epsilon && Math.Abs(cacheJurik_VEL_on_VEL[idx].PhaseShift - phaseShift) <= double.Epsilon && cacheJurik_VEL_on_VEL[idx].EqualsInput(input))
                            return cacheJurik_VEL_on_VEL[idx];

                Jurik_VEL_on_VEL indicator = new Jurik_VEL_on_VEL();
                indicator.BarsRequired = BarsRequired;
                indicator.CalculateOnBarClose = CalculateOnBarClose;
#if NT7
                indicator.ForceMaximumBarsLookBack256 = ForceMaximumBarsLookBack256;
                indicator.MaximumBarsLookBack = MaximumBarsLookBack;
#endif
                indicator.Input = input;
                indicator.__LowerBand = __LowerBand;
                indicator.__UpperBand = __UpperBand;
                indicator._VEL_len = _VEL_len;
                indicator.Blend = blend;
                indicator.PhaseShift = phaseShift;
                Indicators.Add(indicator);
                indicator.SetUp();

                Jurik_VEL_on_VEL[] tmp = new Jurik_VEL_on_VEL[cacheJurik_VEL_on_VEL == null ? 1 : cacheJurik_VEL_on_VEL.Length + 1];
                if (cacheJurik_VEL_on_VEL != null)
                    cacheJurik_VEL_on_VEL.CopyTo(tmp, 0);
                tmp[tmp.Length - 1] = indicator;
                cacheJurik_VEL_on_VEL = tmp;
                return indicator;
            }
        }