Skip to content

Commit

Permalink
X5: signal 6: rework.
Browse files Browse the repository at this point in the history
  • Loading branch information
iterativv committed Oct 26, 2024
1 parent 90782e7 commit 9c16590
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 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.178"
return "v15.1.179"

stoploss = -0.99

Expand Down Expand Up @@ -5022,6 +5022,13 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
long_entry_logic.append(
(df["RSI_3_15m"] > 20.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 30.0) | (df["ROC_9_1d"] > -50.0)
)
# 15m down move, 15m still high, 1h still high, 1h downtrend
long_entry_logic.append(
(df["RSI_3_15m"] > 20.0)
| (df["AROONU_14_15m"] < 50.0)
| (df["STOCHRSIk_14_14_3_3_1h"] < 40.0)
| (df["ROC_9_1h"] > -10.0)
)
# 15m down move, 15m still high, 4h high
long_entry_logic.append(
(df["RSI_3_15m"] > 20.0) | (df["AROONU_14_15m"] < 75.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 70.0)
Expand Down

0 comments on commit 9c16590

Please sign in to comment.