Skip to content

Commit

Permalink
X5: signal 3: rework.
Browse files Browse the repository at this point in the history
  • Loading branch information
iterativv committed Sep 22, 2024
1 parent 8559381 commit 2dcf008
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NostalgiaForInfinityX5.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class NostalgiaForInfinityX5(IStrategy):
INTERFACE_VERSION = 3

def version(self) -> str:
return "v15.1.40"
return "v15.1.41"

stoploss = -0.99

Expand Down Expand Up @@ -3618,6 +3618,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
long_entry_logic.append(
(df["RSI_3_15m"] > 5.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 50.0) | (df["RSI_14_4h"] < 50.0)
)
# 15m & 4h down move, 1d downtrend
long_entry_logic.append((df["RSI_3_15m"] > 10.0) | (df["RSI_3_4h"] > 20.0) | (df["ROC_9_1d"] > -40.0))
# 15m & 1h & 4h down move
long_entry_logic.append(
(df["RSI_3_15m"] > 10.0) | (df["RSI_3_change_pct_1h"] > -60.0) | (df["RSI_3_change_pct_4h"] > -40.0)
Expand Down

0 comments on commit 2dcf008

Please sign in to comment.