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:
@@ -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'])
|
||||
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user