Add example of usage for Aroon, Aroon Oscillator
This commit is contained in:
parent
dfe3d78767
commit
5f88c4aad9
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user