This strategy is true when the HOLDINGTIME is greater than the buy/sell value.
This strategy is calculated based on the first bought date / last bought date of our position. Setup using return_value
# Sell when we have held a position for more than 20 minutes
DEFAULT_D_sell_strategy = HOLDINGTIME
DEFAULT_D_sell_value = 20
# do a DCA buy when we have held a position for more than 60 minutes
DEFAULT_DCA_D_buy_strategy = HOLDINGTIME
DEFAULT_DCA_D_buy_value = 60
# Sell when we have held a position for more than 180 minutes
DEFAULT_DCA_D_sell_strategy = HOLDINGTIME
DEFAULT_DCA_D_sell_value = 180
# Nothing required
The holding time RESETS after each DCA buy.