stable/freqtrade/templates/subtemplates/hyperopt_buy_guards_full.j2
2019-11-21 19:49:04 +01:00

9 lines
374 B
Django/Jinja

if params.get('mfi-enabled'):
conditions.append(dataframe['mfi'] < params['mfi-value'])
if params.get('fastd-enabled'):
conditions.append(dataframe['fastd'] < params['fastd-value'])
if params.get('adx-enabled'):
conditions.append(dataframe['adx'] > params['adx-value'])
if params.get('rsi-enabled'):
conditions.append(dataframe['rsi'] < params['rsi-value'])