The first order is a market order, placed during OnBarUpdate().
Next, within OnExecution(), I would like to do all of the following once I know my first entry order has been executed (and so know my weighted average entry price), but want to check with you first that I won’t be violating NT order handling rules by doing so:
·Submit Exit Orders (i.e. target and stop)
·Also submit additional Entry Orders (limit orders, with the price of each referenced to the weighted average price of the position already held) that will increase my position (and average down my weighted average price) if price moves away from the target after the first entry
Can I do all this within the same OnExecution()? i.e. while I already hold a position, submit BOTH a) exit orders for the held position, AND b) further entry orders to average down if price moves against me?
... Or will I be violating NT order handling rules?
Thanks.

Comment