/// <summary>
        /// Sets a Way Point
        /// </summary>
        public void SetWayPoint(double price, WayPointType type)
        {
            if (positions > 0)
            {
                wayPoint[wayPoints] = new Way_Point(price, type, Summary.FormOrdNumb, Summary.PosNumb);
            }
            else
            {
                wayPoint[wayPoints] = new Way_Point(price, type, -1, -1);
            }

            wayPoints++;

            return;
        }
        /// <summary>
        /// Sets a Way Point
        /// </summary>
        public void SetWayPoint(double price, WayPointType type)
        {
            if (positions > 0)
                wayPoint[wayPoints] = new Way_Point(price, type, Summary.FormOrdNumb, Summary.PosNumb);
            else
                wayPoint[wayPoints] = new Way_Point(price, type, -1, -1);

            wayPoints++;

            return;
        }