Risk & Exit Tools
Discord Get started

Risk & Exit Tools

Protections

The guardrails that run before every trade in a strategy: skip duplicate signals, cap slippage, cancel stale orders, and limit position size.

Protections are the guardrails a strategy runs before every trade. In the Companion App they live inside the strategy editor, on the Protections tab. The section header reads “Guardrails that run before every trade” and shows how many are armed, for example “0 of 12 armed”. The total depends on the strategy’s instrument and broker, so the second number varies.

Note

The Cloud Dashboard groups four of these differently. Its Strategy Builder has no single Protections panel, so if you are editing from the web and cannot find a switch, look here:

SettingCompanion AppCloud Dashboard
Smart expiration detectionProtectionsInstrument details → Behavior
Weekday 0DTEProtections → Order safetyInstrument details → Behavior
Smart price overrideProtectionsExecution
Selling restriction bypassProtections → Signal rulesExecution
Daily loss limit, Profit giveback limit, Count open positions, Day resets at midnight inProtections → Daily limitsGuardrails → Daily limits

Everything else on this page is on the Protections tab in the app and in the equivalent builder section on the web. Both write the same strategy, so a switch set in one shows up in the other.

The Protections tab, showing the Signal rules, Order safety, Position limits and Daily limits group cards, each with an armed countThe Protections tab, showing the Signal rules, Order safety, Position limits and Daily limits group cards, each with an armed count The Protections tab. Each group card shows its armed count (like 0 / 4); expand a card to reach the individual guardrails.

Each guardrail is a single row with an on/off toggle. Turn one on and its number field appears next to it. Turn it off and the field greys out but stays visible, so you can see the value you had set.

The rows are grouped into up to four cards:

GroupWhat it covers
Signal rulesWhich signals to act on, and which to skip.
Order safetyLimits at the moment of placing the order.
Position limitsHard caps on size, adds, and forced exits.
Daily limitsPause this strategy’s new entries for the day after a set loss or giveback. See Daily limits.
BEFORE EVERY TRADE ONLY THEN Signal arrives 1 Signal rules Which signals to act on, and which to skip. Selling restriction bypass Per-trader filters 2 Order safety Limits at the moment of placing the order. Weekday 0DTE Smart price override 3 Position limits Hard caps on size, adds, and forced exits. Double-down protection Max position size Order placed Fail any one guardrail and the trade stops here — nothing is sent to the broker
The three groups run in order, and every one of them can stop the trade.
Note

Which rows show up depends on the strategy’s instrument and broker. A stock strategy on one broker will not show every row a multi-leg options strategy on another broker does. Only guardrails the broker actually enforces are shown.

Signal rules

  • Duplicate protection skips a second buy of the same contract on this strategy within 120 seconds, so the same alert firing twice does not double your position. See Duplicate protection below.
  • Avoid stacking the same ticker (STG / DAS only) stops you re-entering a name you already hold unless the price has moved far enough from your average cost. Set the distance as a percent.
  • Process sell signals honours explicit close, STC, and sell-to-close messages.
  • Smart expiration detection picks the next valid expiration when an options signal is vague about the date. It appears on options strategies at Interactive Brokers, Tradier, Charles Schwab, Robinhood and Webull, and on spreads strategies at Interactive Brokers, Tradier and Robinhood.
  • Smart price override uses live quotes when they are more recent than the price in the signal. It appears on options strategies only.
  • Selling restriction bypass lets the strategy close positions it did not open itself. Normally a strategy only exits trades it opened. The toggle appears on Stocks and RSA strategies, and it only takes effect on IBKR, Tradier and STG (DAS).
  • Auto position cleanup closes the least healthy holdings once you hold more than a set number at once. Memecoins only.

Duplicate protection

