About Gunbot strategies

A strategy in Gunbot is a collection of settings that can be assigned to one or more trading pairs. These pairs will then trade according to the assigned settings. The most important factors of a strategy are the buy and sell methods, these define the logic for buy and sell orders.

Gunbot has 15 different methods for executing buy and sell orders. These can be freely combined, where one method is being used for buying and another for selling.

Each method, and their variants for margin trading, has it’s own wiki article describing the exact logic and explaining all available strategy parameters.

Trading methods

MethodDescription (short)
ADXAverage Directional Index: uses the ADX indicator to trade only when trends are strong enough.
ATRTSAverage True Range Trailing Stop: uses the ATR indicator to measure volatility changes and trade on a trailing stop.
bbBollinger Bands: buy and sell at configurable points between the lower and upper Bollinger Bands.
BBTABollinger Bands (TA): buy and sell after a reentry at configurable points between the lower and upper Bollinger Bands.
EMASPREADEMA spread: uses the spread between slow and fast EMA to trade when price direction changes.
emotionlessEmotionless: “just works” strategy. Hardly any configurable parameters. Perfect for novice traders.
gainGain: buy at a percentage below EMA, sell when your set gain is reached.
ichimokuIchimoku: trading algorithm based on the Ichimoku cloud indicator.
MACDMoving average convergence/divergence: uses the MACD indicator to trade when momentum changes.
MACDHMoving average convergence/divergence histogram: uses the MACD histogram to trade when momentum changes.
ppPingpong: set a fixed buy and sell price, perfect for coins that stay within a predictable price range.
stepgainStepgain: like gain , but after hitting initial buy or sell level a trend watcher will check if prices will further decrease or increase – making sure to only buy or sell when the trend reverses.
SMACROSSSimple moving average cross: uses crossings of fast and slow SMA to trade when price direction changes.
tsaTime series analysis: tries to predict future prices and trades on predicted trend reversals.
tsslTrailing Stop / Stop Limit: uses a moving range around market prices for buying and selling, trailing optimal buy and sell levels.

Keep in mind that not all combinations of buy/sell methods are a good match to use together with trailing or certain confirming indicators.

For example using MACD, which triggers only in cycles where the MACD line crosses the signal line, together with Stochastic (in cross mode, which also only triggers in cycles with an indicator cross) as confirming indicator is a bad combination because both MACD and Stochastic must cross in the same cycle – very much reducing your opportunities for a trade.


Indicator based sell methods generally have no protection against selling below break-even point. Some buy methods allow for pyramid buying.

See the tables below for details about protections/constraints per method.

Regular trading

MethodAllows for pyramid buying?Protection against buying above EMA?Protection against selling below break-even point?

Margin trading

MethodRequires LONG_LEVEL / SHORT_LEVEL confirmation?

Using overrides

Settings for strategies are global, and apply to all pairs that you set to run on this strategy. When you need to make changes in the strategy settings for individual pairs, you can configure this using overrides for these pairs.

On the pair level you can define exceptions for parts of a strategy. You could for example use a higher TRADING_LIMIT on a pair that you see particular potential in. The following example does just that.

"BTC-ADA": {
	"strategy": "stepgain",
	"enabled": true,
	"override": {
                "TRADING_LIMIT": 9000.00,

This example shows how the override looks in the config file. Overrides can also be added easily with the GUI.

Strategy naming

You can create multiple variants of the same strategy, and give them an own name.

For example, you could save a second stepgain strategy under a different name – just make sure the BUY_METHOD and SELL_METHOD parameters matches one of the availabe strategies listed on top of this page.

"Bullish-stepgain": {
	"BUY_METHOD": "stepgain",
	"SELL_METHOD": "stepgain",

The pair syntax to use this strategy would then look like:

"BTC-ADA": {
	"strategy": "Bullish-stepgain",
	"enabled": true,
	"override": {  },

These examples show how this looks the config file. Creating strategies can be done easily with the GUI.