Forex_Strategy_Builder.Session.SetWayPoint C# (CSharp) Метод

SetWayPoint() публичный Метод

Sets a Way Point
public SetWayPoint ( double price, WayPointType type ) : void
price double
type WayPointType
Результат void
        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;
        }