Change Bollinger bands for qtpylib.bollinger_bands

This commit is contained in:
Gerald Lonlas
2018-01-06 13:10:59 -08:00
parent 297166fcb9
commit 83a999d16e
2 changed files with 13 additions and 9 deletions

View File

@@ -189,7 +189,7 @@ def buy_strategy_generator(params):
# TRIGGERS
triggers = {
'lower_bb': dataframe['tema'] <= dataframe['bb_lowerband'],
'lower_bb': dataframe['tema'] <= dataframe['blower'],
'faststoch10': (crossed_above(dataframe['fastd'], 10.0)),
'ao_cross_zero': (crossed_above(dataframe['ao'], 0.0)),
'ema5_cross_ema10': (crossed_above(dataframe['ema5'], dataframe['ema10'])),