Not Enough Data! / Avg statistics not populated yet. |
---|

The "fahmibah" strategy implemented in the provided code performs the following actions:
Indicators Population:
Calculates Heikin-Ashi candles (open, close, high, low) based on the input dataframe. Adds the Heikin-Ashi open, close, high, and low values to the dataframe. Calculates Bollinger Bands (mid, lower) using the Heikin-Ashi typical price.

Adds the lower and mid Bollinger Bands values to the dataframe.

Calculates the absolute difference between the mid Bollinger Band and the lower Bollinger Band and adds it as "bbdelta" to the dataframe.

Calculates the absolute difference between the current Heikin-Ashi close price and the previous close price and adds it as "closedelta" to the dataframe. Calculates the absolute difference between the current Heikin-Ashi close price and the Heikin-Ashi low price and adds it as "tail" to the dataframe. Adds the lower Bollinger Band value to "bb_lowerband" column. Adds the mid Bollinger Band value to "bb_middleband" column. Calculates the 50-day exponential moving average (EMA) of the Heikin-Ashi close price and adds it to "ema_slow" column. Calculates the rate of change ratio (ROCR) of the Heikin-Ashi close price over a period of 28 days and adds it to "rocr" column. Calculates the 14-day exponential moving average (EMA) of the Heikin-Ashi close price and adds it to "ema_14" column. Calculates the 4-day relative strength index (RSI) of the Heikin-Ashi close price and adds it to "rsi_4" column. Calculates the 14-day relative strength index (RSI) of the Heikin-Ashi close price and adds it to "rsi_14" column. Retrieves an informative pair's dataframe based on the provided pair and timeframe. Calculates Heikin-Ashi candles (open, close) for the informative dataframe. Adds the informative Heikin-Ashi close prices to "ha_close" column in the informative dataframe. Calculates the rate of change ratio (ROCR) of the informative Heikin-Ashi close price over a period of 168 days and adds it to "rocr" column in the informative dataframe. Merges the informative dataframe with the original dataframe based on the timeframe, inf_tf, and forward fills the missing values. Buy Trend Population: Initializes a list of conditions. Adds a "buy_tag" column to the dataframe. Checks if the "lambo1" condition is enabled and satisfies the following criteria: The Heikin-Ashi close price is less than the product of the 14-day EMA and a specified factor. The 4-day RSI is less than a specified limit. The 14-day RSI is less than a specified limit. If the "lambo1" condition is met, adds "lambo1_" to the "buy_tag" column and appends the condition to the list of conditions. Checks if the "clucHA" condition is enabled and satisfies the following criteria: The 1-hour rate of change ratio (ROCR) is greater than a specified value. Either of the following conditions is met: The lower Bollinger Band in the previous timeframe is greater than 0. The difference between the mid and lower Bollinger Bands is greater than the product of the Heikin-Ashi close price and a specified factor. The difference between the current and previous Heikin-Ashi close prices is greater than the product of the Heikin-Ashi close price and a specified factor. The difference between the Heikin-Ashi close price and the Heikin-Ashi low price is less than the product of the difference between the mid and lower Bollinger Bands and a specified factor. The Heikin-Ashi close price is less than the lower Bollinger Band in the previous timeframe. The Heikin-Ashi close price is less than or equal to the previous Heikin-Ashi close price. Alternatively, the Heikin-Ashi close price is less than the exponential moving average (EMA) with a specified time period and also less than a specified value multiplied by the lower Bollinger Band. If the "clucHA" condition is met, adds "clucHA_" to the "buy_tag" column and appends the condition to the list of conditions. Sets the "buy" column to 1 for rows where any of the conditions in the list are True. Sell Trend Population: Sets the "sell" column to 1 for all rows. Trade Execution: Updates the sell reason of a trade by concatenating the provided sell reason with the "buy_tag" column value. Returns True to execute the trade. Please note that the provided code snippet is incomplete, and there may be additional functionality or logic outside the given scope.

Adds the lower and mid Bollinger Bands values to the dataframe.

Calculates the absolute difference between the mid Bollinger Band and the lower Bollinger Band and adds it as "bbdelta" to the dataframe.

