The MAXORDER parameter is used in ProBacktest to define the maximum order size allowed during a backtest. This ensures that no order exceeds a specified size, allowing for more controlled and realistic simulations.
DEFPARAM MAXORDER = 10
Explanation:
DEFPARAM is used to configure various parameters in a ProBacktest strategy.MAXORDER sets an upper limit on the number of contracts or units that can be traded in a single order.10) represents the maximum allowable order size.Step-by-step breakdown:
MAXORDER.