Merge pull request #47 from freqtrade/strat005
The strategy should use rolling volume, not absolute mean
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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) &
|
||||
|
||||
Reference in New Issue
Block a user