freqtrade_origin/freqtrade/templates/strategy_subtemplates/sell_trend_full.j2

4 lines
262 B
Django/Jinja

(qtpylib.crossed_above(dataframe['rsi'], self.sell_rsi.value)) & # Signal: RSI crosses above sell_rsi
(dataframe['tema'] > dataframe['bb_middleband']) & # Guard: tema above BB middle
(dataframe['tema'] < dataframe['tema'].shift(1)) & # Guard: tema is falling