stable/freqtrade/templates/subtemplates/hyperopt_buy_guards_full.j2

9 lines
374 B
Plaintext
Raw Normal View History

2019-11-21 18:41:57 +00:00
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'])