I was wondering if:
1.
within the managed approach it is possible to simultaneously enter long and short stop entries within the same bar session. e.i.
If( ATR(14)[0] < voltrigger && entryOrderLong == null && entryOrderShort == null) { entryOrderLong = EnterLongStop(0, false, DefaultQuantity, High[0], "Long") entryOrderLong = EnterShortStop(0, false, DefaultQuantity, Low[0], "Short") }
if 1. is true, how do I need to set EntryHandling to make sure my strategy can take both (long and short) entries? would the code below make the trick:
protected override void Initialize() { EntriesPerDirection = 1; EntryHandling = EntryHandling.AllEntries; }
Comment