add trigger +DI crossed above -DI

This commit is contained in:
Janne Sinivirta
2018-01-16 18:51:22 +02:00
parent 8896b39231
commit c670ccfd37
2 changed files with 4 additions and 0 deletions

View File

@@ -74,6 +74,8 @@ def populate_indicators(dataframe: DataFrame) -> DataFrame:
# Plus Directional Indicator / Movement
dataframe['plus_dm'] = ta.PLUS_DM(dataframe)
dataframe['plus_di'] = ta.PLUS_DI(dataframe)
dataframe['minus_di'] = ta.MINUS_DI(dataframe)
"""
# ROC
dataframe['roc'] = ta.ROC(dataframe)