Skip to content

Gunbot Bollinger (bb)

What it does: Buys under the lower Bollinger Band after a small bounce; sells above the upper band. This buys when the price drops below the lower Bollinger Band (an unusually low price for the last 20 candles) and then bounces a little.

Style: Bot classics · Difficulty: Beginner · Risk: medium · Ready: 2 of 2 variants

When people use it: It tends to work in sideways markets.

Where it struggles: It struggles in trends: it can wait a long time for the upper band, so the stop-loss does real work. Gunbot itself has no stop by default; Apathia adds one.

Markets it was written for: BTC, ETH, majors. Timeframes: 15m-1h.

Open it in the Strategy Library (on the Strategies page), pick a variant, adjust the settings and press Add to my strategies. It becomes your own strategy: edit, backtest or trade it like any other.

Long

Buys under the lower Bollinger Band after a small bounce; sells above the upper band.

Labels: Mean Reversion, Long, Spot, Beginner, Fast

  • Direction: Buy (long) · Market: spot
  • Trigger: On candle touch · Main timeframe: Auto (15m)

Entry

  • IF Price crosses below BB(20,2) Lower band (15m)
  • UNLESS Price < EMA(200) (4h)
  • Trailing entry %: 0.3%

Exit: Indicator-Based Exit

  • IF Price crosses above BB(20,2) Upper band (15m)
  • Min profit: 1% (exit conditions only close once the trade is this far in profit after fees)
  • Loss controls: Stop-loss % 6%

Settings

Setting Default Editable What changing it does
Minimum profit % 1 Yes The exit only sells if the trade is at least this much in profit. Higher waits for bigger wins but holds longer; lower takes profits sooner, with fees taking a bigger share.
Bounce before entry % 0.3 Yes After the signal, the bot waits for the price to turn back by this much before entering. Higher waits for more proof the move has turned, but enters at a worse price and can miss quick turns; lower (or 0) enters sooner, with more risk of catching a move that keeps going.

How it works (as shown in the app)

  • This buys when the price drops below the lower Bollinger Band (an unusually low price for the last 20 candles) and then bounces a little.
  • It sells when the price rises above the upper band with at least a minimum profit, or at the stop-loss. It skips buys when the price is below the 4-hour 200-candle average.
  • It tends to work in sideways markets.
  • It struggles in trends: it can wait a long time for the upper band, so the stop-loss does real work. Gunbot itself has no stop by default; Apathia adds one.
  • Trades on 15-minute to 1-hour candles, so fees add up.
  • The backtest estimates touches that happen inside a candle, so live fills may differ.

Short (perp)

Shorts above the upper Bollinger Band after a small drop; closes below the lower band.

Labels: Mean Reversion, Short, Futures, Fast, Backtest Only

  • Direction: Sell (short) · Market: swap
  • Trigger: On candle touch · Main timeframe: Auto (15m)

Entry

  • IF Price crosses above BB(20,2) Upper band (15m)
  • UNLESS Price > EMA(200) (4h)
  • Trailing entry %: 0.3%

Exit: Indicator-Based Exit

  • IF Price crosses below BB(20,2) Lower band (15m)
  • Min profit: 1% (exit conditions only close once the trade is this far in profit after fees)
  • Loss controls: Stop-loss % 5%

Settings

Setting Default Editable What changing it does
Minimum profit % 1 Yes The exit only sells if the trade is at least this much in profit. Higher waits for bigger wins but holds longer; lower takes profits sooner, with fees taking a bigger share.
Bounce before entry % 0.3 Yes After the signal, the bot waits for the price to turn back by this much before entering. Higher waits for more proof the move has turned, but enters at a worse price and can miss quick turns; lower (or 0) enters sooner, with more risk of catching a move that keeps going.

How it works (as shown in the app)

  • This shorts when the price rises above the upper Bollinger Band (an unusually high price for the last 20 candles) and then drops back a little.
  • It buys back when the price falls below the lower band with at least a minimum profit, or at the stop-loss. It skips shorts when the price is above the 4-hour 200-candle average.
  • It tends to work in sideways markets.
  • It struggles in rising trends: it can wait a long time for the lower band, so the stop-loss does real work. Gunbot itself has no stop by default; Apathia adds one.
  • Trades on 15-minute to 1-hour candles, so fees add up.
  • The backtest estimates touches that happen inside a candle, so live fills may differ.
  • Shorting means you profit if the price falls and lose if it rises.
  • Suggested leverage is at most 3x. On isolated margin, at 3x the exchange closes the position (liquidation) if the price moves about 33% against you, and you lose the margin you put into it. Keep your stop well inside that.
  • For now this version runs in backtests only; paper and live futures trading are coming later.

Warnings

  • "Backtest only for now: paper and live trading of shorts are coming later.": shown on short variants. They need perpetual or futures pairs.
  • Variants on On candle touch act while the candle is still forming. The backtest estimates touches inside a candle, so live fills can differ, and a signal can repaint if price turns back before the close.
  • Some variants suggest leverage. On isolated margin a liquidation loses the margin in that position; keep any stop well inside the liquidation distance (the Trade Builder warns you when it isn't).
  • Once added, the strategy's conditions get the usual condition checks. Messages show under each condition on the entry / exit conditions screen; setting errors start with the indicator's short name (for example "MACD: Fast must be between 1 and 1000") and block saving, while the other warnings never block saving and repeat in the strategy's Entry or Exit section. See the indicator pages below for each one.
  • "You already have this strategy with these settings (…). Change a setting to add another copy.": shown on the variant's page in the Strategy Library when you already added this variant with the same settings.

Good to know

  • After you add it, the strategy keeps the library's trigger and an Auto main timeframe; you can change both in the builder. Nothing links it back to the library, except that the builder still shows the library's explanations in the info bubbles.
  • Changing a setting before adding it also changes the saved name, so you can tell copies apart.
  • Past results don't predict future ones. Try it in a backtest and on paper before using real money.
  • Indicators used: BB, EMA.