Exits Text Syntax
Write a whole take-profit, stop-loss or timed-sell list as one line of text, and paste it between tasks.
2 min read
Each exits list's Text button (Advanced view) edits it as one line. Type or paste, then press Apply (⌘ Enter). Copy copies the text for another task.
Syntax
Separate entries with commas, semicolons or new lines. Percentages may carry % and a leading +.
Take profit
50:25@30s:5, 100:50, 300:10050:25: at +50%, sell 25% of what's left.@30s:5: if +50% isn't reached within 30 seconds, sell 5% and move on (:0sells nothing).100:50: at +100%, sell 50%.300:100: at +300%, sell the rest.
Stop loss
-20:50, -40:100At −20%, sell half; at −40%, the rest. The minus sign is optional.
Timed sells
5s:25, 10s:25, 2m:100At 5 seconds, sell 25%; at 10 seconds, 25% of what's left; at 2 minutes, the rest.
Times
A whole number with s, m or h (30s, 2m, 1h); a bare number is seconds. Take-profit timeouts run 1
second to 24 hours, timed sells to 7 days.
Recipes
100:50, 400:100-35:10050:30@1m:0, 150:50@1m:20, 400:10030s:50, 5m:100Errors
The editor names the entry it can't read:
| Message | Meaning |
|---|---|
Entry 2: expected gain%:sell%, found '…' | Not in the list's format. |
Entry 1: invalid gain % 'x' | Not a number. |
Entry 1: invalid duration 'x' (use e.g. 30s, 2m or 1h) | Not a whole number with s, m or h. 1.5m is refused; write 90s. |
21 entries; a list holds at most 20 | Too many entries. |
- Stop loss says
expected -loss%:sell%, timed sellsexpected time:sell%. - An out-of-range number (
50:150) passes the text box, then is marked on its row after Apply. - Levels must be in order: take-profit gains rising, stop-loss drops deepening, timed sells later each time.