For example, of the first 6 orders in the code only the first 2 to meet the criteria for entry should be executed and of the last 8 orders in the code, only the first 3 orders to get triggered should be executed.
So that even if the strategy calls to execute all 14 orders because of the criteria being met on the chart, and the entries per direction is set to 14 for that strategy when applied to the chart, it will nonetheless only send out the first 2 orders of the set of 6 orders, and the first 3 orders of the set of 8 orders.
Is there a way to do this within the code of one strategy?
I know I can just make them into 2 separate strategies and set the entries per direction to 2 for the first code and 3 for the second code, but is there a way to get this technique all within one strategy?
Comment