Skip to content

Gunbot Gain (EMA-spread dip buy)

What it does: Buys when price dips a set % below two averages and sells at a small fixed gain. This buys when the 15-minute price is at least 0.6% below both its 8- and 16-candle averages, then waits for a small bounce.

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

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

Where it struggles: It struggles in downtrends. Gunbot has no stop by default; Apathia adds an optional 8% stop and skips buys below the 4-hour 200-candle average.

Markets it was written for: BTC, ETH, majors (spot). Timeframes: 15m.

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 when price dips a set % below two averages and sells at a small fixed gain.

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

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

Entry

  • IF PCTD(EMA,8) ≤ -0.6 (15m) and PCTD(EMA,16) ≤ -0.6 (15m)
  • UNLESS Price < EMA(200) (4h)
  • Trailing entry %: 0.3%

Exit: Standard Exit

  • Trailing take-profit: activation 1%, trail 0.3%
  • Loss controls: Stop-loss % 8%

Settings

Setting Default Editable What changing it does
Buy % below averages -0.6 Yes (sets 2 fields) How far below both averages the price must be to buy. Smaller buys more often on mild dips; larger waits for deeper dips, so fewer trades. Changes both average checks together.
Slow average 16 Yes The slower of the two averages. Longer makes dips below it rarer and deeper; shorter makes them more frequent.
Fast average 8 Yes The faster of the two averages. Shorter reacts faster; longer is smoother.
Trailing start gain % 1 Yes The profit at which the trailing take-profit switches on. Higher aims for bigger wins but holds longer and closes fewer trades; lower takes profits sooner, with fees taking a bigger share.

How it works (as shown in the app)

  • This buys when the 15-minute price is at least 0.6% below both its 8- and 16-candle averages, then waits for a small bounce.
  • Once the trade is 1% up, a trailing take-profit follows the price and sells on a 0.3% pullback. Up to 3 positions can be open, with limit orders.
  • It tends to work in sideways or gently rising markets.
  • It struggles in downtrends. Gunbot has no stop by default; Apathia adds an optional 8% stop and skips buys below the 4-hour 200-candle average.
  • Frequent small trades on 15-minute candles: fees take a large share of a 1% target.

Warnings

  • 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: EMA, PCTD.