Documentation/AlgoCode/Function reference

once

One trade at a time for same-side adds (this is already the default).

Reference/Language/Language

once

Optional. Dovee blocks pyramiding (a second buy while long) by default. Opposite signals still flip direction — buy while short becomes long, sell while long becomes short (unless long only). Write re-entry or set the Re-entry input to allow same-side adds.

Return value

—

Example

once
when rsi(14) is below 30
  buy

See also