This heterogeneous interacting agents model of a financial market is a generalization of the model proposed by Westerhoff (The Use of Agent-Based Financial Market Models to Test the Effectiveness of Regulatory Policies) by traders who are allowed to have different investment horizons as...