Wallbot

Settings reference / Exits & trailing

Exits & trailing settings

Stops, breakeven and protection, take profit, trailing stops, wall-event exits and the maker exit. 77 settings on this tab.

Generated from the code. Defaults, ranges, choices, units and the live confirmation rule on this page are read from the settings schema each time the docs are generated, so they always match the bot.

Summary

SettingInternal nameDefault
Stop distance behind the wallstop_beyond_wall_pct0.5 %
Pulled wall after a fillpulled_wall_exitunless_protected
Hold in profit without a backup wallhold_unprotected_in_profitOn
Maker first for non-emergency exitsmaker_first_exitOff
Maker exit: wait at mostmaker_exit_timeout_s3 s
Maker exit: fall back when price moves away bymaker_exit_max_slip_bps5 bps
Exit when the wall is being eaten right after the fillexit_on_weak_refillOff
Weak refill: window after the fillweak_refill_window_s20 s
Weak refill: traded at the wall at leastweak_refill_min_traded_usdt3000 USDT
Weak refill: refill ratio belowweak_refill_max_ratio0.2
Trail early when the anchor wall is exhaustedwall_exhaustion_protectOff
Wall exhausted belowexhaustion_remaining_pct40 %
Paper shadow: maker first for non-emergency exitsshadow_maker_first_exitOff
Paper shadow: exit when the wall is eatenshadow_exit_on_weak_refillOff
Paper shadow: trail early on an exhausted wallshadow_wall_exhaustion_protectOff
Minimum net ROE to holdmin_net_roe_to_hold_unprotected5 % of margin
Breakeven stop covers slippageinclude_slippage_in_breakevenOn
Anchor wall absorbed after a fillon_absorbed_after_fillprotect
Tighten stop when stack walls gotighten_stop_on_stack_changeOn
Take profittp_modecounter_wall
Take profit ticks in front of the walltp_ticks2 ticks
Recovery take profitrecovery_tp_enabledOff
Recovery take profit: multiplerecovery_tp_multiple2 x
Arm take profit withintp_arm_distance_pct0.3 %
Take profit minimum movetp_min_move_ticks5 ticks
Stop ticks behind wallstop_ticks3 ticks
Stop trigger pricestop_triggerauto
Loss if the wall breaksmax_loss_pct50 % of margin
Stop distance behind wallstop_buffer_pct0.1 % of price
Trailing triggertrail_activate_roe100 % ROE
Trailing modetrailing_modefixed_gap
Trailing keepstrail_keep_pct50 % of best ROE
Exit if still losing afterexit_if_losing_after_s0 s
Trailing tierstrail_tiers(empty)
Trailing distancetrail_gap_roe50 % ROE
Trailing distance tierstrail_gap_tiers(empty)
Price-gap distancetrail_gap_price_pct2.5 % of price
Price-gap ATR multipletrail_gap_atr_mult0 x ATR(1h)
Price-gap distance tierstrail_gap_price_tiers(empty)
Minimum stop movetrail_step_roe5 % ROE
Exit when the wall fadesexit_on_wall_fadedOff
Minimum stop movemin_stop_tighten_ticks5
Paper shadow: exit if still losing aftershadow_exit_if_losing_after_s0 s
Start trailing buttonmanual_trailing_buttonOn
Protection = a wall between price and stopprotection_by_wall_betweenOn
Breakeven when no wall protectsbreakeven_when_unprotectedOn
Take profit follows a closer counter walltp_closer_wallOn
Clean up take-profit orders at a restarttp_restart_cleanupOn
Re-acquire a take profittp_reacquireOn
Keep the trailing marker across restartspersist_trailing_stateOn
Core: take profitcore_tp_modeinherit
Core: take-profit valuecore_tp_value0 USDT, % or R
Core: trailing tierscore_trail_tiers(empty)
Core: trailing modecore_trailing_modeinherit
Core: trailing distancecore_trail_gap_roe50 % ROE
Core: trailing distance tierscore_trail_gap_tiers(empty)
Core: price-gap distancecore_trail_gap_price_pct2.5 % of price
Core: price-gap ATR multiplecore_trail_gap_atr_mult0 x ATR(1h)
Core: price-gap distance tierscore_trail_gap_price_tiers(empty)
Movers: take profitmovers_tp_modeinherit
Movers: take-profit valuemovers_tp_value0 USDT, % or R
Movers: trailing tiersmovers_trail_tiers(empty)
Movers: trailing modemovers_trailing_modeinherit
Movers: trailing distancemovers_trail_gap_roe50 % ROE
Movers: trailing distance tiersmovers_trail_gap_tiers(empty)
Movers: price-gap distancemovers_trail_gap_price_pct2.5 % of price
Movers: price-gap ATR multiplemovers_trail_gap_atr_mult0 x ATR(1h)
Movers: price-gap distance tiersmovers_trail_gap_price_tiers(empty)
My coins: take profitpinned_tp_modeinherit
My coins: take-profit valuepinned_tp_value0 USDT, % or R
My coins: trailing tierspinned_trail_tiers(empty)
My coins: trailing modepinned_trailing_modeinherit
My coins: trailing distancepinned_trail_gap_roe50 % ROE
My coins: trailing distance tierspinned_trail_gap_tiers(empty)
My coins: price-gap distancepinned_trail_gap_price_pct2.5 % of price
My coins: price-gap ATR multiplepinned_trail_gap_atr_mult0 x ATR(1h)
My coins: price-gap distance tierspinned_trail_gap_price_tiers(empty)

All settings

Stop distance behind the wall

stop_beyond_wall_pct

Default
0.5 %
Range
0.01 to 10 %
Type
Number
Unit
%
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Wall % stops only. How far behind the wall's far edge the stop sits.

What it does

For wall_pct stops: how far behind the wall's far edge the stop sits. With a wall stack it is measured from the farthest wall in the stack. The same distance is used when the stop is tightened after stack walls disappear.

Example

Long, farthest wall far edge 59800, setting 0.5: stop = 59800 x (1 - 0.005) = 59501.0. At 1.0 the stop would be 59202.0.

When to change it

Raise it if stops get hit by brief wicks through the wall. Lower it for a tighter stop.

Higher, lower, on or off

Higher: more room behind the wall, a wider stop, and usually lower leverage (liquidation must stay behind the stop). Lower: tighter stop, higher leverage possible, more chance of being stopped by a quick pierce of the wall.

Risk notes

Medium. Too small a value leaves the stop inside the normal noise around walls; held walls are often pierced by a few tenths of a percent.

Pulled wall after a fill

pulled_wall_exit

Default
unless_protected
Choices
unless_protected, always
Type
Choice
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Always: exit at market when the wall under an open trade is pulled. Unless protected: if another confirmed wall on the same side still sits in front of the stop, keep the position and anchor to that wall instead; exit only when none is left. Pending entries are cancelled either way.

What it does

What happens to an open trade when its anchor wall is pulled or fades. Pending entries on that wall are always cancelled.

Example

Long filled at 60000.1 with stop 59003.5. The 60000 wall is pulled, but a confirmed wall at 59300 still sits in front of the stop. With unless_protected, the trade stays open and re-anchors to the 59300 wall. With always, it closes at market.

When to change it

Use always if you want out the moment the wall that justified the trade disappears.

Higher, lower, on or off

unless_protected: keep the trade if another confirmed same-side wall is in front of the stop; otherwise apply hold_unprotected_in_profit, or exit at market. always: exit at market every time the anchor wall is pulled.

Risk notes

Medium. unless_protected keeps trades that lost their main wall; always pays a taker fee and slippage on every pull, including spoofs.

Hold in profit without a backup wall

hold_unprotected_in_profit

Default
On
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Unless-protected mode, wall pulled and no other confirmed wall protects the stop: if the trade is up at least the minimum net ROE below, stay in with the stop moved to breakeven + fees + the assumed stop slippage (slippage only while 'Breakeven stop covers slippage' is on; unless the trailing stop already locks more); otherwise exit at market.

What it does

With pulled_wall_exit = unless_protected: if the wall is pulled and no backup wall protects the stop, a trade that is up at least min_net_roe_to_hold_unprotected stays open, and its stop moves to breakeven plus fees plus the assumed stop slippage (the slippage part only while include_slippage_in_breakeven is on). Below that, it exits at market.

Example

50x long, net ROE +7% when the wall is pulled with no backup. 7% is above 5%, so the stop moves to breakeven (about 60072.1 for a 60000 entry) and the trade continues. At +3% it would close at market.

When to change it

Turn off if you prefer to exit any trade whose wall is gone, even in profit.

Higher, lower, on or off

On: profitable unprotected trades stay open with a breakeven stop (or keep a trailing stop that already locks more). Off: exit at market whenever no backup wall remains.

Risk notes

Low to medium: the breakeven stop limits the downside, but a fast gap past it can still fill worse.

Maker first for non-emergency exits

maker_first_exit Paper shadow: shadow_maker_first_exit

Default
Off
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: For the non-emergency exits only (wall pulled or faded after the fill, wall vanished before the fill was confirmed, exit_on_weak_refill): first place a post-only close at the best price (maker fee); if it is not filled within maker_exit_timeout_s, or the price moves away by more than maker_exit_max_slip_bps, cancel it and close the rest at market. Stops, liquidation protection and every other exit always stay market. Each exit records whether the maker order filled, how long it took and the price difference against an immediate market exit. Off by default; shadow_maker_first_exit runs it in the paper shadow only.

What it does

For the non-emergency exits only: wall pulled or faded after the fill, wall vanished before the fill was confirmed, and exit_on_weak_refill. Instead of a market order, Wallbot first places a post-only close at the best price (the best ask when closing a long, the best bid when closing a short), which pays the maker fee. If it is not filled within maker_exit_timeout_s, or the price for an immediate exit moves more than maker_exit_max_slip_bps against the position, the order is cancelled and the rest is closed at market. If the post-only order would cross the spread it is rejected and the exit goes straight to market. Stops, liquidation protection and every other exit always stay market. Each exit records whether the maker order filled or fell back, how long it took, and the price difference against an immediate market exit (on the trade, in the log, and in the live-learning log). Off by default; shadow_maker_first_exit runs it in the paper shadow only.

Example

A wall is pulled after a long fill at 2672.9. The best bid is 2672.7 and the best ask 2672.8: a post-only sell rests at 2672.8. It fills after 1.4 s: the exit pays 0.02% instead of 0.05% and gets 0.1 better than selling at the bid. Had the bid dropped below 2671.4 (5 bps) first, the order would have been cancelled and the rest sold at market.

When to change it

After the paper comparison shows the maker exits fill often enough and the fallbacks do not cost more than the fee saved. The fee study found 9.7 USDT of exit fees on 132 such exits in 18 days.

Higher, lower, on or off

On: cheaper exits for these reasons when the maker order fills; a delay of up to maker_exit_timeout_s otherwise. Off: market exits as before.

Risk notes

Moderate. While the maker order rests, the price can move against the position; the slip limit bounds it.

Maker exit: wait at most

maker_exit_timeout_s

Default
3 s
Range
0.5 to 60 s
Type
Number
Unit
s
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: maker_first_exit: how long the post-only close may rest before falling back to market.

What it does

maker_first_exit: how long the post-only close may rest before it is cancelled and the rest is closed at market.

Example

At 3 s, a maker close still unfilled after 3 s is cancelled and the position closed at market.

When to change it

Shorten it on fast coins; lengthen it if maker closes often fill just after the fallback.

Higher, lower, on or off

Longer: more maker fills, more exposure while waiting. Shorter: the reverse.

