(how) is it possible to submit an order for some secondary instrument immediately within the primary instrument's OnBarUpdate, ie. not waiting for the current bar of the secondary instrument to finish ?
So I search for a method like EnterLong(barsInProgess=2, waitForBarClose=false).
Could "AtmStrategyCreate" be used for this ? But can you create it for a different instrument than the current one ? Then I would change the trailing stop in the secondary OnBarUpdate via AtmStrategyChangeStopTarget.
Or maybe Account.Submit(order) , where order was created with the name of a ATMStrategy?
Comment