Wordcloud
Strategy: Discord_YourStratName
Downloaded: 20220726
Stoploss: -0.5
The strategy is a trading strategy implemented in a class called "YourStratName." It is designed to be used for backtesting purposes on a trading website. The strategy involves populating indicators on a given DataFrame. It starts by populating informative indicators for the 1-hour timeframe and merges them into the original DataFrame.

The unnecessary columns are dropped.

Then, it populates informative indicators for the 15-minute timeframe, merges them into the DataFrame, and drops the unnecessary columns again.

Next, the strategy calculates additional columns based on the populated indicators. It calculates the "weekly_close_avg_offset" by multiplying a "pump_recover_price" value with the "weekly_close_avg_1h" column. It also checks if the "close" price is higher than the "weekly_close_avg_offset" and assigns the result to the "price_test" column. Additionally, it checks if the "max_flow_price_15m" is higher than a "pump_limit" value and assigns the result to the "pump_price_test" column. The strategy then combines the "price_test" and "pump_price_test" conditions to determine the "pump_dump_alert" column. It sets the "buy_ok" column to False if the "pump_dump_alert" is True; otherwise, it sets it to True. The "populate_buy_trend" function is responsible for determining the buy signals based on certain conditions. It checks multiple conditions using logical operators (AND, OR) and the "buy_ok" column. If any of the conditions are met, the corresponding "buy" column is set to 1. The "populate_sell_trend" function is empty, indicating that the strategy does not have specific sell conditions defined. Finally, the "should_long" function checks the "buy_ok" column of the latest candle in the DataFrame. If it is True, it returns True (indicating a long position should be taken), otherwise, it returns False. Please note that the actual logic and conditions within the strategy are not provided in the code snippet, as they are represented by placeholders such as "Condition_11," "Condition_12," etc. The description focuses on the structure and flow of the strategy implementation.

stoploss: -0.5
timeframe: 5m
hash(sha256): 5cdd2adb9f7281c1f06489a0d4127593d40f562eca9b2cacd6f484e5b855a02f
indicators:
close pump_price_test weekly_close_avg_offset price_test volume
max_flow_price_15m date open pump_dump_alert pump_period
pump_limit size high pump_recorver_price weekly_close_avg
buy_ok pump_pause_duration max_flow_price weekly_close_avg_1h flow_price
low

Similar Strategies: (based on used indicators)

Strategy: Pump_detection_exemple, Similarity Score: 95.45%

last change: 2024-04-28 08:34:03