Skip to content

Commit c0aef1c

Browse files
committed
Buy 15: rework.
1 parent 6709668 commit c0aef1c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

NostalgiaForInfinityX.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -647,16 +647,16 @@ class NostalgiaForInfinityX(IStrategy):
647647
15: {
648648
"ema_fast" : False,
649649
"ema_fast_len" : "100",
650-
"ema_slow" : True,
650+
"ema_slow" : False,
651651
"ema_slow_len" : "12",
652652
"close_above_ema_fast" : False,
653653
"close_above_ema_fast_len" : "200",
654654
"close_above_ema_slow" : False,
655655
"close_above_ema_slow_len" : "200",
656656
"sma200_rising" : True,
657657
"sma200_rising_val" : "24",
658-
"sma200_1h_rising" : False,
659-
"sma200_1h_rising_val" : "72",
658+
"sma200_1h_rising" : True,
659+
"sma200_1h_rising_val" : "48",
660660
"safe_dips_threshold_0" : 0.032,
661661
"safe_dips_threshold_2" : 0.09,
662662
"safe_dips_threshold_12" : 0.48,
@@ -7473,10 +7473,10 @@ def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
74737473
# Non-Standard protections
74747474

74757475
# Logic
7476-
item_buy_logic.append(dataframe['close'] < (dataframe['bb20_2_low'] * 0.986))
7476+
item_buy_logic.append(dataframe['close'] < (dataframe['bb20_2_low'] * 0.99))
74777477
item_buy_logic.append(dataframe['ewo'] > 2.0)
74787478
item_buy_logic.append(dataframe['rsi_14'] < 28.5)
7479-
item_buy_logic.append(dataframe['cti'] < -0.75)
7479+
item_buy_logic.append(dataframe['cti'] < -0.8)
74807480
item_buy_logic.append(dataframe['rsi_14_1h'] < 80.0)
74817481
item_buy_logic.append(dataframe['cti_1h'] < 0.4)
74827482

0 commit comments

Comments
 (0)