Skip to main content

Stepgridhybrid (sgh)

This strategy integrates grid methodology from the stepgrid strategy and merges it with a trend monitor that constantly assesses the market on 15-minute, 1-hour, and 4-hour timeframes.

Stepgridhybrid offers numerous customization possibilities, including:

  • 'trading modes' determining when to commence and cease trading a pair
  • tracking remaining unsold buy volume below the current price
  • automatically bypassing grid steps, such as during a rapid price decline from a recently traded range
  • placing supplementary orders based on trend triggers, alongside grid orders
  • compatibility with manual trades on the same pair

Trading Behavior

In its essential state, stepGridHybrid resembles stepGrid, but with one distinction: sell amounts are determined by the remaining buy volume under the current price. This implies that skipping buy steps (either deliberately or accidentally) is possible; once trading resumes at a lower level, units bought at higher prices will not be sold until the overall break-even price is achieved.

The integrated trend module provides settings to modify trading behavior, such as:

  • specifying when to initiate a new trade
  • placing additional buy orders during a price surge
  • bypassing buy steps when price movement is negative
  • increasing sell target and trailing range when price action is positive

When utilizing stepgridhybrid, expect this type of trading conduct:

sgh trades

Here's an analysis of what actually transpires:

  • The majority of trades adhere to the same principles as the stepgrid strategy
  • Sell amounts are dynamic, with each sell order offloading the remaining volume acquired at lower prices * 'partial sell ratio'
  • When the price dropped rapidly, numerous buy steps were skipped to allocate funds later
  • If no position is held, the bot will purchase again when either the next buy or sell step is reached - provided the present trading mode permits opening new trades at that moment

Bypassing Steps

Bypassing grid steps

The annotated areas in the screenshot above represent intentionally skipped buy steps. There are various triggers for bypassing steps, some of them can be adjusted through settings, while others are fixed.

Non-Grid Orders

Orders triggered by non-grid events

The annotated areas in the screenshot above illustrate additional buy orders activated by trend module-detected conditions. Such orders do not affect active grid targets.

Trading Modes

Trading mode settings primarily determine when to initiate and conclude grid trading. By default, the strategy operates without restrictions, allowing new trades to open at any time.

By applying one of the available trading modes, new trade openings are limited by the entry and exit criteria of the chosen mode. This means that once all assets have been sold, a new trade can only be opened if the mode permits it.

Only one mode should be used at a time; employing multiple modes on a single pair may result in unwanted behavior.


Trading modes can impose significant constraints. It is possible for several weeks or more to elapse between two 'entry signals' detected on the same pair.

Manual Trading Range Mode

Manually establish a price range for permitting new trades. An optional stop limit price can be included.

TA Mode

Initiates trading upon detecting entry conditions for one of several TA fractals and prohibits new trades when one or more exit situations are identified. Consider 'fractals' as an effort to recognize various bullish reversal patterns.

This mode features an optional stop-loss trigger.

Volatility Mode

Seeks pairs currently in a 4-hour timeframe uptrend and within the lower section of a volatility zone. Allows trading from near the bottom to the top of an anticipated volatility range.

This mode includes a profit-stop mechanism automatically activated near the top of the zone, as well as an optional stop-loss trigger.

Pullback Mode

When one of several pullback situations is detected on the 4-hour timeframe, new trades are permitted until 15 minutes after the scenario becomes invalid.

This mode automatically raises the invested amount for the initial few trades.