Skip to content

Commit

Permalink
X5: signal 43: rework.
Browse files Browse the repository at this point in the history
  • Loading branch information
iterativv committed Oct 8, 2024
1 parent 96308bc commit f01722a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 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.119"
return "v15.1.120"

stoploss = -0.99

Expand Down Expand Up @@ -5223,6 +5223,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
long_entry_logic.append(
(df["RSI_3_1h"] > 5.0) | (df["RSI_3_4h"] > 15.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 50.0)
)
# 1h down move, 4h still high, 1d high
long_entry_logic.append(
(df["RSI_3_1h"] > 5.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 40.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 50.0)
)
# 1h & 4h down move, 4h still high
long_entry_logic.append(
(df["RSI_3_1h"] > 5.0) | (df["RSI_3_change_pct_4h"] > -50.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 50.0)
Expand Down

0 comments on commit f01722a

Please sign in to comment.