This strategy is true when the RANGEFILTER return value is equal to your buy or sell value.
Use Tradingview to visualize this indicator.
View on TradingView
# Buy when RANGEFILTER is showing an uptrend.
DEFAULT_A_buy_strategy = RANGEFILTER
DEFAULT_A_buy_value = 1
# Sell when RANGEFILTER is showing a downtrend.
DEFAULT_A_sell_strategy = RANGEFILTER
DEFAULT_A_sell_value = -1
# Buy when RANGEFILTER is showing an uptrend.
DEFAULT_DCA_A_buy_strategy = RANGEFILTER
DEFAULT_DCA_A_buy_value = 1
# Sell when RANGEFILTER is showing a downtrend.
DEFAULT_DCA_A_sell_strategy = RANGEFILTER
DEFAULT_DCA_A_sell_value = -1
# 1 hour candle / timeframe
RANGEFILTER_candle_period = 3600
RANGEFILTER_length = 100
RANGEFILTER_multiplier = 3