Skip to main content

About Gunbot strategies

Trading methods#

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 main logic for buy and sell orders.

Gunbot has many 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 futures trading, has it's own wiki article describing the exact logic and explaining all available strategy parameters.

Available buy and sell 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.
futuresGridfuturesGrid: Like spotGridAdvanced, but for futures.
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.
SMACROSSSMA cross: uses crossings of fast and slow SMA to trade when price direction changes.
SupportResistanceSupport / Resistance: buy at support, sell at resistance.
spotGridspotGrid: Always in position DCA strategy for spot trading. Perfect for novice traders.
spotGridAdvancedspotGridAdvanced: Like spotGrid, but with a lot more options for customizing the strategy behavior.
stepGridstepGrid: Continuous trading strategy for spot markets, requires hardly any settings or effort. Perfect for novice traders.
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 as confirming indicator (in cross mode, which also only triggers in cycles with an indicator cross) is a bad combination because both MACD and Stochastic must cross in the same cycle - very much reducing your opportunities for a trade.

Protections#

Trading methods have a few common protections:

  • Some methods will only buy once, other can buy multiple times. This is called "pyramid buying".
  • "Buy level" is a setting that protects against buying above the lowest EMA. The equivalents to this for futures trading are called "Long level" and "Short level".
  • Many methods won't place a strategy sell order below the break-even point, in some methods this is optional.
  • the "grid" strategies come with their own built-in protections, these are generally not configurable.

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

Protections for regular trading (spot)#

MethodAllows for pyramid buying?Protection against buying above EMA? ("buy level")Protection against selling below break-even point? ("gain")
ADXnonooptional
ATRTSnonoyes
bbnoyesyes
BBTAnonooptional
EMASPREADnonooptional
emotionlessnoyesyes
gainnoyesyes
ichimokunonooptional
MACDyesnooptional
MACDHyesnooptional
ppnonooptional
SMACROSSyesnooptional
stepgainnoyesyes
spotGridyesnono
spotGridAdvancedyesnono
stepGridyesnono
SupportResistanceyesnoyes
tsanonoyes
tsslnoyesyes

Protections for futures trading#

MethodRequires LONG_LEVEL / SHORT_LEVEL confirmation?
ADXno
ATRTSno
bbyes
BBTAno
EMASPREADno
emotionlessyes
futuresGridno
gainyes
ichimokuno
MACDno
MACDHno
ppno
SMACROSSno
stepgainyes
tsano
tsslyes