The check looks at buys from Discord and Telegram, and at Robinhood Chain memecoin buys from every source. It never checks a sell or a trim. It never checks a TradingView entry, except a Robinhood Chain memecoin buy. Serverside alerts use their own record per alert and broker, see Serverside.

  • Same contract means the same strategy, ticker, instrument, call or put, strike (or the spread legs), expiration and side. The price is not part of the match. “SPY 742C @ .42” and “SPY 742C @ .45” are the same contract.
  • The window is 120 seconds from the last buy of that contract.
  • The app records the buy when it sends it, not when it fills. A first buy that the broker rejects still blocks a repeat in the window.
  • The record is in memory. An app restart clears it.
  • A reply to another message is always checked, also with the switch off. A profit update posted as a reply to the entry (“$.60 HERE, UP +40%”) does not buy the contract again in the window.
  • With the switch off, a new message that repeats a buy is placed again.
  • A full sell clears the record. When this strategy sells a contract and at least one broker fills the sell, accepts it as an open order, or holds it to retry on a wide spread, the record for that contract is removed. The next buy of the same contract is a new entry, also inside the 120 seconds. “Bought 722C, sold it, re-entered 722C” places all three orders.
  • A trim does not clear the record. After a trim the position is still open, so a repeat buy alert for that contract in the window is still skipped.
  • A rejected sell does not clear the record. If every broker rejects the sell, or it is not sent, the position is still open and a repeat buy in the window is still skipped.
  • One message can close and buy. In “Closing 722c, re-entering 722c here at 1.05” the buy of the same contract waits for the sell, up to 15 seconds, and is placed once the sell lands. If the sell has not landed after 15 seconds, or every broker rejected it, the buy is checked as usual and skipped as a duplicate. A buy of a different contract in the same message, such as “out SPX 7220c, buying QQQ 600c”, does not wait.
  • On Robinhood Chain the switch decides alone. On blocks a repeat buy of the same coin for 2 minutes. Off means no check, also for replies.

A skipped buy shows in Activity as “Skipped duplicate”, followed by the alert, the strategy, and “same contract fired 40s ago” with the real age.

A TRADE FROM A STRATEGY RESULT A buy? Sells and trims are never checked From Discord or Telegram? Or a Robinhood Chain memecoin buy, from any source Duplicate protection on? A reply to another message is always checked Same contract bought in the last 120 s? Ticker, type, strike, expiration, side. Not the price. Placed The 120 s window starts again from this buy Buy Yes On No Not checked The sell or trim goes out Not checked TradingView, serverside: placed Not checked Placed, and still recorded Skipped Nothing is placed No No Off Yes A full exit or a trim always goes to the broker. Serverside alerts have their own record per alert and broker. On Robinhood Chain the switch decides, also for replies. A first buy the broker rejected still counts. A restart clears the record. The app records the buy when it sends it, not when it fills.
Duplicate protection: only Discord and Telegram buys (and Robinhood Chain memecoin buys) are checked, and the price is not part of the match.

Order safety

  • Slippage cap rejects a fill more than the set percent away from the expected price. Enter the cap as a percent, for example 2.5. On Interactive Brokers it also covers spreads, credit spreads included. On Interactive Brokers stocks from Discord or Telegram, Market and Limit entries measure the cap from the price in the alert: if the live price is already past the cap, the buy is skipped.
  • Wait for the price to come back works with the Slippage cap. When an alert arrives and the price is already past your cap, the buy is normally refused. With this on, nothing is placed yet: the app watches and places the order as usual once the price is back within your cap. It waits up to your Cancellation timer, counted from the alert, so the timer must be on too. If the price never comes back, nothing is bought and the Activity page says why. A better price than the alert buys at once. An exit alert, a newer entry alert or an app restart also ends the wait. It does not apply to an alert that Wait for the break handles. How it works: Wait for the price to come back.
