Dynamic Limits Trading Bots

Dynamic Limits automatically adjusts two risk caps for your ST bot based on current market conditions

March 6, 2026, 7:17 a.m.
Bot Settings
Dynamic Limits Trading Bots

What this block does

Dynamic Limits automatically adjusts two risk caps for your ST bot based on current market conditions:

  • Max positions: how many positions the bot may keep open.
  • Max margin (%): how much margin per position is allowed.

You can drive these caps by either:

  • Market sentiment (Bull / Neutral / Bear), or
  • Market deviation from the regression channel median (−100…+100).

Important: only one mode can be active at a time.

If you enable Sentiment, Deviation will be disabled (and vice‑versa).

1) Sentiment Limits (Bull / Neutral / Bear)

Where sentiment comes from

The current sentiment is displayed in the site header.

How it works

When sentiment switches between Bull / Neutral / Bear, the bot will apply the corresponding:

  • Max positions
  • Max margin (%)

How to set it up

  • Enable Sentiment Limits
  • Fill in limits for: Bull Market - Neutral Market - Bear Market

2) Deviation Limits (−100…+100)

Where deviation comes from

Deviation chart link. Deviation is a single number in the range −100 to +100.

How it works You define multiple deviation ranges. For the current deviation value, the bot finds the matching range and applies its limits.

You set rules separately for:

  • Positions ranges → max positions per deviation band
  • Margin ranges → max margin per deviation band

Rules of ranges

  • From must be less than To (e.g., -10 → 0)
  • Recommended: ranges should not overlap (to keep behaviour predictable)

Fallback (out of bounds) If deviation is outside your configured ranges:

  • below the lowest range → MIN (Fallback) is used
  • above the highest range → MAX (Fallback) is used

How to set it up

  • Enable Deviation Limits
  • Set fallback limits: Default Positions Limit: MIN / MAX - Default Margin Limit (%): MIN / MAX
  • Add rules: Add positions range rule - Add margin range rule
  • Click Save Changes

Deleting a range

Use the trash icon. The row will be removed on the next Save Changes.

Recent Posts

Dynamic Limits Trad… Dynamic Limits automatically adjusts two risk cap…
Funding Hedge: Fund… Reduces the impact of strongly negative funding o…
Funding Window: Blo… Protects averaging logic from false signals durin…
Use our Bybit link … Registration, UID connection, and discount activa…
Creating Custom Scr… Screeners allow you to track pumps, dumps, open i…

You might be interested

Spot Bot: Entry and Averaging Logic (Spot-Bot)
Spot-Bot operates on the “leader → altcoins” model. The user selects a leader (BTC, ETH, or SOL), and the bot uses it as the main indicator of market direction. The bot’s goal is to identify altcoins with strong correlation to the leader and open spot positions when growth probability is confirmed for both the leader and the altcoin.
Averaging Positions
Position averaging: trigger→confirmation scheme, timeframe cascade, market-phase settings, averaging examples
Indicator “Market Median”
“Market Median — 30m” is a single percentage value showing where, on average, the altcoin market sits relative to the midlines of its 30-minute regression channels over the last 1000 candles.
Automate Your Trading with Algorithms
A complete trading suite: from indicators and screeners to trading bots.
🚀 Start for free