Risk notes

Low to moderate.

Maker exit: fall back when price moves away by

maker_exit_max_slip_bps

Default
5 bps
Range
0.5 to 200 bps
Type
Number
Unit
bps
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: maker_first_exit: fall back to market at once when the price for an immediate exit has moved this far against the position since the maker close was placed.

What it does

maker_first_exit: fall back to market at once when the price for an immediate exit (the best bid for a long, the best ask for a short) has moved this far against the position since the maker close was placed.

Example

At 5 bps, a long whose best bid was 100.00 when the maker close was placed falls back to market as soon as the bid is below 99.95.

When to change it

Lower it to limit the waiting risk; raise it to give the maker order more room.

Higher, lower, on or off

Lower: earlier fallbacks. Higher: more maker fills, larger possible slippage.

Risk notes

Low.

Exit when the wall is being eaten right after the fill

exit_on_weak_refill Paper shadow: shadow_exit_on_weak_refill

Default
Off
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Within weak_refill_window_s after a fill: if at least weak_refill_min_traded_usdt has traded at the wall and its refill ratio is below weak_refill_max_ratio (the wall is being eaten, not refilled), close at market. Off by default; shadow_exit_on_weak_refill runs it in the paper shadow only.

What it does

Right after a fill: if, within weak_refill_window_s, at least weak_refill_min_traded_usdt has traded at the wall and its refill ratio is below weak_refill_max_ratio (the wall is being eaten rather than refilled), the position is closed at market. The close reason reads "wall eaten after fill (weak refill)" and a "WEAK REFILL EXIT" notification is sent. Off by default; shadow_exit_on_weak_refill runs it in the paper shadow only, and with wall_health_watch the live engine records when it would have triggered.

Example

Long filled at a support wall. 8 s later 4,100 USDT has traded at the wall but the wall shrank by almost as much (refill 0.12 < 0.2): the position is closed at market instead of waiting for the stop.

When to change it

Only after the paper-shadow comparison shows it helps: the read-only study found trades with refill below 0.2 at the fill won 29-35% of the time against 47-60% above 0.6.

Higher, lower, on or off

On: trades on walls that are being eaten end early with a small loss (taker exit) instead of running to the stop. Off: unchanged.

Risk notes

Moderate. It adds a taker exit; on walls that would have held after all, it gives up the bounce.

Weak refill: window after the fill

weak_refill_window_s

Default
20 s
Range
1 to 600 s
Type
Number
Unit
s
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: How long after the fill exit_on_weak_refill watches the wall.

What it does

How long after the fill exit_on_weak_refill watches the anchor wall.

Example

At 20, a wall that only starts being eaten 25 s after the fill no longer triggers the exit.

When to change it

Lengthen it to watch longer; shorten it to act only on the first moments after the fill.

Higher, lower, on or off

Longer: more exits. Shorter: fewer.

Risk notes

Low.

Weak refill: traded at the wall at least

weak_refill_min_traded_usdt

Default
3000 USDT
Range
0 to 1e+07 USDT
Type
Number
Unit
USDT
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: The refill ratio only counts once at least this much has traded at the wall's prices since the touch (exit_on_weak_refill and wall_exhaustion_protect).

What it does

The refill ratio only counts once at least this much has traded at the wall's prices since the touch. Used by exit_on_weak_refill and wall_exhaustion_protect.

Example

At 3,000 USDT, a wall where only 800 USDT traded so far has no usable refill ratio yet, so neither rule acts on it.

When to change it

Raise it on very liquid coins so a few small trades cannot trigger the rules.

Higher, lower, on or off

Higher: the rules act later and less often. Lower: earlier and more often.

Risk notes

Low.

Weak refill: refill ratio below

weak_refill_max_ratio

Default
0.2
Range
0 to 1
Type
Number
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Refill ratio = (traded at the wall - how much the wall shrank) / traded. Below this the wall counts as being eaten (exit_on_weak_refill and wall_exhaustion_protect).

What it does

Refill ratio = (volume traded at the wall - how much the wall shrank) / volume traded. Near 1 the wall keeps being refilled; near 0 it is being eaten. Below this value the wall counts as being eaten (exit_on_weak_refill and wall_exhaustion_protect).

Example

5,000 USDT traded at the wall and it shrank by 4,500 USDT: refill (5,000 - 4,500) / 5,000 = 0.1, below 0.2.

When to change it

Raise it to treat more walls as weak; lower it to act only on walls that are clearly being eaten.

Higher, lower, on or off

Higher: more triggers. Lower: fewer.

Risk notes

Low.

Trail early when the anchor wall is exhausted

wall_exhaustion_protect Paper shadow: shadow_wall_exhaustion_protect

Default
Off
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: While a position is open: if its anchor wall falls below exhaustion_remaining_pct of its size at the touch, or its refill ratio drops below weak_refill_max_ratio after weak_refill_min_traded_usdt traded at it, and net ROE is at least min_net_roe_to_hold_unprotected, trailing starts at once in the configured trailing mode (as if the trigger were reached; never below breakeven + fees + slippage; only tightens). Below that ROE nothing extra happens. Off by default; shadow_wall_exhaustion_protect runs it in the paper shadow only.

What it does

While a position is open, Wallbot follows its anchor wall from the touch. The wall counts as exhausted when its remaining size falls below exhaustion_remaining_pct of its size at the touch, or when its refill ratio drops below weak_refill_max_ratio after weak_refill_min_traded_usdt traded at it. On exhaustion, if net ROE is at least min_net_roe_to_hold_unprotected, trailing starts at once in the configured trailing mode, as if the trailing trigger had been reached: the stop is never placed below breakeven + fees + slippage and only ever tightens. The log and a notification say "wall exhausted: trailing started early, locks +X%", and the trade card shows "started early: wall exhausted". Below that ROE nothing extra happens. Off by default; shadow_wall_exhaustion_protect runs it in the paper shadow only.

Example

Short at 2697 at 85x. The wall shrinks from 18 M to 6 M USDT (33% of its touch size, below 40%) while net ROE is +12%: trailing starts now instead of at +100% ROE; with a 50-point gap the stop locks at least breakeven + fees.

When to change it

Use it to protect a profit when the wall behind the trade is being used up before the trailing trigger.

Higher, lower, on or off

On: earlier, tighter stops on trades whose wall is running out. Off: unchanged.

Risk notes

Low to moderate. It can stop a trade out earlier that would have run further.

Wall exhausted below

exhaustion_remaining_pct

Default
40 %
Range
1 to 100 %
Type
Number
Unit
%
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: wall_exhaustion_protect: the anchor wall counts as exhausted below this share of its size at the touch.

What it does

wall_exhaustion_protect: the anchor wall counts as exhausted below this share of its size at the touch.

Example

Touch size 2.0 M USDT; at 40% the wall counts as exhausted below 0.8 M.

When to change it

Raise it to react earlier; lower it to react only when little is left.

Higher, lower, on or off

Higher: earlier trailing. Lower: later.

Risk notes

Low.

Paper shadow: maker first for non-emergency exits

shadow_maker_first_exit

Default
Off
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Run maker_first_exit in the paper shadow only (testnet/live instances), to compare it with the live trades on the same signals. The live engine follows maker_first_exit.

What it does

Runs maker_first_exit in the paper shadow only (testnet and live instances), to compare it with the live trades on the same signals. The live engine keeps following maker_first_exit.

Example

Live off, shadow on: a live exit after a pulled wall pays the taker fee at the bid; the shadow copy rests a post-only close at the ask and records "maker filled after 0.8 s, +1.2 bps vs an immediate market exit".

When to change it

Turn it on to measure maker exits before using them live.

Higher, lower, on or off

Only the paper shadow changes.

Risk notes

None for live trading.

Paper shadow: exit when the wall is eaten

shadow_exit_on_weak_refill

Default
Off
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Run exit_on_weak_refill in the paper shadow only (testnet/live instances), to compare it with the live trades on the same signals. The live engine follows exit_on_weak_refill.

What it does

Runs exit_on_weak_refill in the paper shadow only (testnet and live instances). The live engine keeps following exit_on_weak_refill, so the shadow's trades show what the rule would have done on exactly the same signals.

Example

Live off, shadow on: a live long runs to its stop for -0.70 USDT; the shadow copy of the same entry was closed by the rule 9 s after the fill for -0.15 USDT.

When to change it

Turn it on to compare the rule with live trading before switching it on for real.

Higher, lower, on or off

Only the paper shadow changes.

Risk notes

None for live trading.

Paper shadow: trail early on an exhausted wall

shadow_wall_exhaustion_protect

Default
Off
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Run wall_exhaustion_protect in the paper shadow only (testnet/live instances), to compare it with the live trades on the same signals. The live engine follows wall_exhaustion_protect.

What it does

Runs wall_exhaustion_protect in the paper shadow only (testnet and live instances), to compare it with the live trades on the same signals. The live engine keeps following wall_exhaustion_protect.

Example

Live off, shadow on: the shadow copy of a trade starts trailing at +12% ROE when the wall drops to 30% of its touch size and locks +6%; the live trade later returns to breakeven.

When to change it

Turn it on to compare the rule with live trading before switching it on for real.

Higher, lower, on or off

Only the paper shadow changes.

Risk notes

None for live trading.

Minimum net ROE to hold

min_net_roe_to_hold_unprotected

Default
5 % of margin
Range
0 to 1000 % of margin
Type
Number
Unit
% of margin
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Net of round-trip fees (maker entry + taker exit) at the trade's leverage.

What it does

The profit (net of round-trip fees, as a share of margin) a trade needs before the bot moves its stop to breakeven instead of exiting or leaving it. Used by the hold-in-profit rule, the absorbed-wall rule and the "no wall between price and stop" breakeven check.

Example

At 50x with 0.02% maker and 0.05% taker, round-trip fees are 0.07% x 50 = 3.5% of margin. Net 5% needs 8.5% gross, a price move of 0.17% (about 102 USDT on BTC at 60000).

When to change it

Raise it to only lock breakeven on clearly profitable trades. Lower it to protect smaller gains sooner.

Higher, lower, on or off

Higher: fewer trades qualify; more exits at market after a pull, and unprotected trades keep their original stop longer. Lower: breakeven stops kick in at smaller profits, which can cut trades that would have run further.

Risk notes

Low to medium: it only chooses between breakeven, keeping the stop, or exiting.

Breakeven stop covers slippage

include_slippage_in_breakeven

Default
On
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Hold-in-profit rule: the breakeven stop also covers the assumed stop slippage (paper_slippage_bps, the same assumption live), so a breakeven stop-out nets about zero.

What it does

When the bot moves a stop to breakeven, this adds the assumed stop slippage (paper_slippage_bps) on top of the fees, so a breakeven stop-out nets about zero.

Example

Long filled at 60000, maker 0.02%, taker 0.05%, slippage 5 bps. On: breakeven stop 60072.1. Off: 60042.1 (fees only), so a slipped stop fill would lose about 30 USDT of price per coin.

When to change it

Keep it on unless you want the breakeven stop as close to entry as possible.

Higher, lower, on or off

On: breakeven stop slightly further into profit, a real breakeven after slippage. Off: stop closer to entry, more room, but a stop-out usually loses a little.

Risk notes

Low: it shifts the breakeven stop by a few basis points.

Anchor wall absorbed after a fill

on_absorbed_after_fill

Default
protect
Choices
protect, none
Type
Choice
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Protect: never exit because of it; re-anchor to another confirmed wall still in front of the stop (and tighten behind it if stack tightening is on); with no backup wall, move the stop to breakeven + fees + slippage when net ROE is at least the hold minimum, else keep it. None: as before (no action).

