Skip to main content

Ichimoku

Using the Ichimoku indicator, you can setup Gunbot to trade when a complete candle crosses Kumo, Tenkan-Sen or Kijun-Sen. You can configure which line should be used for buy and/or sell orders.

warning

Gain protection is optional for this strategy. Be aware that this can lead to sell orders below your break-even point.

How to work with this strategy#

Buying#

A buy order is placed when the current candle goes completely below Kumo, Tenkan-Sen or Kijun-Sen. You can configure which line should be used for buy orders.

Selling#

A sell order is placed when the current candle goes completely above Kumo, Tenkan-Sen or Kijun-Sen. You can configure which line should be used for sell orders.

Using an additional momentum indicator is recommended.

Strategy parameters#

Following settings options are available for ichimoku and can be set in the strategy configurator of the GUI or the strategies section of the config.js file.

These settings are global and apply to all pairs running this strategy. When you want a specific parameter to be different for one or more pairs, use an override at the pair level.

Using the BUY_METHOD and SELL_METHOD parameters you can combine different methods for buying and selling. This strategy page assumes both BUY_METHOD and SELL_METHOD are set to ichimoku. Accepted values are all strategy names as listed here.

Buy settings#

Buy settings are the primary trigger for buy orders. These parameters control the execution of buy orders when using ichimoku as buy method.

Buy enabled#

Set this to false to prevent Gunbot from placing buy orders.


NBA#

"Never Buy Above". Use this to only allow buy orders below the last sell rate.

This sets the minimum percentage difference between the last sell order and the next buy. The default setting of 0 disables this option.

When set to 1, Gunbot will only place a buy order when the strategy buy criteria meet and price is at least 1% below the last sell price.


Take Buy#

With this setting enabled, Gunbot will try to take any buy chance between the strategy entry point and your setting for TBUY_RANGE.

As soon as the ask price drops below the upper border of this range (called "Take Buy"), it will trail down with a range of TBUY_RANGE and place a buy order as soon as the ask price crosses up "Take Buy". Confirming indicators in use are respected.

Normal strategy buy orders are still possible while using TAKE_BUY.

This option should not be used together with reversal trading.


TBuy Range#

This sets the buy range for TAKE_BUY.

When set to 0.5, the initial trailing stop is set 0.5% above the entry point defined by BUY_LEVEL.


Buy Level#

This sets entry point for TAKE_BUY at a percentage below the lowest EMA.

When you set this to 1, the entry point will be set 1% below the currently lowest EMA.


Sell settings#

Sell settings are the primary trigger for sell orders. These parameters control the execution of sell orders when using ichimoku as sell method.

Sell enabled#

Set this to false to prevent Gunbot from placing sell orders.


Take Profit#

With this setting enabled, Gunbot will try to take any possible profit between the break-even point and your strategy exit point. This can be useful, for example, on days where the markets move very slowly.

It works by trailing prices upwards between the break-even point and the strategy exit point, with a configurable range for trailing: TP_RANGE. A sell order will be placed when the trailing stop limit is hit or strategy sell conditions are reached. Confirming indicators in use are respected.

Sells at minimal loss are possible when using TAKE_PROFIT, acting as a sort of mini stop loss.

This option should not be used together with reversal trading or DOUBLE_CHECK_GAIN


TP Range#

This sets the sell range for TAKE_PROFIT.

When set to 0.5, the initial trailing stop is set 0.5% below the break-even point.


TP Profit Only#

Enable this to only allow sell orders above the break-even point.


Double Check Gain#

Disable this to allow sell orders below the break-even point.


Gain#

This sets the minimum target for selling when DOUBLE_CHECK_GAIN is enabled.


Indicator settings#

Relevant indicators for trading with ichimoku.

These settings have a direct effect on trading with ichimoku.

Period#

This sets the candlestick period used for trading, this affects all indicators within the strategy.

Only use supported values.

Setting a short period allows you to trade on shorter trends, but be aware that these will be noisier than longer periods.


Tenkan Period#

