Strategy002 is a trading strategy designed to backtest and execute trades on cryptocurrency markets. The strategy uses various technical indicators to generate buy and sell signals. The minimal ROI (Return on Investment) for this strategy is predefined and specifies the minimum desired profit percentage for each trade.
The strategy also has an optimal stop loss value, which is the maximum acceptable loss percentage for a trade.
The timeframe used for the strategy is 5 minutes, meaning it analyzes price data at 5-minute intervals.
The strategy includes a trailing stop loss feature, which allows for adjusting the stop loss level as the trade becomes more profitable. However, in this case, trailing stop is disabled. The strategy doesn't process indicators for every candle, but only for new candles to optimize performance. The strategy includes experimental settings that can be configured, such as enabling sell signals, allowing only profitable trades, and ignoring ROI (Return on Investment) if a buy signal is present. The strategy uses specific order types for different actions, such as buying and selling. Buy and sell orders are limit orders, while the stop-loss order is a market order. The strategy also includes functions to populate additional informative pairs and intervals for caching purposes, although they are non-tradeable. The populate_indicators function adds several technical analysis indicators to the price data, including Stochastic Oscillator (STOCH), Relative Strength Index (RSI), Inverse Fisher Transform on RSI, Bollinger Bands, SAR Parabolic, and Hammer pattern. The populate_buy_trend function generates buy signals based on specific conditions, such as low RSI, low Stochastic K, lower Bollinger Band, and the presence of a Hammer pattern. The populate_sell_trend function generates sell signals based on conditions such as the SAR Parabolic crossing above the closing price and the Fisher RSI value being above a certain threshold. Overall, Strategy002 aims to generate profitable trades by utilizing a combination of technical indicators and predefined conditions to identify potential buying and selling opportunities in the cryptocurrency markets.