What it does

What happens when the anchor wall of an open trade is eaten by trades (absorbed). protect re-anchors to another confirmed wall still in front of the stop; with no backup, it moves the stop to breakeven plus fees and slippage if the trade is up at least min_net_roe_to_hold_unprotected, else keeps the stop. It never exits because of this.

Example

Long, wall at 60000 absorbed, backup wall far edge 59300 in front of the stop. protect: re-anchor to 59300; with tighten_stop_on_stack_change on, the stop may move to 59003.5 if that tightens it by at least min_stop_tighten_ticks.

When to change it

Use none to reproduce the older behaviour in comparisons.

Higher, lower, on or off

protect: re-anchor, optional tightening, or breakeven when in profit with no backup. none: no action; the dashboard marks the wall as absorbed and the stop does the protecting.

Risk notes

Low: no exits; it only moves stops toward safety.

Tighten stop when stack walls go

tighten_stop_on_stack_change

Default
On
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Open trade: when walls of its stack disappear and the farthest remaining confirmed wall is closer to price, move the stop to that wall's far edge + stop_beyond_wall_pct, only if that tightens it by at least 5 ticks (never loosens, never touches a trailing or breakeven lock).

What it does

Open trade: when walls in its stack disappear and the farthest remaining confirmed wall is closer to price, move the stop to that wall's far edge plus stop_beyond_wall_pct. Only if that tightens the stop by at least min_stop_tighten_ticks. It never loosens and never touches a trailing or breakeven lock.

Example

Long, stack 60000 and 59300, stop 59003.5. The 59300 wall is pulled; the 60000 wall (far edge 59800) remains. New stop 59800 x 0.995 = 59501.0, tighter by 4975 ticks, so it moves.

When to change it

Turn off if you prefer the original stop to stay put for the life of the trade.

Higher, lower, on or off

On: smaller loss if the remaining wall breaks, but more chance of being stopped out. Off: the stop stays where it was placed.

Risk notes

Low: only tightens. The new stop must be on the correct side of the current price.

Take profit

tp_mode

Default
counter_wall
Choices
counter_wall, off
Type
Choice
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Counter wall: take profit just in front of the nearest confirmed wall on the other side (resistance above a long, support below a short). Off: stop and trailing stop only.

What it does

Take profit for wall hug trades. counter_wall sets the target just in front of the nearest confirmed wall on the other side (resistance above a long, support below a short). off uses only the stop and trailing stop.

Example

Long filled at 60000.1, nearest confirmed ask wall near edge 60500, tp_ticks 2: take profit at 60499.8.

When to change it

Use off if you want trades to run on the trailing stop only.

Higher, lower, on or off

counter_wall: take profit tracked locally, armed near price, follows or retargets the counter wall; min_reward_risk applies at entry. off: no take profit and no reward/risk check.

Risk notes

Low: the stop always stays in place. With off, gains rely on the trailing stop.

Take profit ticks in front of the wall

tp_ticks

Default
2 ticks
Range
0 to 1000 ticks
Type
Whole number
Unit
ticks
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Counter-wall take profit: this many ticks in front of the counter wall's near edge.

What it does

How many ticks in front of the counter wall's near edge the take profit sits.

Example

BTC tick 0.1, ask wall near edge 60500: 2 ticks gives a long TP at 60499.8. 0 puts it right at 60500.

When to change it

Raise it if price often turns just before the counter wall and the TP is missed.

Higher, lower, on or off

Higher: TP further from the wall, filled more often but at a smaller gain. Lower: closer to the wall, a bit more gain, more misses.

Risk notes

Low.

Recovery take profit

recovery_tp_enabled I ACCEPT in live

Default
Off
Range
On or off
Type
On/off
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: While today's net PnL (both wallets, after fees, UTC day) is 0 or below, new trades get a take profit at Recovery multiple x their planned loss at the stop (fees and planned slippage included) instead of their normal one; it switches off once today's PnL reaches one trade's typical planned loss and on again at 0 or below. Open trades keep their take profit; trailing keeps running.

What it does

Recovery take profit. While on, recovery is ACTIVE by itself whenever today's net PnL (closed trades, both wallets, after fees, UTC day) is 0 or below: new trades get a take profit at recovery_tp_multiple x their planned loss at the stop (fees and planned slippage included) instead of their normal take profit. It switches off once today's net PnL reaches one trade's typical planned loss (the median planned loss of the group's last 20 trades, or what its sizing plans when there are fewer than 5), and on again whenever today's PnL falls back to 0 or below. A new UTC day starts at 0, so it is active from 00:00 until that level is reached. Decided at the fill; open trades keep the take profit they were given; trailing keeps running and whichever comes first closes the trade. Managed manual positions are not affected.

Example

Multiple 1, a trade planned to lose 0.50 USDT at its stop: while recovery is active its take profit is set where it nets +0.50 USDT after both fees. Today at +0.60 USDT with a typical planned loss of 0.50: inactive, new trades use their normal take profit; after a loss to -0.10: active again.

When to change it

To close the day at or above zero sooner after losses.

Higher, lower, on or off

Active: closer, fixed take profits while the day is red.

Risk notes

Medium: a closer take profit caps the winners while recovery is active. Notified when it activates or deactivates.

Recovery take profit: multiple

recovery_tp_multiple I ACCEPT in live

Default
2 x
Range
0.1 to 20 x
Type
Number
Unit
x
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: Recovery take profit = this x the trade's planned loss at the stop (net after fees).

What it does

Recovery take profit: the take profit = this x the trade's planned loss at the stop, net after the entry and take-profit fees.

Example

1.0: a trade that risks 0.50 USDT takes profit at +0.50 net; 2.0: at +1.00 net.

When to change it

Lower for quicker exits, higher for bigger recoveries.

Higher, lower, on or off

Lower: closer take profits that fill more often.

Risk notes

Low to medium: a low multiple keeps wins small.

Arm take profit within

tp_arm_distance_pct

Default
0.3 %
Range
0.01 to 10 %
Type
Number
Unit
%
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: The take-profit order is placed on the exchange only when price comes this close; until then it is tracked locally (if price jumps past it first, the bot closes at market).

What it does

The take-profit order is placed on the exchange only once price comes this close to it. Until then the bot tracks it locally. If price jumps past the target before the order is armed, the bot closes at market.

Example

TP 60450 and 0.3%: the order is placed once price is within 0.3% of 60450, i.e. at about 60269.2 or higher on a long.

When to change it

Raise it to arm earlier (fewer market closes on fast moves). Lower it to keep fewer resting orders on the book.

Higher, lower, on or off

Higher: the TP order rests longer and is more likely to fill as a limit. Lower: armed later, more chance of a market close (taker fee, slippage) on a jump.

Risk notes

Low: the stop is unaffected.

Take profit minimum move

tp_min_move_ticks

Default
5 ticks
Range
1 to 10000 ticks
Type
Whole number
Unit
ticks
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Only move the take profit when its target changes by at least this many ticks (avoids churn).

What it does

The take profit is only moved when its new target differs by at least this many ticks. Applies when following a moving counter wall and when moving to a closer counter wall.

Example

BTC tick 0.1, setting 5: a counter wall shifting the target from 60499.8 to 60500.1 (3 ticks) is ignored; a shift to 60500.5 (7 ticks) moves the TP.

When to change it

Raise it if the logs show frequent small TP moves.

Higher, lower, on or off

Higher: fewer order changes, the TP can lag the wall a little. Lower: the TP tracks the wall closely, more order traffic.

Risk notes

Low.

Stop ticks behind wall

stop_ticks

Default
3 ticks
Range
0 to 500 ticks
Type
Whole number
Unit
ticks
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Wall hug only. The stop sits this many ticks behind the wall's farthest level.

What it does

Wall hug only, and only when stop_mode is wall_ticks. The stop sits this many ticks behind the far edge of the wall (or of the farthest wall in the stack). In the other stop modes it is only used to log where a tick stop would have been.

Example

A support wall's far edge is 0.4990 and the tick is 0.0001. With 3 ticks, the long's stop is at 0.4987.

When to change it

Only matters if you use stop_mode wall_ticks. Raise it if stops get clipped by small wicks through the wall.

Higher, lower, on or off

Higher: the stop survives deeper wicks, but a stop-out costs more, and leverage steps down until the loss fits max_loss_pct. Lower: smaller loss per stop-out, but a brief poke through the wall can stop you out.

Risk notes

Moderate in wall_ticks mode: very few ticks can sit inside normal noise. No effect with the default stop_mode.

Stop trigger price

stop_trigger

Default
auto
Choices
auto, last, mark
Type
Choice
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Which price fires the stop. Auto: fair (mark) price when executing on MEXC, last price on Binance. Last price suits few-tick stops, which are smaller than the usual gap between mark and last. Mark/fair price ignores brief wicks but can react late.

What it does

Which price fires the exchange stop order. auto uses the last traded price on Binance and the fair (mark) price on MEXC. The choice is sent with each stop order and also used by paper mode and backtests.

Example

Your long's stop is at 99.90. A quick wick trades at 99.88 while the mark price stays at 99.95. With last the stop fires; with mark it does not.

When to change it

Switch to mark if brief wicks keep stopping you out. Keep last (or auto on Binance) for stops only a few ticks behind the wall.

Higher, lower, on or off

auto: last price on Binance, mark price on MEXC. last: fires on the traded price, reacts at once to wicks. mark: fires on the mark (fair) price, ignores brief wicks but can react late and fill worse.

Risk notes

Moderate. A change applies to stops placed from then on, not to stops already resting. With mark, a fast move can carry price well past the stop before it fires.

Loss if the wall breaks

max_loss_pct I ACCEPT in live

Default
50 % of margin
Range
5 to 90 % of margin
Type
Number
Unit
% of margin
Live confirmation
Yes: raising it in live mode asks you to type I ACCEPT.

In the dashboard: Target loss on margin when the stop fires, fees included. Entry distance from the wall is calculated from this.

What it does

Target loss on margin when the stop fires, fees included. In the loss budget model it sets how far the entry sits from the stop. In wall hug it only applies with stop_mode wall_ticks, where leverage steps down until the loss at the stop (with fees and slippage) fits.

Example

Loss budget at 50x: 50% of margin is a 1% price move. With fees of 0.02% maker and 0.05% taker, the entry sits about 0.93% above the stop: stop 99.90, entry 100.83.

When to change it

Lower it to lose less per stop-out (entries move closer to the wall and fill less). Raise it to get more fills further from the wall.

Higher, lower, on or off

Higher: entries further from the wall (loss budget) or higher leverage allowed (wall_ticks), bigger losses per stop-out. Lower: smaller losses, but fewer valid plans.

Risk notes

High. It must stay below 100% (liquidation). No effect in the default wall hug wall_pct and near_liquidation stop modes.

Stop distance behind wall

stop_buffer_pct used only with entry_model loss_budget

Default
0.1 % of price
Range
0 to 2 % of price
Type
Number
Unit
% of price
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: How far past the wall the stop sits, so a touch doesn't trigger it.

What it does

Loss budget model only. How far past the wall's far edge the stop sits, as a share of price, so a touch of the wall does not trigger it. Wall hug uses its own stop settings instead.

Example

A support wall's low edge is 100.00. With 0.10%, the long's stop is at 99.90 (rounded down to the tick).

When to change it

Only with entry_model loss_budget. Raise it if wicks through the wall keep stopping you out.

Higher, lower, on or off

