Sets the manner in how entry orders are handled. If set to "EntryHandling.AllEntries", NinjaScript will process all order entry methods until the maximum allowable entries set by the EntriesPerDirection property has been reached while in an open position. If set to "EntryHandling.UniqueEntries", NinjaScript will process order entry methods until the maximum allowable entries set by the EntriesPerDirection property per each uniquely named entry.

Property Value

EntryHandling.AllEntries
EntryHandling.UniqueEntries

Syntax

EntryHandling

Examples

// Example #1// Will allow a maximum of two entries while a position is openprotected override void Initialize() { EntriesPerDirection = 2; EntryHandling = EntryHandling.AllEntries;}