Hi Guys,
Consider the following scenario, with the /MES price at 5323:
Using Ninjascript, I’d like to be able to place BUY LIMIT ORDERS below the current price, at various levels. I’d also like to be able to place SELL STOP LIIMIT or SELL STOP MARKET orders above the current price, at various levels.
The desired output is something like the following, where the pink lines are sell stop limit or sell stop market orders and the blue lines are buy limit orders. The idea is to scale into long or short positions as various levels are reached.

I manually entered the orders in on the chart to produce this effect, but I’d like to use Ninjascript to do this. How can I accomplish this?
I seem to only be able to place one buy limit order. Do I have to use OnOrderUpdate() to wait for an accepted order status prior to submitting the successive orders?