Higher: the stop survives deeper wicks, but the entry moves further from the wall too, so fewer entries fill. Lower: entries closer to the wall, but small pokes through it can stop you out.

Risk notes

Moderate. At 0 the stop sits right at the wall's edge, where a brief test is common.

Trailing trigger

trail_activate_roe

Default
100 % ROE
Range
5 to 1000 % ROE
Type
Number
Unit
% ROE
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Profit on margin at which the trailing stop switches on.

What it does

The profit on margin (ROE, before fees) at which the trailing stop switches on. Below it the stop is not trailed. ROE is the price move times the leverage.

Example

At 100 with 50x, trailing starts once price has moved 2% in your favour (2% x 50 = +100% ROE).

When to change it

Lower it to start protecting profit sooner. Raise it to give trades more room before trailing.

Higher, lower, on or off

Higher: trailing starts later, more trades reach take profit or reverse first. Lower: trailing starts sooner and locks profit earlier, but small pullbacks stop you out more often.

Risk notes

Low to moderate. In fixed_gap mode trail_gap_roe must stay below this value, or the settings are refused.

Trailing mode

trailing_mode I ACCEPT in live

Default
fixed_gap
Choices
fixed_gap, keep_pct, price_gap
Type
Choice
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: fixed_gap: the stop stays a fixed number of ROE points behind the best ROE reached (Trailing distance, or the distance tiers). keep_pct: the stop locks a share of the best ROE (Trailing keeps, or the trailing tiers), so the room grows with the profit. price_gap: the stop stays a % of the price (or a multiple of the 1-hour ATR) behind the best price, and switches on only once that stop is at or beyond breakeven + fees + slippage. All modes only ever tighten, respect the minimum stop move, never lock below breakeven after fees and slippage, and never override a better lock.

What it does

How the trailing stop follows the best ROE reached. keep_pct and fixed_gap start at trail_activate_roe (or their first tier); price_gap starts once its stop is at or beyond breakeven + fees + slippage. Every mode only ever tightens, moves only when the lock improves by trail_step_roe, never locks below breakeven after fees and slippage, and never loosens a better stop already in place. Each group can pick its own mode (core_trailing_mode, movers_trailing_mode, pinned_trailing_mode, manual_trailing_mode). The dashboard shows only the selected mode's fields.

Example

Best ROE +200%, trigger +100%, 50x. fixed_gap with gap 50: stop locks +150%. keep_pct with keep 50: stop locks +100%. price_gap 2.5% from a long entry of 100.00 (peak 104.00): stop 101.40, +70%. At best +400% (peak 108.00): +350%, +200% and +265% (stop 105.30).

When to change it

Use keep_pct if you want more room as profit grows, fixed_gap for a constant ROE distance (with trail_gap_tiers for steps), price_gap for a distance in price that is the same at any leverage.

Higher, lower, on or off

fixed_gap: the stop stays trail_gap_roe ROE points (or the trail_gap_tiers step) behind the best ROE. keep_pct: the stop locks trail_keep_pct percent (or the trail_tiers step) of the best ROE, so the room grows with the profit. price_gap: the stop stays trail_gap_price_pct % of the price (or trail_gap_atr_mult x ATR(1h), or the trail_gap_price_tiers step) behind the best price.

Risk notes

Moderate. Switching mode affects how much profit open trailing trades give back.

Trailing keeps

trail_keep_pct I ACCEPT in live used only with trailing_mode keep_pct

Default
50 % of best ROE
Range
10 to 95 % of best ROE
Type
Number
Unit
% of best ROE
Live confirmation
Yes: lowering it in live mode asks you to type I ACCEPT.

In the dashboard: keep_pct mode: the share of the best ROE the stop locks. Example: at 50, a trade that reaches +200% has its stop at +100%, at +400% at +200%.

What it does

In keep_pct trailing mode, the share of the best ROE the stop locks. Not used in fixed_gap mode.

Example

At 50: a trade that reaches +200% ROE has its stop at +100%; at +300% the stop is at +150%. At 50x from an entry of 100, a +150% lock is a long stop at 103.00.

When to change it

Raise it to keep more of the profit. Lower it to give the trade more room to pull back.

Higher, lower, on or off

Higher: tighter stop, more profit kept, but normal pullbacks end the trade sooner. Lower: more room, more profit given back on a reversal.

Risk notes

Low to moderate. The lock never goes below breakeven after fees and slippage once trailing is active.

Exit if still losing after

exit_if_losing_after_s Paper shadow: shadow_exit_if_losing_after_s

Default
0 s
Range
0 to 3600 s
Type
Number
Unit
s
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: A filled position whose net ROE (after fees) is still negative this many seconds after the fill is closed at market (checked once, at the first price update after that time). 0 = off. Suggested value to test: 30.

What it does

Closes a filled position at market when its net ROE (after maker entry and taker exit fees) is still negative a set number of seconds after the fill. The check happens once, at the first price update after that time; a position in profit at that moment is left alone for good. Positions adopted from manual trades are not touched.

Example

30: a long filled at 100.00 at 50x is at 99.98 after 30 s (gross -1% ROE, net about -4.5%): it is closed at market. A trade at 100.10 after 30 s (net about +1.5%) keeps its stop, take profit and trailing as usual.

When to change it

Test it in the paper shadow first (shadow_exit_if_losing_after_s). In the October study, stop-outs mostly never showed a profit after fees, while winners usually did within a minute.

Higher, lower, on or off

0: off (unchanged). Set: losing trades are cut early, which saves part of the stop loss but also closes some trades that would have recovered.

Risk notes

Medium. It adds taker exits; trades that dip and then recover are lost. Live stays off until the would-exit records show a gain.

Trailing tiers

trail_tiers I ACCEPT in live used only with trailing_mode keep_pct

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: keep_pct mode: steps of trigger_roe:keep_pct, e.g. "15:25, 100:50" = from +15% ROE keep 25% of the best ROE, from +100% keep 50%. The tier follows the best ROE reached; the stop only tightens and never sits below breakeven + fees + slippage. Triggers and keep % must increase (keep 10-95). Empty = one step from trail_activate_roe keeping trail_keep_pct (the old behaviour). Not used in fixed_gap mode.

What it does

Tiered trailing for keep_pct mode: a list of trigger_roe:keep_pct steps. The step is chosen by the best ROE the trade has reached, and the stop locks that step's share of the best ROE. The stop only ever tightens (moving to a higher step never loosens it), never sits below breakeven + fees + slippage, and still moves only in trail_step_roe steps. A manual start or a wall-exhaustion early start below the first trigger uses the first step's share.

Example

"15:25, 100:50": a trade that peaks at +60% ROE locks +15% (tier 1: keep 25% from +15%); once it reaches +120% it locks +60% (tier 2: keep 50% from +100%). The trade card, notifications and the close report show the active tier, e.g. "trailing tier 2: keep 50% from +100%".

When to change it

Use it to keep the early, loose trailing for small winners while protecting more of a big winner.

Higher, lower, on or off

Empty: one step from trail_activate_roe keeping trail_keep_pct (unchanged). Set: trail_activate_roe and trail_keep_pct are replaced by the tiers in keep_pct mode. In fixed_gap mode the tiers are not used.

Risk notes

Low. Higher tiers only tighten stops on trades that are already well in profit, so a winner may be closed earlier on a pullback.

Trailing distance

trail_gap_roe used only with trailing_mode fixed_gap

Default
50 % ROE
Range
1 to 500 % ROE
Type
Number
Unit
% ROE
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: How far the stop stays behind the best profit reached. Example: at 50, a trade that reaches +200% has its stop at +150%.

What it does

In fixed_gap trailing mode, how many ROE points the stop stays behind the best ROE reached. Not used in keep_pct mode.

Example

At 50: a trade that reaches +200% ROE has its stop at +150%. At 50x from a long entry of 100, +150% ROE is a stop at 103.00 (3% x 50).

When to change it

Raise it on choppy coins that pull back a lot. Lower it to lock profit more tightly.

Higher, lower, on or off

Higher: more room, fewer early exits, more profit given back. Lower: tighter stop, more profit kept, but small pullbacks end the trade.

Risk notes

Low to moderate. It must stay below trail_activate_roe in fixed_gap mode, or the settings are refused.

Trailing distance tiers

trail_gap_tiers I ACCEPT in live used only with trailing_mode fixed_gap

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: fixed_gap mode: steps of trigger_roe:gap_roe, e.g. "100:50, 300:100, 1000:200" = from +100% ROE the stop stays 50 ROE points behind the best ROE, from +300% 100 points, from +1000% 200 points. The tier follows the best ROE reached; the stop only tightens (a wider gap at a higher tier never lowers it) and never sits below breakeven + fees + slippage. Triggers must increase, gaps above 0, at most 10 steps. Empty = one step from trail_activate_roe with trail_gap_roe (the old behaviour). Not used in the other modes.

What it does

Distance tiers for fixed_gap trailing: trigger_roe:gap_roe steps. The tier is chosen by the best ROE reached and the stop sits that many ROE points behind the best ROE. The stop only tightens: a wider gap at a higher tier never lowers it. It never sits below breakeven + fees + slippage and moves in trail_step_roe steps. Started by hand or by wall exhaustion below the first trigger: tier 1.

Example

"100:50, 300:100, 1000:200": best +250% -> stop +200% (tier 1); best +400% -> +300% (tier 2); best +1200% -> +1000% (tier 3). The trade card shows e.g. "fixed gap tier 2: 100 ROE points behind the best from +300%".

When to change it

To keep a tight distance on small winners and give big winners more room.

Higher, lower, on or off

Empty: one distance (trail_gap_roe) from trail_activate_roe (unchanged). Set: the tiers replace both in fixed_gap mode. Triggers must increase, gaps above 0, at most 10 steps.

Risk notes

Medium: wider gaps give back more profit on a reversal. In live mode any change needs I ACCEPT.

Price-gap distance

trail_gap_price_pct I ACCEPT in live used only with trailing_mode price_gap

Default
2.5 % of price
Range
0.1 to 50 % of price
Type
Number
Unit
% of price
Live confirmation
Yes: raising it in live mode asks you to type I ACCEPT.

In the dashboard: price_gap mode: the stop stays this % of the price behind the best price reached. It switches on only once that stop would sit at or beyond breakeven + fees + slippage, then only tightens. Example: a long that peaked at 106.00 at 2.5% has its stop at 103.35.

What it does

In price_gap trailing mode, the distance of the stop behind the best price reached, in % of that price. The mode switches on only once this stop would sit at or beyond breakeven + fees + slippage; from then on it only tightens.

Example

At 2.5: a long filled at 100.00 that peaked at 106.00 has its stop at 103.35; at 50x that locks +167.5% ROE. A peak of 102.00 gives 99.45, below breakeven, so trailing is not on yet.

When to change it

To trail by price movement instead of ROE, the same distance at any leverage.

Higher, lower, on or off

Higher: more room and a later start. Lower: tighter and an earlier start.

Risk notes

Medium: at high leverage the start is late (2.5% is 125% ROE at 50x, 187.5% at 75x); before it the trade relies on its stop and the wall rules.

Price-gap ATR multiple

trail_gap_atr_mult I ACCEPT in live used only with trailing_mode price_gap

Default
0 x ATR(1h)
Range
0 to 20 x ATR(1h)
Type
Number
Unit
x ATR(1h)
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: price_gap mode: 0 = off (the % distance or the distance tiers apply). Set: the distance is this many times the ATR(14) of 1-hour candles (refreshed every 15 minutes), e.g. 2 = 2 x ATR(1h); it replaces the % distance and the distance tiers. Until the ATR is known the % distance applies.

