Adjust ADX placement in the comments
This commit is contained in:
parent
e6e35c2584
commit
36d5bb6f99
@ -98,15 +98,16 @@ class SampleStrategy(IStrategy):
|
|||||||
:return: a Dataframe with all mandatory indicators for the strategies
|
:return: a Dataframe with all mandatory indicators for the strategies
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Momentum Indicator
|
# Momentum Indicators
|
||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
|
|
||||||
# ADX
|
|
||||||
# dataframe['adx'] = ta.ADX(dataframe)
|
|
||||||
|
|
||||||
# RSI
|
# RSI
|
||||||
dataframe['rsi'] = ta.RSI(dataframe)
|
dataframe['rsi'] = ta.RSI(dataframe)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
# ADX
|
||||||
|
# dataframe['adx'] = ta.ADX(dataframe)
|
||||||
|
|
||||||
# Awesome oscillator
|
# Awesome oscillator
|
||||||
dataframe['ao'] = qtpylib.awesome_oscillator(dataframe)
|
dataframe['ao'] = qtpylib.awesome_oscillator(dataframe)
|
||||||
|
|
||||||
@ -253,7 +254,7 @@ class SampleStrategy(IStrategy):
|
|||||||
dataframe['ha_low'] = heikinashi['low']
|
dataframe['ha_low'] = heikinashi['low']
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Retrieve best bid and best ask
|
# Retrieve best bid and best ask from the orderbook
|
||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
"""
|
"""
|
||||||
# first check if dataprovider is available
|
# first check if dataprovider is available
|
||||||
|
Loading…
Reference in New Issue
Block a user