The SolipsisMM strategy is a trading strategy that uses various indicators to generate buy signals. Here is a breakdown of what the strategy does:
It calculates several indicators for the input dataframe, including RMI (Relative Momentum Index), ROC (Rate of Change), and RSI (Relative Strength Index). It determines upward and downward trends based on the RMI values.
It calculates the maximum RMI value over a rolling window and Fibonacci retracement levels.
If enabled, it calculates PMAX (Parabolic Max) indicator values.
It fetches additional data for specific currency pairs and timeframes and calculates RSI values and other indicators. It identifies local minimum peaks in the closing price data. It checks various conditions to generate buy signals, including profitability factors, RMI growth, PMAX trend, trend directions, RSI values, Fibonacci levels, and additional stake currency conditions. If any of the conditions are met, a buy signal is generated. This strategy is designed to be used for backtesting and optimizing trading strategies on a backtesting website. It aims to provide insights into the performance of different trading strategies by simulating buy signals based on the specified conditions and indicators.