Strategy002 is a trading strategy designed for backtesting on a website. It uses various technical indicators to generate buy and sell signals for trading. The strategy is optimized for a 5-minute timeframe.
The strategy's minimal ROI (return on investment) is set with different time periods: 60, 30, 20, and 0.
These time periods correspond to different levels of expected returns.
The stop loss is set at -0.10, indicating the maximum acceptable loss for a trade. The strategy implements a trailing stop loss feature but it is currently disabled. If enabled, it would dynamically adjust the stop loss level as the trade progresses. The strategy does not limit the indicator calculations to only new candles, meaning that all available data is used to calculate the indicators. The strategy has experimental settings that can be overridden in the configuration file. It includes the option to use a sell signal, sell for profit only, and ignore the ROI when a buy signal is generated. The strategy uses limit orders for buying and selling, and market orders for stop-loss. Stop-loss orders placed on the exchange are not used. The strategy also provides the option to define additional pair/interval combinations for informative purposes, which are not tradeable. The populate_indicators function calculates several technical indicators such as Stochastics, RSI, Inverse Fisher Transform on RSI, Bollinger Bands, SAR Parabol, and Hammer pattern. The populate_buy_trend function generates buy signals based on specific conditions involving RSI, Stochastics, Bollinger Bands, and the Hammer pattern. The populate_sell_trend function generates sell signals based on conditions involving the SAR Parabol and Inverse Fisher Transform on RSI. Overall, Strategy002 aims to generate profitable trading signals by analyzing various technical indicators and implementing specific buy and sell conditions.