Adds and duplicates

How the platform handles repeat entries and scaling into a position.

Markdown
Updated Jul 4, 2026

When a strategy fires the same signal twice, or scales into a position on purpose, Lune already knows what to do. This page explains how Lune treats repeat entries and adds. This is fixed platform behavior, so there is nothing to set up.

Accidental repeat entries are skipped#

Lune ignores an exact-duplicate same-side entry when the open position already came from the same automation. This stops a repeated alert from doubling your size by accident.

The check is scoped to this automation. A position opened by hand, by another automation, by copying, or at the broker directly never blocks your automation's entry. Only a position this automation itself opened counts as a duplicate.

Note

An exact-duplicate entry is a same-side entry that does not change your size. A same-side entry that does change the size is not a duplicate, so Lune processes it. That is how scale-in works, below.

Adding to a position is allowed#

When a strategy scales in, runs a martingale, or dollar-cost averages, a same-side entry that changes the size adds to the open position. Lune builds the position across those alerts, so these strategies work out of the box.

Your risk limits still cap the size#

Your account risk limits are hard caps on how much size an account can hold. Lune will not add past them, even when a signal asks to. Set your risk limits to the most size you want an account to carry. See Risk management.

Pyramiding is a shared responsibility#

TradingView has its own pyramiding setting that decides how many entries a strategy can stack. Lune adds to a position and caps it with your account risk limits. Both sides matter. If TradingView sends more entries than you expect, check its pyramiding setting and your Lune risk limits. See Duplicate or double orders.

Next steps#

Was this page helpful?