What it does

In price_gap trailing mode, 0 = off. Set: the distance is this many times the ATR(14) of 1-hour candles (fetched from the exchange, refreshed every 15 minutes), replacing trail_gap_price_pct and trail_gap_price_tiers. While the ATR is unknown the % distance applies.

Example

2 with an ATR(1h) of 0.80 USDT: a long that peaked at 106.00 has its stop at 104.40.

When to change it

To match the distance to each coin's normal hourly swing.

Higher, lower, on or off

Higher: wider, later start. 0: the % distance or its tiers.

Risk notes

Medium: the distance follows volatility; the stop still never loosens. In the November replay 2 x ATR(1h) was the weakest variant.

Price-gap distance tiers

trail_gap_price_tiers I ACCEPT in live used only with trailing_mode price_gap

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: price_gap mode: steps of trigger_roe:distance_pct, e.g. "0:2.5, 1000:4" = 2.5% behind the best price, 4% once the best ROE reached +1000%. Replaces trail_gap_price_pct; the stop still only tightens. Triggers must increase (the first may be 0), distances above 0 (at most 50%), at most 10 steps. Empty = trail_gap_price_pct. Not used when trail_gap_atr_mult is set.

What it does

Distance tiers for price_gap trailing: trigger_roe:distance_pct steps (the first trigger may be 0). The tier follows the best ROE reached; the stop stays that % of the price behind the best price and only tightens.

Example

"0:2.5, 1000:4": 2.5% behind the best price, 4% once the best ROE reached +1000%.

When to change it

To give a trade that has run very far more room in price.

Higher, lower, on or off

Empty: trail_gap_price_pct. Set: the tiers replace it (not used when trail_gap_atr_mult is set). Triggers must increase, distances above 0 and at most 50%, at most 10 steps.

Risk notes

Medium. In live mode any change needs I ACCEPT.

Minimum stop move

trail_step_roe

Default
5 % ROE
Range
0.5 to 100 % ROE
Type
Number
Unit
% ROE
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Only move the stop when the lock improves by at least this much (limits order-rate usage).

What it does

The trailing stop only moves when the new lock is at least this many ROE points better than the current stop. This limits how many order changes the bot sends.

Example

At 5: the stop locks +150% ROE and the best ROE rises so the lock would be +153%. Nothing happens. When the lock would reach +155% or more, the stop is moved.

When to change it

Raise it if you hit exchange order-rate limits. Lower it for smoother trailing.

Higher, lower, on or off

Higher: fewer stop moves, the stop lags a bit more behind the best price. Lower: the stop follows more closely but sends more order changes.

Risk notes

Low. It only changes how often an already-profitable stop is tightened.

Exit when the wall fades

exit_on_wall_faded

Default
Off
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Off: an open trade stays when its wall merely fades (shrinks until it no longer stands out); the stop, the trailing stop and the pulled-wall exit still protect it. On: exit at market on a fade too. Pending entries are cancelled on a fade either way.

What it does

A wall fades when it is still there but no longer stands out from the book for a short grace time. This decides whether an open trade is closed when its wall fades. Pending entries are cancelled on a fade either way.

Example

You are long in front of a bid wall. The book around it fills up, so the wall no longer passes the wall_k test (8 times the typical level size). Off: the trade stays with its stop. On: the bot tries to re-anchor to another wall, otherwise exits at market.

When to change it

Turn on if you only want to hold a trade while its wall clearly stands out.

Higher, lower, on or off

On: a fade is handled like a pulled wall (re-anchor, hold-in-profit rule, or market exit), also when the wall had faded by the time of the fill. Off: the trade stays; the stop, trailing stop and pulled-wall exit still protect it.

Risk notes

On means more market exits, which pay taker fees and slippage. Off relies on the stop when the wall weakens.

Minimum stop move

min_stop_tighten_ticks

Default
5
Range
1 to 1000
Type
Whole number
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: A wall stop (tightened when a wall of the stack goes) is only moved when the new stop is at least this many ticks tighter. The trailing stop does not use it: it moves by the trailing step (trail_step_roe).

What it does

When walls in the stop's wall stack disappear or a wall is re-anchored, the bot may pull the stop closer to the remaining walls (tighten_stop_on_stack_change). It only moves the stop if the new stop is at least this many ticks tighter. The trailing stop uses its own step (trail_step_roe), not this one.

Example

Minimum 5 ticks on a coin with a 0.01 tick: the stop is at 1.2300 and the new wall-based stop would be 1.2303 (3 ticks tighter), so nothing is sent. If it would be 1.2306 (6 ticks), the stop is moved.

When to change it

Raise it to cut down on tiny stop moves and the order traffic they cause. Lower it to follow the wall stack more closely.

Higher, lower, on or off

Higher: fewer stop moves, the stop stays a bit farther away when the stack shrinks. Lower: more frequent small moves, the stop hugs the remaining walls more closely.

Risk notes

Low to medium. Each move is a cancel and replace of the exchange stop; very small values mean more requests.

Paper shadow: exit if still losing after

shadow_exit_if_losing_after_s

Default
0 s
Range
0 to 3600 s
Type
Number
Unit
s
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Testnet/live: the paper shadow runs exit_if_losing_after_s with this value, and while the live rule is off the live engine logs a would-exit record (price, net ROE) for each trade it would have closed, plus the trade's actual outcome at its close (live_log 'losing_exit_watch'). Never closes a live position. 0 = off.

What it does

Runs exit_if_losing_after_s in the paper shadow with this value, and (while the live rule is off) writes a would-exit record for every live trade it would have closed: the time, the market price and the net ROE at that moment, and at the trade's close its actual exit and result, so the rule can be scored on real fills.

Example

30: a live trade still at net -3% ROE 30 s after its fill gets a record "would close at market at 77.61"; when it later closes at its stop at 77.52 the outcome record shows both results.

When to change it

Set it to the value you want to evaluate before turning the live rule on.

Higher, lower, on or off

Never changes a live position. 0: no shadow rule and no records.

Risk notes

None for live trading; a few log rows per trade.

Start trailing button

manual_trailing_button

Default
On
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Each open position's trade card gets a 'Start trailing' button. After a confirmation with a preview, trailing starts at once (as if the trailing trigger were reached now) in the current trailing mode from the best ROE so far. The stop only ever tightens; it is refused if the new stop would trigger at once or pass liquidation. The new stop is placed and confirmed before the old one is cancelled.

What it does

Adds a "Start trailing" button to each open position's trade card. Clicking it shows a preview (current stop, new stop, locked ROE, trailing mode, current and best ROE); on confirm, trailing starts now in the trade's trailing mode from the best ROE so far, as if trail_activate_roe had just been reached, and then continues normally. The stop only ever tightens and never goes below breakeven + fees. Already trailing: the button shows "Trailing active". Pending entries have no button.

Example

Long at 100.00, 50x, best ROE +40%, now +32%, stop 99.30, keep 50%: the trailing stop would lock +20% (price 100.40). Preview "Stop 99.3 -> 100.4, locks +20%"; on confirm the new stop is placed, confirmed, then 99.30 is cancelled, and the log says "Trailing started manually (by you): stop 99.3 -> 100.4, locks +20%".

When to change it

Leave it on to lock profit by hand before the automatic trigger (default +100% ROE). Turn it off to remove the button.

Higher, lower, on or off

On: the button is shown and the server accepts it. Off: no button, and the request is refused.

Risk notes

Low: it can only tighten the stop, refuses a stop that would trigger at once or pass liquidation, and uses the usual never-unprotected stop move. A tighter stop can close a winning trade sooner.

Protection = a wall between price and stop

protection_by_wall_between

Default
On
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: A position counts as protected by a wall only if a confirmed same-side wall starts between the current price and the stop (a wall behind the stop protects nothing). The trade card and the breakeven rule use it.

What it does

Defines when an open position counts as protected by a wall: only if a confirmed wall on its own side starts between the current price and the stop. A wall behind the stop protects nothing. The trade card's protection display and the breakeven rule (breakeven_when_unprotected) use it.

Example

Long filled at 100.00, stop 98.50, price now 101.00. A confirmed bid wall at 99.20-99.30 lies between price and stop: protected. If that wall is pulled and the only bid wall left is at 98.00 (behind the stop), the position is unprotected.

When to change it

Leave it on. Turning it off disables the protection display and the breakeven-when-unprotected rule together.

Higher, lower, on or off

On: the trade card shows whether the position is protected and by which wall, and the breakeven rule can run. Off: no protection display, and breakeven_when_unprotected does nothing even if it is on.

Risk notes

Medium if off: positions whose wall is gone keep their original stop with no breakeven move.

Breakeven when no wall protects

breakeven_when_unprotected

Default
On
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Not protected by a wall (definition above): with net ROE at or above 'Minimum net ROE to hold' the stop moves to breakeven + fees + slippage (only if that tightens, never overriding a better lock); below it, the stop stays (no exit). Logged and notified. A protected position keeps its stop behind the wall.

What it does

When no wall protects an open position (see protection_by_wall_between) and its net ROE is at or above min_net_roe_to_hold_unprotected, the stop moves to breakeven plus fees and slippage. It only tightens the stop and never overrides a better lock. Below that ROE the stop stays where it is (no exit). The move is logged and notified.

Example

Minimum net ROE 5%. A long with no wall between price and stop shows net ROE +8%: the stop moves up to breakeven plus fees and slippage, and you get a "BREAKEVEN" notification. At +3% the stop stays put and the log notes it is below 5%. If trailing has already locked more, nothing changes.

When to change it

Leave it on to stop a winning trade turning into a loss after its wall disappears. Turn it off if you want the original stop behind the (now gone) wall to stay no matter what.

Higher, lower, on or off

On: unprotected winners are moved to breakeven. Off: the stop stays at its original place until trailing or take profit acts.

Risk notes

Medium: on means some trades are stopped out at breakeven that would have recovered; off means a profit can turn into a full stop loss.

Take profit follows a closer counter wall

tp_closer_wall

Default
On
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: A newly confirmed counter wall between the current price and the take profit moves the take profit in front of it (beyond the fill price, by at least the minimum move). An armed order is modified in place or cancelled and re-armed, never placed twice.

What it does

With take profit in counter-wall mode, a newly confirmed counter wall between the current price and the take profit moves the take profit in front of it. The new target must be beyond the fill price and at least tp_min_move_ticks closer. An already armed take-profit order is modified in place, or cancelled and re-armed, never placed twice.

Example

Long filled at 100.00, take profit 103.00 in front of an ask wall at 103.05. A new ask wall confirms at 101.80-101.85, so price would hit it first. The take profit moves to just below 101.80. With a 0.01 tick and 5 ticks minimum move, a wall that would only move it from 103.00 to 102.97 is ignored.

When to change it

Leave it on so the take profit stays in front of the first wall price will meet. Turn it off if you prefer to keep the original target.

Higher, lower, on or off

On: the target follows a closer counter wall. Off: the take profit stays at its original level, even when a big wall now sits in the way.

Risk notes

Low to medium: on can take smaller profits; off can miss the exit when price stalls at the new wall.

Clean up take-profit orders at a restart

tp_restart_cleanup

Default
On
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: When an open trade is resumed after a restart, a take-profit order left on the exchange from before is cancelled, and a new take profit is re-acquired from the live book (never left untracked or doubled).

What it does

When an open trade is resumed after a restart, any Wallbot take-profit order left on the exchange from before is cancelled, and a new take profit is picked from the live order book. This avoids an old order that the bot no longer tracks, or two take profits on one position.

Example