Wait for the price to come back: the buy waits until the price is inside your cap Cancellation timer, counted from the alert $10.25 Slippage cap (about 2.5% past the alert) $10.00 price in the alert timer ends: nothing bought if the price never came back alert arrives, live price $10.50: nothing is placed the app watches the price back inside the cap: buy price the most the buy pays the wait ends OTHER OUTCOMES An exit alert arrives for the same contract: cancelled A newer entry alert arrives it replaces the wait The app restarts every wait ends, nothing bought Price better than the alert no wait: buys at once
Wait for the price to come back: the buy waits inside the Cancellation timer, and only a price inside your cap buys.
  • On Interactive Brokers options, an alert can name an expiry date that is not listed. The app then buys a listed expiry no more than 10 days from that date. If there is none, nothing is bought. This check has no toggle and runs when Smart expiration detection is off too.
  • Cancellation timer cancels an open order that has not filled after the set number of minutes.
  • Entry delay waits the set number of seconds after a signal before placing the order.
  • Buy limit offset and Sell limit offset nudge limit orders off the price. Each takes a dollar amount or a percent of the price. These only appear when the matching entry or exit method is set to a limit order.
  • Wait for the break is for alerts like “NUR @ $4.15 BREAK”, where the trader means buy only once the price reaches 4.15. With it on, the order waits at the broker and buys only when the price breaks that level, never paying more than the percent you set above it (empty means 2%). Alerts without a break level buy as usual. It appears on Interactive Brokers stocks, options, spreads and futures strategies, on Robinhood, Tradier and Webull stocks, options and spreads strategies, on Schwab stocks and options strategies, and on STG / Cobra stocks strategies. On a spread, the break can be on the stock price or on the net price of the spread: see Wait for the break on a spread. Outside the regular session, Robinhood, Schwab, Webull and Tradier stocks do not wait, and the alert buys as usual. If the price is already past the break when the alert arrives, Robinhood places a plain limit at your cap. An option alert whose break is the stock price, like “TSLA 425C ON THE BREAK OF $407.30”, waits for the stock price on Interactive Brokers, Robinhood, Tradier and Schwab. How it works: Wait for the break.
  • Reprice entry until filled is for limit buys that the market runs away from. If the order has not filled, it is moved to the current ask and sent again every 10 seconds, up to 5 times, never paying more than the percent you set above your first limit (empty means 2%). After the last try the order stays open and your Cancellation timer still applies. It does not move exits. A Wait for the break order is not repriced: its limit is already the break cap. It appears on strategies whose entry is a limit order, on the brokers and instruments in What each broker supports. On a spread, a debit pays up to the percent more, and a credit takes up to the percent less credit. Interactive Brokers, Tradier and STG / Cobra move the same order. Schwab, Robinhood and Webull cancel it and place a new one for whatever has not filled. How it works: Reprice entry until filled.
  • Reprice exit until filled is for limit exits that rest unfilled, on the brokers and instruments in What each broker supports. It lowers the price one step at a time, during regular market hours, never below your Max drop, then the order rests. A limit price you set yourself is moved only with Also my limits. How it works: Reprice exit until filled.
  • Buy same-day on the matching weekday buys today (0DTE) when the expiration names a weekday and today is that day. Auto-close 0DTE has the broker flatten those positions a set number of minutes before the close. Both appear only for options and spreads strategies.
"NUR @ $4.15 BREAK" waits, then buys only once the price breaks 4.15 $4.24 most you pay (2% above the break, rounded up) $4.15 the break $3.80 stop loss alert at $4.00: nothing is bought price breaks $4.15: buy price the order waits at the broker until the break
Wait for the break: the alert arrives at $4.00, nothing is bought until $4.15 trades, and the buy never pays above the cap.
Note

If the price jumps past the cap, the order does not chase it. It stays open without filling, and your Cancellation timer (if on) starts counting once the break is reached, not when the alert arrived. Your stop loss, take profit, trailing stop and move to breakeven attach as usual and are set from the price you actually paid.

Note

On a strategy with more than one broker, the first broker you selected decides these settings: Wait for the break, Reprice entry until filled, Reprice exit until filled, Move stop after a trim, Wait for the price to come back and Allow extended hours. If the first broker supports a setting, the app sends it with the trade to every broker on the strategy. If the first broker does not support it, no broker gets it, also when another broker on the strategy supports it. When you remove the first broker, the next broker in the list becomes the first.

The percent caps of Wait for the break and Reprice entry until filled go up to 50%. A higher number counts as 50%. An empty box means 2%.

Heads up

If you turn Slippage cap on, set a number. A cap that is on with no value is sent as no cap, so every price is accepted. The row then shows Empty: no cap is used. Enter a % to turn the cap on., and the readiness pill warns Slippage cap is on but has no value, so no cap is used.

Max spread (RSA on Webull)

Max spread is under Order safety on RSA strategies. Only Webull reads it, so the row shows only when Webull is one of the strategy’s brokers. Its description starts with Webull only. Other RSA brokers on the same strategy ignore it.

On a stock under $1, Webull buys 100 shares and sells 99 to keep 1 share (1000 and 999 under $0.10). That crosses the bid/ask spread two times. On a wide book, this costs more than the RSA trade can make. Max spread reads the bid and ask before the buy, and skips the buy when the book is too wide.

  • Enter the cap in $ (the default, 2) or %.
  • $ is the cost to get into the position. Example: on a $0.73 bid and $0.77 ask, buying 100 and selling 99 costs about $3.98.
  • % is the width of the book, as a percent of the ask.
  • It checks buys only. Sells always go out.
  • If the app cannot read quotes at all, the buy goes out unchecked, and Activity says that the cap did not run. Sign in to Robinhood for free quotes, or turn Max spread off.
  • If the app cannot read the bid and ask for that ticker, for example on a halted stock, the buy is skipped.
