Forex_Strategy_Builder.Session.Session C# (CSharp) Method

Session() public method

Constructor
public Session ( int bar, int maxPos, int maxOrd )
bar int
maxPos int
maxOrd int
        public Session(int bar, int maxPos, int maxOrd)
        {
            this.bar        = bar;
            positions       = 0;
            orders          = 0;
            position        = new Position[maxPos];
            order           = new Order[maxOrd];
            position[0]     = new Position();
            backTestEval    = BacktestEval.None;
            wayPoint        = new Way_Point[15];
            wayPoints       = 0;
            isTopReached    = false;
            isBottomReached = false;
        }