From a4a985bebfbd38dbc5573d3cff8ca61eefd56b47 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 4 Jun 2020 14:41:15 +0200 Subject: [PATCH] Fix docstring, increase stoploss Using a pretty generic stoploss of 0.05. (0.003 was too specific and will not work in realistic scenarios). --- .../berlinguyinca/TDSequentialStrategy.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/user_data/strategies/berlinguyinca/TDSequentialStrategy.py b/user_data/strategies/berlinguyinca/TDSequentialStrategy.py index 97d1ba3..0390849 100644 --- a/user_data/strategies/berlinguyinca/TDSequentialStrategy.py +++ b/user_data/strategies/berlinguyinca/TDSequentialStrategy.py @@ -7,11 +7,17 @@ from freqtrade.strategy.interface import IStrategy class TDSequentialStrategy(IStrategy): """ - Default Strategy provided by freqtrade bot. - Please do not modify this strategy, it's intended for internal use only. - Please look at the SampleStrategy in the user_data/strategy directory - or strategy repository https://github.com/freqtrade/freqtrade-strategies - for samples and inspiration. + Strategy based on TD Sequential indicator. + + Buy trigger: + When you see 9 consecutive closes "lower" than the close 4 bars prior. + An ideal buy is when the low of bars 6 and 7 in the count are exceeded by the low of bars 8 or 9. + + Sell trigger: + When you see 9 consecutive closes "higher" than the close 4 candles prior. + An ideal sell is when the the high of bars 6 and 7 in the count are exceeded by the high of bars 8 or 9. + + Created by @bmoulkaf """ INTERFACE_VERSION = 2 @@ -19,7 +25,7 @@ class TDSequentialStrategy(IStrategy): minimal_roi = {'0': 5} # Optimal stoploss designed for the strategy - stoploss = -0.003 + stoploss = -0.05 # Optimal ticker interval for the strategy ticker_interval = '1h'