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 7, 2023
1 parent 9bf685a commit a0ab7f5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion 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.294"
return "v14.0.295"

# ROI table:
minimal_roi = {
Expand Down Expand Up @@ -15125,6 +15125,13 @@ def populate_entry_trend(self, dataframe: DataFrame, metadata: dict) -> DataFram
| (dataframe['ema_200_dec_48_1h'] == False)
| (dataframe['ema_200_dec_24_4h'] == False)
| (dataframe['ema_200_dec_4_1d'] == False))
item_buy_logic.append((dataframe['not_downtrend_1h'])
| (dataframe['rsi_3'] > 16.0)
| (dataframe['rsi_3_15m'] > 26.0)
| (dataframe['rsi_3_1h'] > 36.0)
| (dataframe['rsi_3_4h'] > 36.0)
| (dataframe['ema_200_dec_24_4h'] == False)
| (dataframe['ema_200_dec_4_1d'] == False))

# Logic
item_buy_logic.append(dataframe['rsi_14'] < 32.0)
Expand Down

0 comments on commit a0ab7f5

Please sign in to comment.