Back to builder reference

Condition

fixed_targets
exit

Fixed stop-loss / take-profit / time-stop (supports take_profit_tiers for staged partial exits)

Category

Risk management

Discriminator

card_type = "fixed_targets"

Roles

exit

Required fields

None.

Optional fields

breakeven_buffer_pctnumberBuffer above/below entry price for the amended stop loss. 0.0 = exact break-even. E.g. 0.1 = entry + 0.1%.
breakeven_trigger_pctanyOf (2 variants)Once unrealized profit reaches this % of entry price, move the stop loss to entry + breakeven_buffer_pct. Requires sl_pct. E.g. 2.0 = trigger at 2% profit.
card_typestring-
directionenum: long, shortPosition direction: long or short
sl_pctanyOf (2 variants)Stop loss percentage (e.g., 2.0 = 2%)
sl_price_refanyOf (2 variants)Structural stop price resolved from a SignalRef at fill time (e.g., EntryBarRef low for an ORB stop). Mutually exclusive with sl_pct.
stop_order_idanyOf (2 variants)ID of the stop order to use as the R-distance anchor for tp_r_multiple. Defaults to 'sl'. Only valid when tp_r_multiple is set.
time_stop_barsanyOf (2 variants)Exit after this many bars
tp_pctanyOf (2 variants)Take profit percentage (e.g., 5.0 = 5%)
tp_r_multipleanyOf (2 variants)Take-profit at N x R from the stop's risk distance. Requires a stop (sl_pct or sl_price_ref). Mutually exclusive with tp_pct and tp_tiers.
tp_tiersanyOf (2 variants)Partial-exit ladder in ascending pct order. Each tier is `{pct, size_frac}` (e.g. `[{pct:3, size_frac:0.5}, {pct:6, size_frac:0.5}]`). Multi-tier sum must equal 1.0; single-tier may carry size_frac<1.0 to compose with attached trailing/SL exits. Mutually exclusive with take_profit_pct.
Quawd

A subscription SaaS platform for designing, backtesting, and paper-trading algorithmic trading strategies on equities and crypto — described in plain English to an AI agent, no code required.

© 2026 Quawd. All rights reserved.

Quawd is a software tool, not a broker-dealer or investment adviser, and does not provide investment advice. Trading involves substantial risk of loss. Backtested and hypothetical results have inherent limitations and are not indicative of future performance.