The Simple strategy is based on the book "The Simple Strategy" by Gert Wohlgemuth. It aims to provide a powerful trading approach for futures. The strategy uses various technical indicators to make buying and selling decisions.
Indicators used:
MACD (Moving Average Convergence Divergence)
RSI (Relative Strength Index)
Bollinger Bands
The strategy's minimal ROI (Return on Investment) is predefined, and the stoploss level is set at -0.25.
The ticker interval used for analysis is 5 minutes.
The populate_indicators function calculates the MACD, RSI, and Bollinger Bands and adds them to the dataframe. The populate_buy_trend function defines the conditions for buying. It checks if the MACD is positive, above the MACD signal line, the upper Bollinger Band is increasing, and the RSI is above 59. The populate_sell_trend function defines the conditions for selling. It sells when the RSI goes above 80. This strategy is designed to be used for backtesting trading strategies on a website.