mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
9 lines
374 B
Django/Jinja
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'])
|