This strategy is based on ADX, enabling Gunbot to buy when prices are moving up and ADX indicates a strong uptrend. Sell orders are placed when prices move down and a strong downtrend is measured.
To refine this strategy, other indicators are available to be used as confirmation for both buying and selling. For example you could have Gunbot buy when prices are moving up with a strong trend and RSI is 40 or lower.
Warning: Gain protection is optional for this strategy. Be aware that this can lead to sell orders below your break-even point.
The infographic below describes what triggers trades with this strategy.
Following settings options are available for ADX 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 ADX. Accepted values are all strategy names as listed here.
Buy settings are the primary trigger for buy orders. These parameters control the execution of buy orders when using ADX as buy method.
Values: true or false. Set this to false to prevent Gunbot from placing buy orders. Affects all types of buy orders.
Values: numerical, represents a percentage “Never Buy Above”. Use this to only allow buy orders below the last sell rate. This sets 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.
Values: true or false. 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.
Values: numerical – represents a percentage. 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.
Values: numerical – represent a percentage. 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 are the primary trigger for sell orders. These parameters control the execution of sell orders when using ADX as sell method.
Values: true or false. Set this to false to prevent Gunbot from placing sell orders. Affects all types of sell orders.
Values: true or false. 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 and DOUBLE_CHECK_GAIN
Values: numerical – represents a percentage. 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.
Values: true or false. Enable this to only allow sell orders above the break-even point.
Values: true or false. Disable this to allow sell orders below the break-even point.
Values: numerical – represents a percentage. This sets the minimum target for selling when DOUBLE_CHECK_GAIN is enabled.
These settings have a direct effect on trading with ADX.
Values: numerical– represents candlestick size in minutes. 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.
Values: numerical, ranging between 1 and 99. Sets the minimum trend level that needs to be reached for orders to be allowed. This affects both buy and sell orders.When set to 25, trades will be placed as soon as ADX is 25 or higher.
Values: numerical, ranging between 1 and 99. Sets the number of candles used to calculate ADX.