Skip to main content

About Strategy Builder

The strategy builder for spot markets in Gunbot allows you to create and personalize your trading strategies with a wide range of options. You can choose any two methods as the primary buy and sell triggers, giving you flexibility and control over your trading decisions.

In addition to the primary order triggers, there are several modules available to extend the functionality of your strategy. These modules include categories such as Balance, Indicator, TrailMe, DCA, Confirming Indicators, Reversal Trading, Stop Loss, and Miscellaneous.

tip

A builder strategy is a set of conditions that must all be met before a trade is executed. For example, even if the buy method criteria are satisfied, the strategy will not execute a trade until all other specified conditions, such as confirmation from an indicator or additional trailing requirements, are also met simultaneously.

Available Buy and Sell Methods

The strategy builder offers various methods for buying and selling, each with its unique approach. Here's a detailed look at the available methods:

MethodDescription
adxUses the ADX indicator to trade only when trends are strong enough. This method helps to filter out trades during periods of low market activity.
atrtsUses the ATR indicator to measure volatility changes and trade on a trailing stop. This method is particularly useful in highly volatile markets.
bbBuys and sells at configurable points between the lower and upper Bollinger Bands, helping to capitalize on volatility and mean reversion.
bbtaBuys and sells after a reentry at configurable points between the lower and upper Bollinger Bands, allowing for refined entries and exits.
emaspreadUses the spread between slow and fast EMA to trade when price direction changes, ideal for trend-following strategies.
emotionlessA "just works" strategy with minimal configurable parameters, perfect for novice traders who want to get started quickly.
gainBuys at a percentage below EMA and sells when your set gain is reached, providing a straightforward approach to profit-taking.
ichimokuA trading algorithm based on the Ichimoku cloud indicator, which provides multiple lines of support/resistance and trend signals.
macdUses the MACD indicator to trade when momentum changes, suitable for capturing market reversals and continuations.
macdhUses the MACD histogram to trade when momentum changes, offering a different perspective on market momentum.
ppSets a fixed buy and sell price, ideal for coins that stay within a predictable price range, perfect for range-bound trading.
stepgainSimilar to gain, but after hitting initial buy or sell levels, it checks if prices will further decrease or increase, ensuring trades occur only when trends reverse.
smacrossUses crossings of fast and slow SMA to trade when price direction changes, useful for detecting new trends early.
supportresistanceBuys at support levels and sells at resistance levels, leveraging key market levels for trade entries and exits.
tsaTries to predict future prices and trades on predicted trend reversals, integrating predictive analytics into your trading.
tsslUses a moving range around market prices for buying and selling, trailing optimal buy and sell levels to capture better trade opportunities.

Combining Methods

Not all combinations of buy/sell methods work well together, especially with trailing or confirming indicators. For example, using macd with a confirming indicator like Stochastic in cross mode may reduce trading opportunities because both indicators need to cross in the same cycle.

Common Building Blocks

The strategy builder includes several common building blocks to enhance your strategies. These components provide additional functionality and flexibility:

Balance Settings

Balance settings allow you to manage your capital allocation and risk. You can specify how much of your balance to allocate to each trade, ensuring you maintain a balanced and diversified portfolio.

Confirming Indicators

Confirming indicators are used to validate trade signals. For example, you can use a moving average crossover as the primary trigger and confirm it with a secondary indicator like RSI to reduce false signals and improve accuracy.

DCA (Dollar-Cost Averaging)

Dollar-cost averaging (DCA) helps to mitigate risk by spreading your investment across multiple buys. This approach can smooth out the impact of market volatility and reduce the risk of making a large purchase at a single price point.

Reversal Trading (RT)

Reversal trading focuses on identifying and trading market reversals. This module can help you capitalize on turning points in the market, potentially capturing significant price movements.

TrailMe

TrailMe implements trailing stops to maximize your profits. This feature adjusts the stop-loss level as the market price moves in your favor, locking in gains and protecting against reversals.

Miscellaneous Settings

Miscellaneous settings provide additional customization options to fine-tune your strategy. These may include parameters for managing slippage, order execution, and other advanced settings.

Protections

Trading methods come with various protections to manage risk and ensure strategic execution:

  • Pyramid Buying: Some methods allow multiple buys, while others only permit a single buy. This feature helps manage risk by controlling how many times a position can be added to.
  • Buy Level: Protects against buying above the lowest EMA. For futures trading, these are called "Long level" and "Short level". This setting ensures that you buy at optimal prices relative to moving averages.
  • Sell Protection: Many methods prevent placing a sell order below the break-even point, with some methods making this optional. This feature helps protect your capital by ensuring you only sell at profitable levels.
  • Grid Strategies: These have built-in, generally non-configurable protections to manage the unique risks associated with grid trading. These protections include limits on the number of grid levels and controls on order spacing. Grid strategies are completely separate from the strategy builder.

Detailed Protections Per Method

MethodAllows Pyramid Buying?Buy Level Protection?Sell Protection (Gain)?
adxNoNoOptional
atrtsNoNoYes
bbNoYesYes
bbtaNoNoOptional
emaspreadNoNoOptional
emotionlessNoYesYes
gainNoYesYes
ichimokuNoNoOptional
macdYesNoOptional
macdhYesNoOptional
ppNoNoOptional
smacrossYesNoOptional
stepgainNoYesYes
supportresistanceYesNoYes
tsaNoNoYes
tsslNoYesYes

Enhancing Your Strategy

To optimize your trading strategy, consider these modules:

  • Balance Settings: Manage your capital allocation and risk. Learn more about Balance Settings.
  • Confirming Indicators: Use additional indicators to validate trade signals. Read about Confirming Indicators.
  • DCA (Dollar-Cost Averaging): Mitigate risk by spreading your investment across multiple buys. Explore DCA.
  • Reversal Trading (RT): Identify and trade on market reversals. Discover Reversal Trading.
  • TrailMe: Implement trailing stops to maximize profits. Check out TrailMe.
  • Miscellaneous: Additional settings and tools to customize your strategy. Learn about Miscellaneous Settings.

Conclusion

The Gunbot strategy builder provides a robust and flexible platform for creating personalized trading strategies. By leveraging the various buy and sell methods, along with advanced modules and protections, you can develop strategies tailored to your trading style and goals. Whether you are a novice trader or an experienced professional, the strategy builder offers the tools you need to succeed in spot markets.