I would like to know if anyone could tell me how can you code a maximum numbers of orders when DEFPARAM CumulateOrders = true. I am trying to develop a system and I am concern with Money Management. I want to limit the accumulation of orders up to a maximum of five at the same time.
You can use the COUNTOFLONGSHARES keyword to know how many LOTS/CONTRACTS/SHARES are already on market for long orders. Same for short orders with COUNTOFSHORTSHARES
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok