diff --git a/user_data/strategies/custom_stoploss_with_psar.py b/user_data/strategies/custom_stoploss_with_psar.py index 6ba070e..13948fb 100644 --- a/user_data/strategies/custom_stoploss_with_psar.py +++ b/user_data/strategies/custom_stoploss_with_psar.py @@ -15,6 +15,7 @@ from datetime import datetime from freqtrade.persistence import Trade from freqtrade.state import RunMode + class CustomStoplossWithPSAR(IStrategy): """ this is an example class, implementing a PSAR based trailing stop loss @@ -23,7 +24,8 @@ class CustomStoplossWithPSAR(IStrategy): the populate_buy_trend() function is pretty nonsencial """ - + timeframe = '1h' + stoploss = -0.2 custom_info = {} use_custom_stoploss = True