Calculates the absolute difference between the current Heikin-Ashi close price and the previous close price and adds it as "closedelta" to the dataframe. Calculates the absolute difference between the current Heikin-Ashi close price and the Heikin-Ashi low price and adds it as "tail" to the dataframe. Adds the lower Bollinger Band value to "bb_lowerband" column. Adds the mid Bollinger Band value to "bb_middleband" column. Calculates the 50-day exponential moving average (EMA) of the Heikin-Ashi close price and adds it to "ema_slow" column. Calculates the rate of change ratio (ROCR) of the Heikin-Ashi close price over a period of 28 days and adds it to "rocr" column. Calculates the 14-day exponential moving average (EMA) of the Heikin-Ashi close price and adds it to "ema_14" column. Calculates the 4-day relative strength index (RSI) of the Heikin-Ashi close price and adds it to "rsi_4" column. Calculates the 14-day relative strength index (RSI) of the Heikin-Ashi close price and adds it to "rsi_14" column. Retrieves an informative pair's dataframe based on the provided pair and timeframe. Calculates Heikin-Ashi candles (open, close) for the informative dataframe. Adds the informative Heikin-Ashi close prices to "ha_close" column in the informative dataframe. Calculates the rate of change ratio (ROCR) of the informative Heikin-Ashi close price over a period of 168 days and adds it to "rocr" column in the informative dataframe. Merges the informative dataframe with the original dataframe based on the timeframe, inf_tf, and forward fills the missing values. Buy Trend Population: Initializes a list of conditions. Adds a "buy_tag" column to the dataframe. Checks if the "lambo1" condition is enabled and satisfies the following criteria: The Heikin-Ashi close price is less than the product of the 14-day EMA and a specified factor. The 4-day RSI is less than a specified limit. The 14-day RSI is less than a specified limit. If the "lambo1" condition is met, adds "lambo1_" to the "buy_tag" column and appends the condition to the list of conditions. Checks if the "clucHA" condition is enabled and satisfies the following criteria: The 1-hour rate of change ratio (ROCR) is greater than a specified value. Either of the following conditions is met: The lower Bollinger Band in the previous timeframe is greater than 0. The difference between the mid and lower Bollinger Bands is greater than the product of the Heikin-Ashi close price and a specified factor. The difference between the current and previous Heikin-Ashi close prices is greater than the product of the Heikin-Ashi close price and a specified factor. The difference between the Heikin-Ashi close price and the Heikin-Ashi low price is less than the product of the difference between the mid and lower Bollinger Bands and a specified factor. The Heikin-Ashi close price is less than the lower Bollinger Band in the previous timeframe. The Heikin-Ashi close price is less than or equal to the previous Heikin-Ashi close price. Alternatively, the Heikin-Ashi close price is less than the exponential moving average (EMA) with a specified time period and also less than a specified value multiplied by the lower Bollinger Band. If the "clucHA" condition is met, adds "clucHA_" to the "buy_tag" column and appends the condition to the list of conditions. Sets the "buy" column to 1 for rows where any of the conditions in the list are True. Sell Trend Population: Sets the "sell" column to 1 for all rows. Trade Execution: Updates the sell reason of a trade by concatenating the provided sell reason with the "buy_tag" column value. Returns True to execute the trade. Please note that the provided code snippet is incomplete, and there may be additional functionality or logic outside the given scope.

startup_candle_count :168ema_slow:0.003%

stoploss:-0.1timeframe:5mhash(sha256):bf0142ffd632f36b3180116c61985f017dd15e99fb5f899699a3b75aeea2b4acindicators:rocr_1h clucha_enabled ha_low close tail bb_lowerband lambo1_rsi_4_limit bbdelta ema_14 rsi_4 lambo1_rsi_14_limit closedelta rocr open ha_open rsi_14 high mid ha_close ha_high lower lambo1_enabled bb_middleband ema_slow lowSimilar Strategies:(based on used indicators)

Strategy: protogany, Similarity Score: 96.15%last change: 2023-08-03 02:10:01