Black Friday, until December 2: FONDEOREAL gives 30% off the 50K, 20% off the 100K and 10% off the 150K at FTMO Futures. See the offer →

Lab · November 2026 · 2 min read

NinjaTrader 8 Ignoring Your Second Entry? Here's Why

Why EnterLong() doesn't add another entry in NinjaTrader 8: EntriesPerDirection, EntryHandling and how to change them, based on the official guide.

It's usually not a bug. By default, EntriesPerDirection is 1 and EntryHandling is AllEntries: with a position open, further EnterLong() calls are ignored. To add entries, you need to raise that limit or use uniquely named entries.

SettingWhat it does
AllEntriesCounts all entries together up to the EntriesPerDirection maximum, while the position is open.
UniqueEntriesApplies that maximum to each uniquely named entry.

Two ways to allow more entries

Raise the maximum: with EntriesPerDirection = 2 and AllEntries, two entries are allowed while the position is open.

Split by name: with UniqueEntries, each uniquely named entry is processed once, as in this example based on the guide:

EntriesPerDirection = 1;
EntryHandling = EntryHandling.UniqueEntries;

if (CrossAbove(SMA(10), SMA(20), 1))
    EnterLong("SMA Cross Entry");
if (CrossAbove(RSI(14, 3), 30, 1))
    EnterLong("RSI Cross Entry");

Before you change it

On a prop firm account, every entry adds risk. Allowing two or three entries can multiply your contracts. Check your firm's maximum and work out how many contracts fit your drawdown before you change it.

Want someone to review it? We check how your NinjaScript strategy enters and how much risk it builds up.

Review from $90 Analyze NinjaTrader with AI

Sources

Keep reading

Practise an evaluation, freeAll 91 articles →

Free: The Other Half Workbook. Nine templates for trading with a cool head: your one-page plan, the pre-session checklist, the twelve-patterns test, your size and the bill for your mistakes.

Get the free workbook

Get ready for 2027: the Trader Planner. Each day's US releases in New York time, your pre-market routine and a log for every session.

Paperback on Amazon, $16.99 Get the PDF, $9

Educational content based on the official NinjaTrader documentation. Not investment advice. Test any change on a simulation account before using it live.