Skip to main content

Tenkan

An easy to use strategy with built in DCA and ROE trailing, using the Ichimoku tenkan line.

tip

This strategy uses a limited subset of the regularly available strategy settings.
Only the strategy options shown in the strategy editor for Tenkan have an effect.

Trading behavior​

A long position is opened when price is below kumo and tenkan crosses down the candle body.
If the same happens again at a price at least 'DCA spread' below the previous order, a DCA order is placed.

A short position is opened when price is above kumo and tenkan crosses up the candle body.
If the same happens again at a price at least 'DCA spread' above the previous order, a DCA order is placed.

To close a trade, the opposite conditions of opening it must happen and ROE scalper must finish trailing.

Typical trades using the tenkan strategy

Tenkan settings​

Basic Settings​

LabelConfig ParameterDefault ValueDetailed Description
Trading limitTRADING_LIMIT20The base amount you will invest for each individual buy order.
Max open contractsMAX_OPEN_CONTRACTS0Sets the maximum size of a futures position, expressed in quote units (e.g., BTC in a USDT-BTC pair).

If executing a subsequent order would exceed this limit, the order will not be placed. If the position size exceeds this limit, a reduction of the position will be enforced to comply with the set maximum.

Customize targets​

LabelConfig ParameterDefault ValueDetailed Description
ROEROE1Targets a Return on Equity (ROE) to close positions. The ROE is calculated based on the leverage used.
ROE limitROE_LIMIT1Defines a trailing range for ROE trailing as a percentage of the actual ROE.
DCA spreadDCA_SPREAD2Specifies the minimum percentage distance between the last order rate and the placement of Dollar Cost Averaging (DCA) orders.

Indicators​

LabelConfig ParameterDefault ValueDetailed Description
PeriodPERIOD15Chooses the candle period used for calculating auto step size and trailing range. Lower values lead to higher trading frequency and associated risk.
Tenkan periodTENKAN_PERIOD9Defines the number of candles to use for the calculation of the Tenkan-sen indicator.
Kijun periodKIJUN_PERIOD26Specifies the number of candles used to calculate the Kijun-sen indicator.
Senkouspan periodSENKOUSPAN_PERIOD52Determines the number of candles used for calculating the Senkou-span.
DisplacementDISPLACEMENT26Indicates the number of candles to displace the Chikou-span and Kumo in the Ichimoku Kinko Hyo indicator.
Candles lengthCANDLES_LENGTH400Specifies the number of candles requested from the exchange. Ensure this value is at least equal to the highest period setting among your indicators to maintain data consistency.

Advanced​

LabelConfig ParameterDefault ValueDetailed Description
Market buyMARKET_BUYTruePlaces buy orders as market orders. When disabled, buy orders are placed as limit orders.
Market sellMARKET_SELLTruePlaces sell orders as market orders. When disabled, sell orders are placed as limit orders.
Market closeMARKET_CLOSEFalsePlaces close orders as market orders. When disabled, close orders are sent as limit orders.
Maker feesMAKER_FEESFalseEnables the use of Post Only orders on Bitmex. It is usually paired with a negative pre-order gap setting to take advantage of reduced fees for maker orders.
ROE spreadROE_SPREAD0Allows for the placement of an additional order worth the trading limit when ROE reaches the target and continues increasing by the specified ROE spread. A setting of 0 disables this feature.