mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
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
|
# 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