AN RSA BUY ALERT RESULT Is it a Webull RSA buy with Max spread on? Other RSA brokers do not read Max spread Can the app read quotes at all? For example, from your Robinhood sign-in Bid and ask read for this ticker? For example, not halted or rate limited Book cost or width over the cap? $ is the cost to get in. % is the book width. Places the order The book is inside your cap Yes Yes Yes No No Goes out No spread check Sells are never checked. A wide book never stops an exit. No Goes out unchecked Activity says the cap did not run Sign in to Robinhood for free quotes, or turn Max spread off. No Skipped Could not read the bid/ask Nothing is bought, and the app does not check again. Yes Waits, nothing bought Checks again every 10 minutes Market hours only, until the alert's effective date. Buys once it is inside. With no effective date in the alert, it stops at the close. 5 days at most.
Max spread checks the book before a Webull RSA buy. A wide book waits; it does not buy.

When the book is too wide, nothing is bought, and the app watches the ticker:

  • It checks the book again every 10 minutes while the U.S. market is open.
  • It buys when the book is inside your cap.
  • It stops at the effective date in the RSA alert. If the alert has no date, it stops at the market close that day. It never watches for more than 5 days.
  • It also stops when you turn the strategy off, when a newer alert for the same ticker arrives, or when Webull refuses the order for a different reason.
  • The watch continues after an app restart.

On the Activity page the broker row shows the skip and the text Checking again every 10 minutes while the market is open, with the time left and Nothing has been bought yet. About once an hour a Still too wide line shows how many checks were made. If the watch ends with no buy, the row says that the spread never came in under your cap.

An Activity card for a Webull RSA buy of SFWL skipped by Max spread, with the line Checking again every 10 minutes while the market is open and Nothing has been bought yetAn Activity card for a Webull RSA buy of SFWL skipped by Max spread, with the line Checking again every 10 minutes while the market is open and Nothing has been bought yet

Position limits

  • Maximum trade value is a hard dollar cap per trade. The trade aborts if size times price exceeds it.
  • Double-down protection controls repeated buys on a name this strategy already holds. See below.
  • Block-exit threshold (STG / DAS only) refuses a sell while the position’s P&L from your average cost is past the set percent, so it can recover or hit your stop instead. Enter a loss as a negative number: -50 will not sell at a 50%+ loss. A positive number blocks sells at that gain or more.
  • Move stop after a trim (the brokers and instruments in What each broker supports). When the first trim or partial take profit fills, the stop on what is left moves to your entry price, so the rest of the trade cannot turn into a loss. Enter a percent to lock in profit instead: 5 moves the stop to 5% past your entry; empty or 0 means breakeven. It only ever tightens the stop, and if the price is already past the new stop it waits until the price comes back. The strategy needs a stop loss. On Robinhood only a trim alert moves the stop: its Sell in stages levels and Partial TP do not. How it works: Move stop after a trim.
  • Per take-profit level follow-ups (the brokers and instruments in What each broker supports). When the take profit sells in stages, each level can also say what happens next: Then stop at moves the stop on what is left to that % past your entry once the level fills (0 = breakeven), and the Trail switch turns on your trailing stop from there. Example: +25% sell 50% then stop at 0; +50% sell 25% then stop at 20; let the rest run. The stop only ever tightens. Trail needs a trailing stop on the strategy. How it works: Per take-profit level follow-ups.
  • Minimum profit (Serverside / RSA only) skips a buy when its expected profit per share, the expected post-split sell price minus the buy price, is below the dollar amount you set. Sells are never skipped.

Double-down protection

Turn Double-down protection on and, on brokers that support a cap, a panel opens below the row with two choices:

  • Block every add never adds to a position you already hold.
  • Add up to a limit keeps adding until a cap, then blocks.

When you pick Add up to a limit, you get the cap field, and, where the broker enforces more than one unit, a Measure the limit by control above it:

BrokerMeasures offered
Interactive Brokers, TradierDollar value, Quantity, Number of adds
STG / DASDollar value only, so the measure control is hidden and you go straight to the cap
Every other brokerNo cap at all. See the note below
Note

On brokers that do not support a cap, Double-down protection is a plain on/off toggle that blocks every add. On brokers that do, switching the measure clears the current cap, since a dollar value read as a share count would be wrong. A blank cap blocks every add.

Daily limits

Daily limits pause this strategy’s new entries for the rest of the day when its day goes too far against it, or gives back too much of its profit. Each strategy has its own limits and counts only its own trades. Other strategies keep trading, and this strategy’s exits keep running.

Heads up

If a strategy stops entering and you do not know why, open its Daily limits first. A limit that was reached keeps that strategy’s entries paused until the next day.

Which strategies have it

  • Offered: Stocks, Crypto, Options, Spreads and Futures strategies that send to at least one of Interactive Brokers, Tradier, Charles Schwab, STG / DAS and Robinhood (stocks and crypto).
  • Not offered: Memecoins, Prediction Markets and RSA strategies. The Daily limits card does not show for them.
  • Never paused: exits, trims, stop losses, take profits and trailing stops. Orders you place yourself on the Trade page also go out.

