Ichimoku
With the Ichimoku indicator, you can configure Gunbot to execute trades when a full candle crosses either the Kumo, Tenkan-Sen, or Kijun-Sen lines. It's possible to customize which line is used for buy and/or sell orders.
The Ichimoku indicator, also known as the Ichimoku Kinko Hyo, is a popular trading tool that provides multiple pieces of information on a single chart. This technical analysis tool was developed by Japanese journalist Goichi Hosoda in the 1930s and is designed to offer a comprehensive view of potential price action.
The Ichimoku indicator consists of five lines, each providing different data points, including support and resistance levels, trend direction, and momentum strength. The five lines are as follows: Tenkan-Sen (conversion line), Kijun-Sen (base line), Chikou Span (lagging line), Senkou Span A (leading span A), and Senkou Span B (leading span B). Overall, the Ichimoku indicator aims to help traders identify trends, momentum, and potential areas for entry and exit points.
How to work with it
Buy method conditions
A buy order is allowed when the current candle goes completely below Kumo, Tenkan-Sen or Kijun-Sen. You can configure which line should be used for buy orders.
Sell method conditions
A sell order is allowed 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.
Gain protection is optional for this strategy. Be aware that this can lead to sell orders below your break-even point.
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
- Description
- Values
- Order types
- Name
Set this to false to prevent Gunbot from placing buy orders.
Values: true or false
Default value: true
Affects | Does not affect |
---|---|
Strategy buy | Strategy sell |
DCA buy | Stop limit |
RT buy | Close |
RT buyback | RT sell |
Parameter name in config.js
: BUY_ENABLED
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
- Description
- Values
- Order types
- Name
Set this to false to prevent Gunbot from placing sell orders.
Values: true or false
Default value: true
Affects | Does not affect |
---|---|
Strategy sell | Strategy buy |
Stop limit | RT buy |
RT sell | RT buyback |
Close | |
DCA buy |
Parameter name in config.js
: SELL_ENABLED
Gain
- Description
- Values
- Order types
- Name
This sets the minimum target for selling when DOUBLE_CHECK_GAIN
is enabled.
Values: numerical – represents a percentage.
Default value: 0.5
Affects | Does not affect |
---|---|
Strategy sell | Strategy buy |
RT buy | |
RT buyback | |
RT sell | |
Close | |
DCA buy | |
Stop limit | |
Parameter name in config.js
: GAIN
Indicator settings
Relevant indicators for trading with ichimoku.
These settings have a direct effect on trading with ichimoku
.
Period
- Description
- Values
- Order types
- Name
This sets the candlestick period used for trading, this affects all indicators within the strategy.
Only use supported values. The trading settings editor suggests valid values for the selected exchange..
Setting a short period allows you to trade on shorter trends, but be aware that these will be noisier than longer periods.
Values: numerical– represents candlestick size in minutes.
Default value: 15
Affects | Does not affect |
---|---|
Strategy sell | RT buy |
Strategy buy | RT buyback |
DCA buy (when using an indicator to trigger) | RT sell |
Close | |
Stop limit |
Parameter name in config.js
: PERIOD
Tenkan Period
- Description
- Values
- Order types
- Name
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.
Values: numerical, represents a number of candlestick periods.
Default value: 9
Affects | Does not affect |
---|---|
Strategy sell | RT buy |
Strategy buy | RT buyback |
RT sell | |
Close | |
Stop limit | |
DCA buy |
Parameter name in config.js
: TENKAN_PERIOD
Kijun Period
- Description
- Values
- Order types
- Name
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.
Values: numerical, represents a number of candlestick periods.
Default value: 26
Affects | Does not affect |
---|---|
Strategy sell | RT buy |
Strategy buy | RT buyback |
RT sell | |
Close | |
Stop limit | |
DCA buy |
Parameter name in config.js
: KIJUN_PERIOD
Senkouspan Period
- Description
- Values
- Order types
- Name
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.
Values: numerical, represents a number of candlestick periods.
Default value: 52
Affects | Does not affect |
---|---|
Strategy sell | RT buy |
Strategy buy | RT buyback |
RT sell | |
Close | |
Stop limit | |
DCA buy |
Parameter name in config.js
: SENKOUSPAN_PERIOD
Displacement
- Description
- Values
- Order types
- Name
Set this to the number of candlestick periods you want to use for displacing Kumo and Chikou-span.
Values: numerical, represents a number of candlestick periods.
Default value: 26
Affects | Does not affect |
---|---|
Strategy sell | RT buy |
Strategy buy | RT buyback |
RT sell | |
Close | |
Stop limit | |
DCA buy |
Parameter name in config.js
: DISPLACEMENT
Kumo Buy
- Description
- Values
- Order types
- Name
Enable this to buy when the last candle moves completely below Kumo.
Do not enable multiple buy triggers.
Values: true or false
Default value: false
Affects | Does not affect |
---|---|
Strategy buy | Strategy sell |
RT buy | |
RT buyback | |
RT sell | |
Close | |
DCA buy | |
Stop limit | |
Parameter name in config.js
: KUMO_BUY
Tenkan Buy
- Description
- Values
- Order types
- Name
Enable this to buy when the last candle moves completely below Tenkan-sen.
Do not enable multiple buy triggers.
Values: true or false
Default value: true
Affects | Does not affect |
---|---|
Strategy buy | Strategy sell |
RT buy | |
RT buyback | |
RT sell | |
Close | |
DCA buy | |
Stop limit | |
Parameter name in config.js
: TENKAN_BUY
Kijun Buy
- Description
- Values
- Order types
- Name
Enable this to buy when the last candle moves completely below Kijun-sen.
Do not enable multiple buy triggers.
Values: true or false
Default value: false
Affects | Does not affect |
---|---|
Strategy buy | Strategy sell |
RT buy | |
RT buyback | |
RT sell | |
Close | |
DCA buy | |
Stop limit | |
Parameter name in config.js
: KIJUN_BUY
Kumo Sell
- Description
- Values
- Order types
- Name
Enable this to sell when the last candle moves completely above Kumo.
Do not enable multiple sell triggers.
Values: true or false
Default value: false
Affects | Does not affect |
---|---|
Strategy sell | Strategy buy |
RT buy | |
RT buyback | |
RT sell | |
Close | |
DCA buy | |
Stop limit | |
Parameter name in config.js
: KUMO_SELL
Tenkan Sell
- Description
- Values
- Order types
- Name
Enable this to sell when the last candle moves completely above Tenkan-sen.
Do not enable multiple buy triggers.
Values: true or false
Default value: true
Affects | Does not affect |
---|---|
Strategy sell | Strategy buy |
RT buy | |
RT buyback | |
RT sell | |
Close | |
DCA buy | |
Stop limit | |
Parameter name in config.js
: TENKAN_SELL
Kijun Sell
- Description
- Values
- Order types
- Name
Enable this to sell when the last candle moves completely above Kijun-sen.
Do not enable multiple sell triggers.
Values: true or false
Default value: false
Affects | Does not affect |
---|---|
Strategy sell | Strategy buy |
RT buy | |
RT buyback | |
RT sell | |
Close | |
DCA buy | |
Stop limit | |
Parameter name in config.js
: KIJUN_SELL
Kumo Sentiments
- Description
- Values
- Order types
- Name
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.
Values: true or false
Default value: true
Affects | Does not affect |
---|---|
Strategy sell | RT buy |
Strategy buy | RT buyback |
RT sell | |
Close | |
Stop limit | |
DCA buy |
Parameter name in config.js
: KUMO_SENTIMENTS