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

note

This page describes trading methods that can be freely combined.

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.
smacrossSMA cross: uses crossings of fast and slow SMA to trade when price direction changes.
supportresistanceSupport / Resistance: buy at support, sell at resistance.
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
supportresistanceyesnoyes
tsanonoyes
tsslnoyesyes

Protections for futures trading

MethodRequires LONG_LEVEL / SHORT_LEVEL confirmation?
adxno
atrtsno
bbyes
bbtano
emaspreadno
emotionlessyes
gainyes
ichimokuno
macdno
macdhno
ppno
smacrossno
stepgainyes
tsano
tsslyes