The day starts at midnight in the time zone of Day resets at midnight in. It is Automatic by default: the time zone of the computer that runs the app, which the setting names, for example Automatic (Europe/London, your computer). You can pick another time zone, for example US market (New York) to match the US trading day. If you turn a limit on during the day, the strategy counts from that moment. A position it held at the start of the day, or when you turned the limit on, counts only its move from the first price the app sees after that.

Settings

Open the strategy, then go to Protections → Daily limits. All three rows are off for a new strategy.

The Daily limits card of a strategy's Protections tab, with Daily loss limit at 500 dollars, Profit giveback limit starting at 300 dollars and giving back at most 50 percent, Count open positions on, and the Today line in red: the limit was reached and new entries for this strategy are paused until tomorrowThe Daily limits card of a strategy's Protections tab, with Daily loss limit at 500 dollars, Profit giveback limit starting at 300 dollars and giving back at most 50 percent, Count open positions on, and the Today line in red: the limit was reached and new entries for this strategy are paused until tomorrow The Daily limits card. The Today line under it shows this strategy’s day once a limit is on.

SettingDefaultWhat it does
Daily loss limitOffPauses this strategy’s new entries when its P&L today is this many dollars down.
Profit giveback limitOffStarts at: the limit starts when this strategy’s P&L today reaches this many dollars. Give back at most: how much of its best P&L today it can give back, in % (a percent of the best today) or $ (dollars off the best today).
Count open positionsOffOn: today’s P&L is closed trades plus open positions at their last price. Off: closed trades only.
Day resets at midnight inAutomaticThe time zone this strategy’s day is counted in. Automatic is your computer’s time zone. On the Cloud Dashboard, Automatic also means the computer that runs the app, not the browser. If you pick a time zone the computer does not know, the app uses Automatic.

Examples for Give back at most:

  • 50 with % and a best today of $400 pauses entries at $200.
  • 100 with $ and a best today of $400 pauses entries at $300.

A blank or zero value turns that limit off. If a position was entered by two strategies and you sell it yourself, each strategy counts its own share of the sale.

AN ENTRY ALERT, FOR EACH STRATEGY RESULT Is a Daily limit on for this strategy? Stocks, crypto, options, spreads or futures Does the alert open a position? A buy, a short sale or a sell-to-open Is this strategy paused today? One of its limits was reached earlier today Daily loss limit Its P&L today is down by the limit, or more Profit giveback limit Its P&L is down by Give back at most from its best Places the order Your other protections still run Yes Yes No No No No Goes out Not counted, not paused RSA, memecoins and prediction markets do not have them. No Goes out Exits and trims are never paused Stops, targets and trailing stops keep running too. Yes Skipped Paused until tomorrow The pause stays when its P&L comes back. Loosen that limit to resume. Yes Skipped Loss limit reached Limit $500: a P&L of -$500 pauses this strategy for the day. Yes Skipped Giveback limit reached Starts when its best today reaches Starts at. 50% of a $400 best stops at $200. Only this strategy's own trades count. Other strategies keep trading.
Daily limits stop only entries. Exits always go out.

When a limit is reached

  • This strategy’s new entries are skipped for the rest of the day. The Activity page shows the skipped alert and the reason, for example Daily loss limit reached.
  • The pause stays for the day, also when its open positions come back.
  • A TradingView stock alert on a Short or Both strategy, when the strategy holds no shares of that ticker, can be an entry or a close. The app cannot tell, so the alert goes out.

Resume today

To resume this strategy’s entries on the same day, give the limit that was reached more room: raise it, clear it or turn it off. Turning Count open positions off also resumes it. Other changes keep entries paused. A change to Day resets at midnight in moves only the start of the day. The pause stays until midnight in the new time zone. If a new day has already started there since the limit was reached, the pause ends.

The Today line under Daily limits shows the date and time zone and this strategy’s P&L today. If some of its positions do not have a price yet, it shows how many. It then says Entries allowed. or, after a limit was reached, Limit reached: new entries for this strategy are paused until tomorrow.

Tips

  • The group cards collapse when nothing is armed and open when something is. A vanilla strategy shows three tidy header rows.
  • Each row has a help icon. Hover it for a short explanation of what the guardrail does.
  • Numbers are shown in friendly units even when they are stored differently. Entry delay is shown in seconds, the cancellation timer in minutes, and the slippage cap as a percent.