public boolean averageUp(int steps){
		if(steps >= historySize) {
			steps = historySize;
		}
		int up = 0, down = 0;
		for(int i = 0; i < steps; ++i){
			if(priceHistory.get(i) > priceHistory.get(i+1)){
				++up;
			}
			else if(priceHistory.get(i) < priceHistory.get(i+1)){
				++down;
			}
		}
		return up > down;
	}