if(is(TRADEMODE)) { Lots = ...;//Lots in trade mode } else { Lots = ...;//Lots in train or test mode }