PingPong

This strategy can be used for pairs that move up and down between a predictable price range for longer periods. You set fixed prices at which Gunbot should buy and sell, Gunbot will buy or sell as soon as the exact target is hit or exceeded.

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 at a specific price only when RSI is 30 or lower.

This strategy can be also used to trade purely on signals from confirming indicators, by setting unrealistic buy and sell prices.

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

Trading example

pp

Example of how trading with this strategy can perform. Details and settings

Strategy parameters

Following settings options are available for pp 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 pp. 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 pp as buy method.

ParameterDefault valueDescription
PP_BUY0Values: numerical – represents a price in base currency.
This sets the exact target price for placing a buy order. A buy order will be placed as soon as this price is hit or an even better price is available.For example: when trading a BTC-x pair with PP_BUY set to 0.00123456, a buy order will be placed in the first cycle where the price reaches 0.00123456 or lower.
BUY_ENABLEDtrueValues: true or false.
Set this to false to prevent Gunbot from placing buy orders. Affects all types of buy orders.
NBA0Values: 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.

Sell settings

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

ParameterDefault valueDescription
PP_SELL99999Values: numerical – represents a price in base currency.
This sets the exact target price for placing a sell order. A sell order will be placed as soon as this price is hit or an even better price is available.For example: when trading a BTC-x pair with PP_SELL set to 0.00123456, a buy order will be placed in the first cycle where the price reaches 0.00123456 or lower.
SELL_ENABLEDtrueValues: true or false.
Set this to false to prevent Gunbot from placing sell orders. Affects all types of sell orders.
DOUBLE_CHECK_GAINtrueValues: true or false.
Disable this to allow sell orders below the break-even point.
GAIN0.5Values: numerical – represents a percentage.
This sets the minimum target for selling when DOUBLE_CHECK_GAIN is enabled.

Balance settings

Go to balance settings

Indicator settings

Relevant indicators for trading with pp

As pp is purely price based, there are no indicators that directly influence trading with pp.

Confirming indicators + advanced indicator settings

Go to confirming indicators

Dollar cost avg settings

Go to Dollar cost avg (DCA)

Reversal trading settings

Go to reversal trading

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.

Go to Trailme

Misc settings

Go to 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_LEVELPlaceholder.
BUY_RANGEPlaceholder.
DISPLACEMENTPlaceholder.
FAST_SMAPlaceholder.
HIGH_BBPlaceholder.
KIJUN_CLOSEPlaceholder.
KIJUN_PERIODPlaceholder.
KIJUN_STOPPlaceholder.
KUMO_CLOSEPlaceholder.
KUMO_SENTIMENTSPlaceholder.
KUMO_STOPPlaceholder.
LEVERAGEPlaceholder.
LONG_LEVELPlaceholder.
LOW_BBPlaceholder.
MACD_LONGPlaceholder.
MACD_SHORTPlaceholder.
MACD_SIGNALPlaceholder.
MAKER_FEESPlaceholder.
MEAN_REVERSIONPlaceholder.
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.
SENKOUSPAN_PERIODPlaceholder.
SHORT_LEVELPlaceholder.
SLOW_SMAPlaceholder.
TAKE_BUYPlaceholder.
TAKE_PROFITPlaceholder.
TBUY_RANGEPlaceholder.
TENKAN_CLOSEPlaceholder.
TENKAN_PERIODPlaceholder.
TENKAN_STOPPlaceholder.
TP_PROFIT_ONLYPlaceholder.
TP_RANGEPlaceholder.
TSSL_TARGET_ONLYPlaceholder.
USE_RENKOPlaceholder.