Strategy001_custom_sell is a trading strategy designed for backtesting purposes. It uses various technical indicators to make buying and selling decisions for a given cryptocurrency pair. Here's a breakdown of how the strategy works:
Minimal ROI and stop-loss: The strategy sets a minimal return on investment (ROI) target for each timeframe.
It also defines an optimal stop-loss value to limit potential losses.
Timeframe: The strategy operates on 5-minute candlestick data.
Trailing stop-loss: The strategy does not use a trailing stop-loss mechanism. Candle processing: The strategy processes all available candle data, not just new candles. Sell signal: The strategy generates a sell signal based on the following conditions:
The 50-period exponential moving average (ema50) crosses above the 100-period exponential moving average (ema100). The Heikin Ashi close price (ha_close) is below the 20-period exponential moving average (ema20). The Heikin Ashi open price (ha_open) is greater than the Heikin Ashi close price (green bar). Buy signal: The strategy generates a buy signal based on the following conditions:
The 20-period exponential moving average (ema20) crosses above the 50-period exponential moving average (ema50). The Heikin Ashi close price (ha_close) is above the 20-period exponential moving average (ema20). The Heikin Ashi open price is less than the Heikin Ashi close price (green bar). Additional indicators: The strategy calculates the RSI (Relative Strength Index) with a period of 14. Informative pairs: The strategy does not define any additional informative pair/interval combinations. Custom sell logic: The strategy implements a custom sell function that checks for a specific condition to sell. If the RSI is greater than 70 and the current profit is positive, it triggers a sell signal with the reason "rsi_profit_sell." Otherwise, it holds the position. This strategy aims to provide a framework for testing and analyzing the effectiveness of the defined buy and sell signals with the specified indicators and conditions.