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;
}