https://ninjatrader.com/support/foru...roach-examples
How can we do the opposite of what this is doing. This example places stops at the high and longs at the low. I would like to place the opposite of what it's doing , a Long at the Top of price and a Short at the bottom.
I'm not sure how to change this line to make it place a long 10 ticks above current high:
if (shortEntry == null)
SubmitOrderUnmanaged(0, OrderAction.SellShort, OrderType.Limit, 100, High[0]+EntryDistance*TickSize, 0, oco, "Short limit entry");
Thanks!

Comment