Update user_data/strategies/Swing-High-To-Sky.py

Jep, very good.

Co-authored-by: Matthias <xmatthias@outlook.com>
This commit is contained in:
OtenMoten
2021-02-23 20:32:06 +01:00
committed by GitHub
co-authored by Matthias
parent 735d455c50
commit 05933f9e26
+3 -2
View File
@@ -44,7 +44,8 @@ class SwingHighToSky(IStrategy):
dataframe['macdsignal'] = macd['macdsignal']
dataframe['macdhist'] = macd['macdhist']
dataframe['cci'] = ta.CCI(dataframe)
dataframe['cci-buy'] = ta.CCI(dataframe, timeperiod=xx)
dataframe['cci-sell'] = ta.CCI(dataframe, timeperiod=xx-sell)
return dataframe
@@ -68,4 +69,4 @@ class SwingHighToSky(IStrategy):
),
'sell'] = 1
return dataframe
return dataframe