From ec75586bddc979660de036fe19d69be2d83cfd54 Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Sat, 18 Nov 2017 08:45:57 +0200 Subject: [PATCH] new buy strategy --- freqtrade/analyze.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/freqtrade/analyze.py b/freqtrade/analyze.py index 347d127ad..775f7e79e 100644 --- a/freqtrade/analyze.py +++ b/freqtrade/analyze.py @@ -67,11 +67,10 @@ def populate_buy_trend(dataframe: DataFrame) -> DataFrame: :return: DataFrame with buy column """ dataframe.loc[ - (dataframe['close'] < dataframe['sma']) & (dataframe['tema'] <= dataframe['blower']) & - (dataframe['mfi'] < 25) & - (dataframe['fastd'] < 25) & - (dataframe['adx'] > 30), + (dataframe['rsi'] < 37) & + (dataframe['fastd'] < 48) & + (dataframe['adx'] > 31), 'buy'] = 1 return dataframe