Max Active Count
The max active count command is used to stack several contracts at the time. Lets look at 2 use cases.
In this case, eDelta will open a new trade by selling a Put with an expiration the closest to 30 days. Once the trade is placed, it will wait until its expiration before placing a new one. The condition of active count does not allow for more than one trade to be open at the same time.
In this case, eDelta will open a new trade the first day. The second day, the algorithm will check if it has reach the maximum active count before placing a new trade. Since the max count is 999, the algorithm is allowed to pace a new trade. This process will continue each day. The final result is that the study will have a new trade open every trading day. Note that there will always be one new contract open per day, no more than one.
This technique is particularly useful if you want to have a new trade placed each day. This reduces the impact of entry timing in the strategy and increases the number of occurrences.