The bot restarts while a SOLUSDT long has a take-profit order resting on Binance. On: at startup that order is cancelled ("Take-profit order ... from before the restart cancelled") and a new target is picked from the book. If listing orders fails, the periodic reconciliation cancels it within about 60 seconds (reconcile_interval_s).

When to change it

Leave it on.

Higher, lower, on or off

On: old take-profit orders are cleaned up at restart. Off: the old order stays on the exchange untracked until the reconciliation cancels it as lost, and in the meantime the trade can end up with a second take profit.

Risk notes

Medium if off: an untracked take-profit order can close part of a position without the bot knowing.

Re-acquire a take profit

tp_reacquire

Default
On
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: An open trade without a take profit (no counter wall at the fill, the target removed as 'none further', or resumed after a restart) picks up the nearest confirmed counter wall as soon as one appears (checked on every counter-wall confirmation and every 5 s). The target must lie beyond the current price and the fill price. Works while entries are paused.

What it does

An open trade without a take profit (no counter wall at the fill, its target removed as "none further", or resumed after a restart) picks up the nearest confirmed counter wall as soon as one appears. It checks on every counter-wall confirmation and every 5 seconds, even while entries are paused. The target must lie beyond both the current price and the fill price. Only used with the wall_hug entry model and counter_wall take profit.

Example

A short fills at 50.00 with no bid wall below. Ten minutes later a bid wall confirms at 48.60-48.70 while price is 49.40. The trade gets a take profit just above 48.70 and a "TP SET" notification.

When to change it

Leave it on. Turn it off only if you want trades that start without a target to rely on the stop and trailing alone.

Higher, lower, on or off

On: trades without a target pick one up later, and after a restart the target is re-read from the live book. Off: such trades never get a take profit, and after a restart the saved target is kept as it was.

Risk notes

Low to medium: off leaves those trades with no planned exit except the stop and trailing.

Keep the trailing marker across restarts

persist_trailing_state

Default
On
Range
On or off
Type
On/off
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: A trade's 'trailing active' marker (and its trailing mode) is saved and restored after a restart, so the trade card shows '(trailing)' and the rules that defer to trailing keep doing so. Trades saved before get it derived from their best ROE and stop.

What it does

Saves a trade's "trailing active" marker and its trailing mode, and restores them after a restart. The trade card then still shows "(trailing)", and the rules that step aside once trailing is active keep doing so. Trades saved before this existed get the marker derived from their best ROE and stop.

Example

A long reached +40% ROE, trailing started and the stop now locks a profit. The bot restarts. On: the card shows "(trailing)" again and trailing continues in the same mode. Off: the marker is reset, so the card loses "(trailing)" and other stop rules may act on the trade as if trailing had never started.

When to change it

Leave it on. Off only reproduces the old in-memory behaviour.

Higher, lower, on or off

On: trailing state survives restarts. Off: every restart forgets that trailing was active.

Risk notes

Medium if off: after a restart the stop handling of a trailing trade can differ from before the restart.

Core: take profit

core_tp_mode

Default
inherit
Choices
inherit, counter_wall, fixed_profit_usdt, fixed_roe_pct, r_multiple, none
Type
Choice
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Take profit of Core trades. inherit: the global Take profit (tp_mode). counter_wall: in front of the nearest confirmed counter wall. fixed_profit_usdt: where the net profit after fees reaches the value in USDT. fixed_roe_pct: where the net ROE after fees reaches the value in %. r_multiple: where the net profit reaches the value times the planned loss at the stop. none: stop and trailing only. Fixed targets are set at the fill as a resting close-only limit (maker) armed near the price; the first of take profit or trailing stop closes the trade.

What it does

The take profit of Core trades: inherit the global one or use another kind. A fixed target is computed at the fill and tracked like the counter-wall take profit: it is placed as a resting close-only limit (a maker order) once price comes within the arm distance (tp_arm_distance_pct), and only if price jumps past it before that does it close at market. The trailing stop keeps working; whichever of take profit or trailing stop is hit first closes the trade.

Example

core_tp_mode fixed_profit_usdt, value 1: a long of 2 units filled at 100.00 with 0.02% maker fees takes profit at 100.55, where (100.55 - 100.00) x 2 - 0.04 - 0.04 = 1.02 USDT net (rounded up to the tick). r_multiple 1.5 with a planned loss of 2 USDT targets 3 USDT net.

When to change it

To test a different exit on Core trades without changing the others.

Higher, lower, on or off

inherit: the global take profit (tp_mode). counter_wall: in front of the nearest confirmed counter wall, as today. fixed_profit_usdt: at the price where the net profit after the entry and take-profit fees reaches the value in USDT. fixed_roe_pct: where the net ROE on margin after fees reaches the value in %. r_multiple: where the net profit reaches the value times the planned loss at the stop (R, fees and slippage included). none: no take profit, stop and trailing stop only. The reward/risk entry check (min_reward_risk) applies only with counter_wall.

Risk notes

Medium: a closer target takes profits earlier and caps winners; none relies on the trailing stop.

Core: take-profit value

core_tp_value

Default
0 USDT, % or R
Range
0 to 1e+06 USDT, % or R
Type
Number
Unit
USDT, % or R
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: The value for a fixed Core take profit: USDT (fixed_profit_usdt), % ROE (fixed_roe_pct) or R (r_multiple). Not used with inherit, counter_wall or none.

What it does

The number for a fixed core_tp_mode: USDT for fixed_profit_usdt, % ROE for fixed_roe_pct, R for r_multiple. Ignored with inherit, counter_wall and none.

Example

fixed_roe_pct 30 with 5 USDT margin: the target is 1.5 USDT net after fees.

When to change it

Together with the take-profit mode.

Higher, lower, on or off

Higher: the take profit sits farther away (bigger wins, hit less often). Lower: closer.

Risk notes

Low to medium: it only decides where profits are taken.

Core: trailing tiers

core_trail_tiers I ACCEPT in live used only with core_trailing_mode inherit / keep_pct

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: Trailing tiers for Core trades only, same format as trail_tiers ("20:25, 100:50"); the keep_pct style. With core_trailing_mode inherit: set = keep_pct with these tiers for the group, empty = the global trailing. With core_trailing_mode keep_pct: these tiers (empty = the global keep tiers).

What it does

Trailing tiers for Core trades only, in the same trigger_roe:keep_pct format as trail_tiers, always in the keep_pct style. Empty: the group uses the global trailing (trailing_mode and trail_tiers). Managed manual positions keep manual_trail_tiers.

Example

core_trail_tiers "20:25, 100:50": from +20% ROE the stop keeps 25% of the best ROE, from +100% it keeps 50%.

When to change it

To trail Core trades differently from the others.

Higher, lower, on or off

Set: these tiers for the group; the stop only tightens and never sits below breakeven + fees + slippage. Empty: the global trailing.

Risk notes

Medium: an earlier or tighter trail takes profits sooner and may cut winners. In live mode any change needs I ACCEPT.

Core: trailing mode

core_trailing_mode I ACCEPT in live

Default
inherit
Choices
inherit, fixed_gap, keep_pct, price_gap
Type
Choice
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: Trailing mode of Core trades. inherit: today's rule (core_trail_tiers when set, in the keep_pct style, else the global trailing). keep_pct: keep tiers (core_trail_tiers; empty = the global trail_tiers or trail_keep_pct). fixed_gap: core_trail_gap_tiers, else core_trail_gap_roe from trail_activate_roe. price_gap: core_trail_gap_price_pct, core_trail_gap_atr_mult and core_trail_gap_price_tiers. Same rules as the global modes.

What it does

The trailing mode of Core trades, with that mode's own fields. inherit keeps today's rule: core_trail_tiers when set (keep_pct style), else the global trailing (trailing_mode). keep_pct: keep a share of the best ROE (core_trail_tiers; empty = the global trail_tiers / trail_keep_pct). fixed_gap: stay ROE points behind the best ROE (core_trail_gap_tiers, else core_trail_gap_roe from trail_activate_roe). price_gap: stay a % of the price, or a multiple of the 1-hour ATR, behind the best price (core_trail_gap_price_pct, core_trail_gap_atr_mult, core_trail_gap_price_tiers), switched on only once that stop is at or beyond breakeven + fees + slippage. Every mode only tightens, moves in trail_step_roe steps, never locks below breakeven after fees and slippage, and works with Start trailing and wall-exhaustion protection.

Example

core_trailing_mode fixed_gap with core_trail_gap_tiers "100:50, 300:100": a Core trade at best +350% ROE has its stop at +250%; price_gap 2.5% at 50x: a long that peaked at 106.00 has its stop at 103.35.

When to change it