Set this to the number of candlestick periods you want to use for calculating Tenkan-sen.

This parameter is for what's called "conversion line" on TradingView.


Kijun Period#

Set this to the number of candlestick periods you want to use for calculating Kijun-sen.

This parameter is for what's called "base line" on TradingView.


Senkouspan Period#

Set this to the number of candlestick periods you want to use for calculating Senkou span.

This parameter is for what's called "Lead" on TradingView.


Displacement#

Set this to the number of candlestick periods you want to use for displacing Kumo and Chikou-span.


Kumo Buy#

Enable this to buy when the last candle moves completely below Kumo.

Do not enable multiple buy triggers.


Tenkan Buy#

Enable this to buy when the last candle moves completely below Tenkan-sen.

Do not enable multiple buy triggers.


Kijun Buy#

Enable this to buy when the last candle moves completely below Kijun-sen.

Do not enable multiple buy triggers.


Kumo Sell#

Enable this to sell when the last candle moves completely above Kumo.

Do not enable multiple sell triggers.


Tenkan Sell#

Enable this to sell when the last candle moves completely above Tenkan-sen.

Do not enable multiple buy triggers.


Kijun Sell#

Enable this to sell when the last candle moves completely above Kijun-sen.

Do not enable multiple sell triggers.


Kumo Sentiments#

Enable this to only allow trades when they are confirmed by the cloud. Set this to false to ignore Kumu trends.

When enabled, buy orders can only happen above Kumo, sell orders can only happen below Kumo.


TrailMe settings#

Parameters to configure additional trailing for various types of orders. Trailing works just like it does for the TSSL strategy, the difference being the starting point of trailing.

Orders resulting from trailing are only placed when the main strategy criteria are met, and confirming indicators (if any) allow the order. All these conditions must occur in the same cycle.

The strategy requirements for this strategy are that the last candle is completely above/below the set ichimoku line, this leaves room for additional trailing.

TrailMe settings

Balance settings#

Balance settings

Confirming indicator + advanced indicator settings#

Confirming indicators

Dollar cost avg settings#

DCA options

Reversal trading settings#

Reversal trading options

Misc settings#

Misc settings

Placeholders#

The following parameters in config.js have no function for this strategy and act as placeholder.

ParameterDescription
ATRXPlaceholder.
ATR_PERIODPlaceholder.
BUYLVL1Placeholder.
BUYLVL2Placeholder.
BUYLVL3Placeholder.
BUYLVLPlaceholder.
BUY_RANGEPlaceholder.
FAST_SMAPlaceholder.
HIGH_BBPlaceholder.
ICHIMOKU_PROTECTIONPlaceholder.
KIJUN_CLOSEPlaceholder.
KIJUN_STOPPlaceholder.
KUMO_CLOSEPlaceholder.
KUMO_STOPPlaceholder.
LEVERAGEPlaceholder.
LONG_LEVELPlaceholder.
LOW_BBPlaceholder.
MACD_LONGPlaceholder.
MACD_SHORTPlaceholder.
MACD_SIGNALPlaceholder.
MAKER_FEESPlaceholder.
MEAN_REVERSIONPlaceholder.
PP_BUYPlaceholder.
PP_SELLPlaceholder.
PRE_ORDER_GAPPlaceholder.
PRE_ORDERPlaceholder.
RENKO_ATRPlaceholder.
RENKO_BRICK_SIZEPlaceholder.
RENKO_PERIODPlaceholder.
ROE_CLOSEPlaceholder.
ROE_LIMITPlaceholder.
ROE_TRAILINGPlaceholder.
ROEPlaceholder.
SELLLVL1Placeholder.
SELLLVL2Placeholder.
SELLLVL3Placeholder.
SELLLVLPlaceholder.
SELL_RANGEPlaceholder.
SHORT_LEVELPlaceholder.
SLOW_SMAPlaceholder.
TENKAN_CLOSEPlaceholder.
TENKAN_STOPPlaceholder.
TSSL_TARGET_ONLYPlaceholder.
USE_RENKOPlaceholder.