Skip to content

Commit

Permalink
X3: signal 46: rework.
Browse files Browse the repository at this point in the history
  • Loading branch information
iterativv committed Apr 13, 2024
1 parent 3c9c2b9 commit 4c5a519
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion NostalgiaForInfinityX3.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class NostalgiaForInfinityX3(IStrategy):
INTERFACE_VERSION = 3

def version(self) -> str:
return "v13.1.589"
return "v13.1.590"

stoploss = -0.99

Expand Down Expand Up @@ -40404,6 +40404,13 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
| (df["r_480_4h"] > -75.0)
| (df["ema_200_dec_4_1d"] == False)
)
long_entry_logic.append(
(df["not_downtrend_1h"])
| (df["rsi_14_15m"] > df["rsi_14_15m"].shift(12))
| (df["close"] > df["sup_level_1h"])
| (df["ema_200_dec_48_1h"] == False)
| (df["close"] > (df["high_max_12_1d"] * 0.75))
)

# Logic
long_entry_logic.append(df["rsi_14"] < self.entry_46_rsi_14_max.value)
Expand Down

0 comments on commit 4c5a519

Please sign in to comment.