freqtrade/freqtrade

View on GitHub
freqtrade/templates/strategy_subtemplates/buy_trend_full.j2

Summary

Maintainability
Test Coverage
(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