Merge pull request #47 from freqtrade/strat005

The strategy should use rolling volume, not absolute mean
This commit is contained in:
hroff-1902
2019-11-21 11:17:29 +03:00
committed by GitHub
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class Strategy001(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
ta_on_candle = False
process_only_new_candles = False
# Experimental settings (configuration will overide these if set)
use_sell_signal = True
+1 -1
View File
@@ -42,7 +42,7 @@ class Strategy002(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
ta_on_candle = False
process_only_new_candles = False
# Experimental settings (configuration will overide these if set)
use_sell_signal = True
+1 -1
View File
@@ -42,7 +42,7 @@ class Strategy003(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
ta_on_candle = False
process_only_new_candles = False
# Experimental settings (configuration will overide these if set)
use_sell_signal = True
+2 -2
View File
@@ -41,7 +41,7 @@ class Strategy004(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
ta_on_candle = False
process_only_new_candles = False
# Experimental settings (configuration will overide these if set)
use_sell_signal = True
@@ -55,7 +55,7 @@ class Strategy004(IStrategy):
'stoploss': 'market',
'stoploss_on_exchange': False
}
def informative_pairs(self):
"""
Define additional, informative pair/interval combinations to be cached from the exchange.
+2 -2
View File
@@ -44,7 +44,7 @@ class Strategy005(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
ta_on_candle = False
process_only_new_candles = False
# Experimental settings (configuration will overide these if set)
use_sell_signal = True
@@ -124,7 +124,7 @@ class Strategy005(IStrategy):
# Prod
(
(dataframe['close'] > 0.00000200) &
(dataframe['volume'] > dataframe['volume'].mean() * 4) &
(dataframe['volume'] > dataframe['volume'].rolling(200).mean() * 4) &
(dataframe['close'] < dataframe['sma']) &
(dataframe['fastd'] > dataframe['fastk']) &
(dataframe['rsi'] > 0) &