Merge pull request #2557 from freqtrade/hroff-1902-patch-1

minor: Add example of usage for Aroon, Aroon Oscillator
This commit is contained in:
Matthias 2019-11-20 19:39:49 +01:00 committed by GitHub
commit 7f119a28e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,10 +107,16 @@ class SampleStrategy(IStrategy):
# RSI
dataframe['rsi'] = ta.RSI(dataframe)
# ADX
dataframe['adx'] = ta.ADX(dataframe)
"""
# Aroon, Aroon Oscillator
aroon = ta.AROON(dataframe)
dataframe['aroonup'] = aroon['aroonup']
dataframe['aroondown'] = aroon['aroondown']
dataframe['aroonosc'] = ta.AROONOSC(dataframe)
# Awesome oscillator
dataframe['ao'] = qtpylib.awesome_oscillator(dataframe)