Skip to content

Commit

Permalink
X4: buy 102: rework.
Browse files Browse the repository at this point in the history
  • Loading branch information
iterativv committed Oct 5, 2023
1 parent 9de57b4 commit 2caceaa
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions NostalgiaForInfinityX4.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class NostalgiaForInfinityX4(IStrategy):
INTERFACE_VERSION = 3

def version(self) -> str:
return "v14.0.284"
return "v14.0.285"

# ROI table:
minimal_roi = {
Expand Down Expand Up @@ -15106,6 +15106,12 @@ def populate_entry_trend(self, dataframe: DataFrame, metadata: dict) -> DataFram
| (dataframe['not_downtrend_1h'])
| (dataframe['not_downtrend_4h'])
| (dataframe['ema_200_dec_4_1d'] == False))
item_buy_logic.append((dataframe['not_downtrend_1h'])
| (dataframe['not_downtrend_4h'])
| (dataframe['rsi_3'] > 10.0)
| (dataframe['rsi_3_15m'] > 20.0)
| (dataframe['rsi_3_1h'] > 20.0)
| (dataframe['rsi_3_4h'] > 30.0))
item_buy_logic.append((dataframe['rsi_3'] > 16.0)
| (dataframe['rsi_3_15m'] > 16.0)
| (dataframe['rsi_3_1h'] > 16.0)
Expand All @@ -15120,8 +15126,8 @@ def populate_entry_trend(self, dataframe: DataFrame, metadata: dict) -> DataFram
| (dataframe['rsi_3_15m'] > 12.0)
| (dataframe['cti_20_1d'] < 0.8))
item_buy_logic.append((dataframe['rsi_3'] > 6.0)
| (dataframe['r_480_1h'] > -85.0)
| (dataframe['r_480_4h'] > -95.0)
| (dataframe['r_480_1h'] > -75.0)
| (dataframe['r_480_4h'] > -90.0)
| (dataframe['close'] > dataframe['sup_level_4h'])
| (dataframe['close'] > dataframe['sup_level_1d'])
| (dataframe['ema_200_dec_48_1h'] == False)
Expand Down

0 comments on commit 2caceaa

Please sign in to comment.