This buy strategy is true when the price of the coin has changed by the set percentage in the last x time frame.
CHANGEPERCENTAGE_length
CHANGEPERCENTAGE_candle_period
# Buy when CHANGEPERCENTAGE is below -8%
DEFAULT_D_buy_strategy_label = LASTHOURCHANGE
DEFAULT_D_buy_strategy = CHANGEPERCENTAGE
DEFAULT_D_buy_value = -8
# Sell when CHANGEPERCENTAGE is above 2%
DEFAULT_D_sell_strategy_label = LASTHOURCHANGE
DEFAULT_D_sell_strategy = CHANGEPERCENTAGE
DEFAULT_D_sell_value = 2
# Buy when CHANGEPERCENTAGE is anywhere between 5 and 10
DEFAULT_DCA_D_buy_strategy_label = LASTHOURCHANGE
DEFAULT_DCA_D_buy_strategy = CHANGEPERCENTAGE
DEFAULT_DCA_D_buy_value = 5
DEFAULT_DCA_D_buy_value_limit = 10
# Sell when CHANGEPERCENTAGE is below -2
DEFAULT_DCA_D_sell_strategy_label = LASTHOURCHANGE
DEFAULT_DCA_D_sell_strategy = CHANGEPERCENTAGE
DEFAULT_DCA_D_sell_value = -2
# 5 minutes candle / timeframe
# Using the 5 minute timeframe we specify to look at 12 candles.
# This would make 1 hour. 5 * 12 = 60 minutes.
LASTHOURCHANGE_candle_period = 300
LASTHOURCHANGE_length = 12
Higher candle period makes the changepercentage value less accurate