freqtrade_origin/freqtrade/templates/strategy_subtemplates/buy_trend_full.j2

4 lines
261 B
Django/Jinja

(qtpylib.crossed_above(dataframe["rsi"], self.buy_rsi.value)) & # Signal: RSI crosses above buy_rsi
(dataframe["tema"] <= dataframe["bb_middleband"]) & # Guard: tema below BB middle
(dataframe["tema"] > dataframe["tema"].shift(1)) & # Guard: tema is raising