To trail Core trades differently from the others (the dashboard then shows only that mode's fields for the group).

Higher, lower, on or off

inherit: unchanged. keep_pct, fixed_gap, price_gap: that mode for this group only; the trade card, notifications and the close report name the group, the mode and the active tier.

Risk notes

Medium: the trailing decides how much profit a winner gives back. In live mode any change needs I ACCEPT; open trades switch to the new rule at their next price update (the stop never loosens).

Core: trailing distance

core_trail_gap_roe I ACCEPT in live used only with core_trailing_mode fixed_gap

Default
50 % ROE
Range
1 to 500 % ROE
Type
Number
Unit
% ROE
Live confirmation
Yes: raising it in live mode asks you to type I ACCEPT.

In the dashboard: fixed_gap for Core trades (when core_trail_gap_tiers is empty): ROE points the stop stays behind the best ROE, from trail_activate_roe. Must stay below trail_activate_roe.

What it does

fixed_gap for Core trades without distance tiers: the stop stays this many ROE points behind the best ROE, from trail_activate_roe. Must stay below trail_activate_roe.

Example

At 50: a trade that reaches +200% ROE has its stop at +150%.

When to change it

With core_trailing_mode fixed_gap.

Higher, lower, on or off

Higher: more room, more profit given back. Lower: tighter.

Risk notes

Low to medium; a wider distance needs I ACCEPT in live mode.

Core: trailing distance tiers

core_trail_gap_tiers I ACCEPT in live used only with core_trailing_mode fixed_gap

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: fixed_gap for Core trades: trigger_roe:gap_roe steps like trail_gap_tiers ("100:50, 300:100"). Empty = core_trail_gap_roe.

What it does

fixed_gap distance tiers for Core trades, trigger_roe:gap_roe like trail_gap_tiers. Empty: core_trail_gap_roe.

Example

"100:50, 300:100, 1000:200": best +250% -> stop +200%; best +400% -> +300%; best +1200% -> +1000%.

When to change it

With core_trailing_mode fixed_gap, to give big winners more room.

Higher, lower, on or off

Set: the tier follows the best ROE; the stop only tightens. Empty: one distance.

Risk notes

Medium: wider gaps give back more on a reversal. Any change needs I ACCEPT in live mode.

Core: price-gap distance

core_trail_gap_price_pct I ACCEPT in live used only with core_trailing_mode price_gap

Default
2.5 % of price
Range
0.1 to 50 % of price
Type
Number
Unit
% of price
Live confirmation
Yes: raising it in live mode asks you to type I ACCEPT.

In the dashboard: price_gap for Core trades: the stop stays this % of the price behind the best price (like trail_gap_price_pct).

What it does

price_gap for Core trades: the stop stays this % of the price behind the best price.

Example

2.5: a short that bottomed at 94.00 has its stop at 96.35.

When to change it

With core_trailing_mode price_gap.

Higher, lower, on or off

Higher: more room, switches on later (the stop must first reach breakeven + fees). Lower: tighter, switches on sooner.

Risk notes

Medium: at high leverage 2.5% of the price is a large ROE distance (125% at 50x).

Core: price-gap ATR multiple

core_trail_gap_atr_mult I ACCEPT in live used only with core_trailing_mode price_gap

Default
0 x ATR(1h)
Range
0 to 20 x ATR(1h)
Type
Number
Unit
x ATR(1h)
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: price_gap for Core trades: 0 = off; set = this many x ATR(1h) (like trail_gap_atr_mult).

What it does

price_gap for Core trades: 0 = off; set = the distance is this many times the ATR(14) of 1-hour candles, replacing core_trail_gap_price_pct and the distance tiers.

Example

2 with an ATR(1h) of 0.80: a long that peaked at 106.00 has its stop at 104.40.

When to change it

With core_trailing_mode price_gap, to follow each coin's volatility.

Higher, lower, on or off

Higher: wider. 0: the % distance or the tiers apply.

Risk notes

Medium: the distance changes with volatility; the stop still never loosens.

Core: price-gap distance tiers

core_trail_gap_price_tiers I ACCEPT in live used only with core_trailing_mode price_gap

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: price_gap for Core trades: trigger_roe:distance_pct steps like trail_gap_price_tiers. Empty = core_trail_gap_price_pct.

What it does

price_gap distance tiers for Core trades, trigger_roe:distance_pct like trail_gap_price_tiers. Empty: core_trail_gap_price_pct.

Example

"0:2.5, 1000:4": 2.5% behind the best price, 4% once the best ROE reached +1000%.

When to change it

With core_trailing_mode price_gap and no ATR multiple.

Higher, lower, on or off

Set: the distance follows the best ROE; the stop only tightens.

Risk notes

Medium. Any change needs I ACCEPT in live mode.

Movers: take profit

movers_tp_mode

Default
inherit
Choices
inherit, counter_wall, fixed_profit_usdt, fixed_roe_pct, r_multiple, none
Type
Choice
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Take profit of Movers trades. inherit: the global Take profit (tp_mode). counter_wall: in front of the nearest confirmed counter wall. fixed_profit_usdt: where the net profit after fees reaches the value in USDT. fixed_roe_pct: where the net ROE after fees reaches the value in %. r_multiple: where the net profit reaches the value times the planned loss at the stop. none: stop and trailing only. Fixed targets are set at the fill as a resting close-only limit (maker) armed near the price; the first of take profit or trailing stop closes the trade.

What it does

The take profit of Movers trades: inherit the global one or use another kind. A fixed target is computed at the fill and tracked like the counter-wall take profit: it is placed as a resting close-only limit (a maker order) once price comes within the arm distance (tp_arm_distance_pct), and only if price jumps past it before that does it close at market. The trailing stop keeps working; whichever of take profit or trailing stop is hit first closes the trade.

Example

movers_tp_mode fixed_profit_usdt, value 1: a long of 2 units filled at 100.00 with 0.02% maker fees takes profit at 100.55, where (100.55 - 100.00) x 2 - 0.04 - 0.04 = 1.02 USDT net (rounded up to the tick). r_multiple 1.5 with a planned loss of 2 USDT targets 3 USDT net.

When to change it

To test a different exit on Movers trades without changing the others.

Higher, lower, on or off

inherit: the global take profit (tp_mode). counter_wall: in front of the nearest confirmed counter wall, as today. fixed_profit_usdt: at the price where the net profit after the entry and take-profit fees reaches the value in USDT. fixed_roe_pct: where the net ROE on margin after fees reaches the value in %. r_multiple: where the net profit reaches the value times the planned loss at the stop (R, fees and slippage included). none: no take profit, stop and trailing stop only. The reward/risk entry check (min_reward_risk) applies only with counter_wall.

Risk notes

Medium: a closer target takes profits earlier and caps winners; none relies on the trailing stop.

Movers: take-profit value

movers_tp_value

Default
0 USDT, % or R
Range
0 to 1e+06 USDT, % or R
Type
Number
Unit
USDT, % or R
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: The value for a fixed Movers take profit: USDT (fixed_profit_usdt), % ROE (fixed_roe_pct) or R (r_multiple). Not used with inherit, counter_wall or none.

What it does

The number for a fixed movers_tp_mode: USDT for fixed_profit_usdt, % ROE for fixed_roe_pct, R for r_multiple. Ignored with inherit, counter_wall and none.

Example

fixed_roe_pct 30 with 5 USDT margin: the target is 1.5 USDT net after fees.

When to change it

Together with the take-profit mode.

Higher, lower, on or off

Higher: the take profit sits farther away (bigger wins, hit less often). Lower: closer.

Risk notes

Low to medium: it only decides where profits are taken.

Movers: trailing tiers

movers_trail_tiers I ACCEPT in live used only with movers_trailing_mode inherit / keep_pct

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: Trailing tiers for Movers trades only, same format as trail_tiers ("20:25, 100:50"); the keep_pct style. With movers_trailing_mode inherit: set = keep_pct with these tiers for the group, empty = the global trailing. With movers_trailing_mode keep_pct: these tiers (empty = the global keep tiers).

What it does

Trailing tiers for Movers trades only, in the same trigger_roe:keep_pct format as trail_tiers, always in the keep_pct style. Empty: the group uses the global trailing (trailing_mode and trail_tiers). Managed manual positions keep manual_trail_tiers.

Example

movers_trail_tiers "20:25, 100:50": from +20% ROE the stop keeps 25% of the best ROE, from +100% it keeps 50%.

When to change it

To trail Movers trades differently from the others.

Higher, lower, on or off

Set: these tiers for the group; the stop only tightens and never sits below breakeven + fees + slippage. Empty: the global trailing.

Risk notes

Medium: an earlier or tighter trail takes profits sooner and may cut winners. In live mode any change needs I ACCEPT.

Movers: trailing mode

movers_trailing_mode I ACCEPT in live

Default
inherit
Choices
inherit, fixed_gap, keep_pct, price_gap
Type
Choice
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: Trailing mode of Movers trades. inherit: today's rule (movers_trail_tiers when set, in the keep_pct style, else the global trailing). keep_pct: keep tiers (movers_trail_tiers; empty = the global trail_tiers or trail_keep_pct). fixed_gap: movers_trail_gap_tiers, else movers_trail_gap_roe from trail_activate_roe. price_gap: movers_trail_gap_price_pct, movers_trail_gap_atr_mult and movers_trail_gap_price_tiers. Same rules as the global modes.

What it does

The trailing mode of Movers trades, with that mode's own fields. inherit keeps today's rule: movers_trail_tiers when set (keep_pct style), else the global trailing (trailing_mode). keep_pct: keep a share of the best ROE (movers_trail_tiers; empty = the global trail_tiers / trail_keep_pct). fixed_gap: stay ROE points behind the best ROE (movers_trail_gap_tiers, else movers_trail_gap_roe from trail_activate_roe). price_gap: stay a % of the price, or a multiple of the 1-hour ATR, behind the best price (movers_trail_gap_price_pct, movers_trail_gap_atr_mult, movers_trail_gap_price_tiers), switched on only once that stop is at or beyond breakeven + fees + slippage. Every mode only tightens, moves in trail_step_roe steps, never locks below breakeven after fees and slippage, and works with Start trailing and wall-exhaustion protection.

Example

movers_trailing_mode fixed_gap with movers_trail_gap_tiers "100:50, 300:100": a Movers trade at best +350% ROE has its stop at +250%; price_gap 2.5% at 50x: a long that peaked at 106.00 has its stop at 103.35.

When to change it

To trail Movers trades differently from the others (the dashboard then shows only that mode's fields for the group).

Higher, lower, on or off

inherit: unchanged. keep_pct, fixed_gap, price_gap: that mode for this group only; the trade card, notifications and the close report name the group, the mode and the active tier.

Risk notes

Medium: the trailing decides how much profit a winner gives back. In live mode any change needs I ACCEPT; open trades switch to the new rule at their next price update (the stop never loosens).

Movers: trailing distance

movers_trail_gap_roe I ACCEPT in live used only with movers_trailing_mode fixed_gap

Default
50 % ROE
Range
1 to 500 % ROE
Type
Number
Unit
% ROE
Live confirmation
Yes: raising it in live mode asks you to type I ACCEPT.

In the dashboard: fixed_gap for Movers trades (when movers_trail_gap_tiers is empty): ROE points the stop stays behind the best ROE, from trail_activate_roe. Must stay below trail_activate_roe.

What it does

fixed_gap for Movers trades without distance tiers: the stop stays this many ROE points behind the best ROE, from trail_activate_roe. Must stay below trail_activate_roe.

Example

At 50: a trade that reaches +200% ROE has its stop at +150%.

When to change it

With movers_trailing_mode fixed_gap.

Higher, lower, on or off

Higher: more room, more profit given back. Lower: tighter.

Risk notes

Low to medium; a wider distance needs I ACCEPT in live mode.

Movers: trailing distance tiers

movers_trail_gap_tiers I ACCEPT in live used only with movers_trailing_mode fixed_gap

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: fixed_gap for Movers trades: trigger_roe:gap_roe steps like trail_gap_tiers ("100:50, 300:100"). Empty = movers_trail_gap_roe.

What it does

fixed_gap distance tiers for Movers trades, trigger_roe:gap_roe like trail_gap_tiers. Empty: movers_trail_gap_roe.

Example

"100:50, 300:100, 1000:200": best +250% -> stop +200%; best +400% -> +300%; best +1200% -> +1000%.

When to change it

With movers_trailing_mode fixed_gap, to give big winners more room.

Higher, lower, on or off

Set: the tier follows the best ROE; the stop only tightens. Empty: one distance.

Risk notes

Medium: wider gaps give back more on a reversal. Any change needs I ACCEPT in live mode.

Movers: price-gap distance

movers_trail_gap_price_pct I ACCEPT in live used only with movers_trailing_mode price_gap

Default
2.5 % of price
Range
0.1 to 50 % of price
Type
Number
Unit
% of price
Live confirmation
Yes: raising it in live mode asks you to type I ACCEPT.

In the dashboard: price_gap for Movers trades: the stop stays this % of the price behind the best price (like trail_gap_price_pct).

What it does

price_gap for Movers trades: the stop stays this % of the price behind the best price.

Example

2.5: a short that bottomed at 94.00 has its stop at 96.35.

When to change it

With movers_trailing_mode price_gap.

Higher, lower, on or off

Higher: more room, switches on later (the stop must first reach breakeven + fees). Lower: tighter, switches on sooner.

Risk notes

Medium: at high leverage 2.5% of the price is a large ROE distance (125% at 50x).

Movers: price-gap ATR multiple

movers_trail_gap_atr_mult I ACCEPT in live used only with movers_trailing_mode price_gap

Default
0 x ATR(1h)
Range
0 to 20 x ATR(1h)
Type
Number
Unit
x ATR(1h)
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: price_gap for Movers trades: 0 = off; set = this many x ATR(1h) (like trail_gap_atr_mult).

What it does

price_gap for Movers trades: 0 = off; set = the distance is this many times the ATR(14) of 1-hour candles, replacing movers_trail_gap_price_pct and the distance tiers.

Example

2 with an ATR(1h) of 0.80: a long that peaked at 106.00 has its stop at 104.40.

When to change it

With movers_trailing_mode price_gap, to follow each coin's volatility.

Higher, lower, on or off

Higher: wider. 0: the % distance or the tiers apply.

Risk notes

Medium: the distance changes with volatility; the stop still never loosens.

Movers: price-gap distance tiers

movers_trail_gap_price_tiers I ACCEPT in live used only with movers_trailing_mode price_gap

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: price_gap for Movers trades: trigger_roe:distance_pct steps like trail_gap_price_tiers. Empty = movers_trail_gap_price_pct.

What it does

price_gap distance tiers for Movers trades, trigger_roe:distance_pct like trail_gap_price_tiers. Empty: movers_trail_gap_price_pct.

Example

"0:2.5, 1000:4": 2.5% behind the best price, 4% once the best ROE reached +1000%.

When to change it

With movers_trailing_mode price_gap and no ATR multiple.

Higher, lower, on or off

Set: the distance follows the best ROE; the stop only tightens.

Risk notes

Medium. Any change needs I ACCEPT in live mode.

My coins: take profit

pinned_tp_mode

Default
inherit
Choices
inherit, counter_wall, fixed_profit_usdt, fixed_roe_pct, r_multiple, none
Type
Choice
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: Take profit of My coins trades. inherit: the global Take profit (tp_mode). counter_wall: in front of the nearest confirmed counter wall. fixed_profit_usdt: where the net profit after fees reaches the value in USDT. fixed_roe_pct: where the net ROE after fees reaches the value in %. r_multiple: where the net profit reaches the value times the planned loss at the stop. none: stop and trailing only. Fixed targets are set at the fill as a resting close-only limit (maker) armed near the price; the first of take profit or trailing stop closes the trade.

What it does

The take profit of My coins trades: inherit the global one or use another kind. A fixed target is computed at the fill and tracked like the counter-wall take profit: it is placed as a resting close-only limit (a maker order) once price comes within the arm distance (tp_arm_distance_pct), and only if price jumps past it before that does it close at market. The trailing stop keeps working; whichever of take profit or trailing stop is hit first closes the trade.

Example

pinned_tp_mode fixed_profit_usdt, value 1: a long of 2 units filled at 100.00 with 0.02% maker fees takes profit at 100.55, where (100.55 - 100.00) x 2 - 0.04 - 0.04 = 1.02 USDT net (rounded up to the tick). r_multiple 1.5 with a planned loss of 2 USDT targets 3 USDT net.

When to change it

To test a different exit on My coins trades without changing the others.

Higher, lower, on or off

inherit: the global take profit (tp_mode). counter_wall: in front of the nearest confirmed counter wall, as today. fixed_profit_usdt: at the price where the net profit after the entry and take-profit fees reaches the value in USDT. fixed_roe_pct: where the net ROE on margin after fees reaches the value in %. r_multiple: where the net profit reaches the value times the planned loss at the stop (R, fees and slippage included). none: no take profit, stop and trailing stop only. The reward/risk entry check (min_reward_risk) applies only with counter_wall.

Risk notes

Medium: a closer target takes profits earlier and caps winners; none relies on the trailing stop.

My coins: take-profit value

pinned_tp_value

Default
0 USDT, % or R
Range
0 to 1e+06 USDT, % or R
Type
Number
Unit
USDT, % or R
Live confirmation
No. Changes apply in every mode without the typed confirmation.

In the dashboard: The value for a fixed My coins take profit: USDT (fixed_profit_usdt), % ROE (fixed_roe_pct) or R (r_multiple). Not used with inherit, counter_wall or none.

What it does

The number for a fixed pinned_tp_mode: USDT for fixed_profit_usdt, % ROE for fixed_roe_pct, R for r_multiple. Ignored with inherit, counter_wall and none.

Example

fixed_roe_pct 30 with 5 USDT margin: the target is 1.5 USDT net after fees.

When to change it

Together with the take-profit mode.

Higher, lower, on or off

Higher: the take profit sits farther away (bigger wins, hit less often). Lower: closer.

Risk notes

Low to medium: it only decides where profits are taken.

My coins: trailing tiers

pinned_trail_tiers I ACCEPT in live used only with pinned_trailing_mode inherit / keep_pct

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: Trailing tiers for My coins trades only, same format as trail_tiers ("20:25, 100:50"); the keep_pct style. With pinned_trailing_mode inherit: set = keep_pct with these tiers for the group, empty = the global trailing. With pinned_trailing_mode keep_pct: these tiers (empty = the global keep tiers).

What it does

Trailing tiers for My coins trades only, in the same trigger_roe:keep_pct format as trail_tiers, always in the keep_pct style. Empty: the group uses the global trailing (trailing_mode and trail_tiers). Managed manual positions keep manual_trail_tiers.

Example

pinned_trail_tiers "20:25, 100:50": from +20% ROE the stop keeps 25% of the best ROE, from +100% it keeps 50%.

When to change it

To trail My coins trades differently from the others.

Higher, lower, on or off

Set: these tiers for the group; the stop only tightens and never sits below breakeven + fees + slippage. Empty: the global trailing.

Risk notes

Medium: an earlier or tighter trail takes profits sooner and may cut winners. In live mode any change needs I ACCEPT.

My coins: trailing mode

pinned_trailing_mode I ACCEPT in live

Default
inherit
Choices
inherit, fixed_gap, keep_pct, price_gap
Type
Choice
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: Trailing mode of My coins trades. inherit: today's rule (pinned_trail_tiers when set, in the keep_pct style, else the global trailing). keep_pct: keep tiers (pinned_trail_tiers; empty = the global trail_tiers or trail_keep_pct). fixed_gap: pinned_trail_gap_tiers, else pinned_trail_gap_roe from trail_activate_roe. price_gap: pinned_trail_gap_price_pct, pinned_trail_gap_atr_mult and pinned_trail_gap_price_tiers. Same rules as the global modes.

What it does

The trailing mode of My coins trades, with that mode's own fields. inherit keeps today's rule: pinned_trail_tiers when set (keep_pct style), else the global trailing (trailing_mode). keep_pct: keep a share of the best ROE (pinned_trail_tiers; empty = the global trail_tiers / trail_keep_pct). fixed_gap: stay ROE points behind the best ROE (pinned_trail_gap_tiers, else pinned_trail_gap_roe from trail_activate_roe). price_gap: stay a % of the price, or a multiple of the 1-hour ATR, behind the best price (pinned_trail_gap_price_pct, pinned_trail_gap_atr_mult, pinned_trail_gap_price_tiers), switched on only once that stop is at or beyond breakeven + fees + slippage. Every mode only tightens, moves in trail_step_roe steps, never locks below breakeven after fees and slippage, and works with Start trailing and wall-exhaustion protection.

Example

pinned_trailing_mode fixed_gap with pinned_trail_gap_tiers "100:50, 300:100": a My coins trade at best +350% ROE has its stop at +250%; price_gap 2.5% at 50x: a long that peaked at 106.00 has its stop at 103.35.

When to change it

To trail My coins trades differently from the others (the dashboard then shows only that mode's fields for the group).

Higher, lower, on or off

inherit: unchanged. keep_pct, fixed_gap, price_gap: that mode for this group only; the trade card, notifications and the close report name the group, the mode and the active tier.

Risk notes

Medium: the trailing decides how much profit a winner gives back. In live mode any change needs I ACCEPT; open trades switch to the new rule at their next price update (the stop never loosens).

My coins: trailing distance

pinned_trail_gap_roe I ACCEPT in live used only with pinned_trailing_mode fixed_gap

Default
50 % ROE
Range
1 to 500 % ROE
Type
Number
Unit
% ROE
Live confirmation
Yes: raising it in live mode asks you to type I ACCEPT.

In the dashboard: fixed_gap for My coins trades (when pinned_trail_gap_tiers is empty): ROE points the stop stays behind the best ROE, from trail_activate_roe. Must stay below trail_activate_roe.

What it does

fixed_gap for My coins trades without distance tiers: the stop stays this many ROE points behind the best ROE, from trail_activate_roe. Must stay below trail_activate_roe.

Example

At 50: a trade that reaches +200% ROE has its stop at +150%.

When to change it

With pinned_trailing_mode fixed_gap.

Higher, lower, on or off

Higher: more room, more profit given back. Lower: tighter.

Risk notes

Low to medium; a wider distance needs I ACCEPT in live mode.

My coins: trailing distance tiers

pinned_trail_gap_tiers I ACCEPT in live used only with pinned_trailing_mode fixed_gap

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: fixed_gap for My coins trades: trigger_roe:gap_roe steps like trail_gap_tiers ("100:50, 300:100"). Empty = pinned_trail_gap_roe.

What it does

fixed_gap distance tiers for My coins trades, trigger_roe:gap_roe like trail_gap_tiers. Empty: pinned_trail_gap_roe.

Example

"100:50, 300:100, 1000:200": best +250% -> stop +200%; best +400% -> +300%; best +1200% -> +1000%.

When to change it

With pinned_trailing_mode fixed_gap, to give big winners more room.

Higher, lower, on or off

Set: the tier follows the best ROE; the stop only tightens. Empty: one distance.

Risk notes

Medium: wider gaps give back more on a reversal. Any change needs I ACCEPT in live mode.

My coins: price-gap distance

pinned_trail_gap_price_pct I ACCEPT in live used only with pinned_trailing_mode price_gap

Default
2.5 % of price
Range
0.1 to 50 % of price
Type
Number
Unit
% of price
Live confirmation
Yes: raising it in live mode asks you to type I ACCEPT.

In the dashboard: price_gap for My coins trades: the stop stays this % of the price behind the best price (like trail_gap_price_pct).

What it does

price_gap for My coins trades: the stop stays this % of the price behind the best price.

Example

2.5: a short that bottomed at 94.00 has its stop at 96.35.

When to change it

With pinned_trailing_mode price_gap.

Higher, lower, on or off

Higher: more room, switches on later (the stop must first reach breakeven + fees). Lower: tighter, switches on sooner.

Risk notes

Medium: at high leverage 2.5% of the price is a large ROE distance (125% at 50x).

My coins: price-gap ATR multiple

pinned_trail_gap_atr_mult I ACCEPT in live used only with pinned_trailing_mode price_gap

Default
0 x ATR(1h)
Range
0 to 20 x ATR(1h)
Type
Number
Unit
x ATR(1h)
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: price_gap for My coins trades: 0 = off; set = this many x ATR(1h) (like trail_gap_atr_mult).

What it does

price_gap for My coins trades: 0 = off; set = the distance is this many times the ATR(14) of 1-hour candles, replacing pinned_trail_gap_price_pct and the distance tiers.

Example

2 with an ATR(1h) of 0.80: a long that peaked at 106.00 has its stop at 104.40.

When to change it

With pinned_trailing_mode price_gap, to follow each coin's volatility.

Higher, lower, on or off

Higher: wider. 0: the % distance or the tiers apply.

Risk notes

Medium: the distance changes with volatility; the stop still never loosens.

My coins: price-gap distance tiers

pinned_trail_gap_price_tiers I ACCEPT in live used only with pinned_trailing_mode price_gap

Default
(empty)
Range
Free text
Type
text
Live confirmation
Yes: any change in live mode asks you to type I ACCEPT.

In the dashboard: price_gap for My coins trades: trigger_roe:distance_pct steps like trail_gap_price_tiers. Empty = pinned_trail_gap_price_pct.

What it does

price_gap distance tiers for My coins trades, trigger_roe:distance_pct like trail_gap_price_tiers. Empty: pinned_trail_gap_price_pct.

Example

"0:2.5, 1000:4": 2.5% behind the best price, 4% once the best ROE reached +1000%.

When to change it

With pinned_trailing_mode price_gap and no ATR multiple.

Higher, lower, on or off

Set: the distance follows the best ROE; the stop only tightens.

Risk notes

Medium. Any change needs I ACCEPT in live mode.