Merge pull request #2557 from freqtrade/hroff-1902-patch-1
minor: Add example of usage for Aroon, Aroon Oscillator
This commit is contained in:
commit
7f119a28e7
@ -107,10 +107,16 @@ class SampleStrategy(IStrategy):
|
|||||||
# RSI
|
# RSI
|
||||||
dataframe['rsi'] = ta.RSI(dataframe)
|
dataframe['rsi'] = ta.RSI(dataframe)
|
||||||
|
|
||||||
|
|
||||||
# ADX
|
# ADX
|
||||||
dataframe['adx'] = ta.ADX(dataframe)
|
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
|
# Awesome oscillator
|
||||||
dataframe['ao'] = qtpylib.awesome_oscillator(dataframe)
|
dataframe['ao'] = qtpylib.awesome_oscillator(dataframe)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user