Update ADXMomentum.py

There was still one more error in relation to the mentioned original strategy. I fixed it to check the correct variable.
This commit is contained in:
Thomas Seip
2021-02-23 11:59:18 +01:00
committed by GitHub
parent 2bb17e23f5
commit 674e9612fe
@@ -48,7 +48,7 @@ class ADXMomentum(IStrategy):
(
(dataframe['adx'] > 25) &
(dataframe['mom'] > 0) &
(dataframe['minus_di'] > 25) &
(dataframe['plus_di'] > 25) &
(dataframe['plus_di'] > dataframe['minus_di'])
),